#120076 - 2004-05-25 02:01 AM
Kix and network connections
|
FreakySpook
Lurker
Registered: 2004-05-25
Posts: 4
|
Hi, I am new to kix, I would like to know if kix can determine a successful network connection, I have a notebook that works on both a domain & a home dial-up account, I want to be able to determine if the domain is present & load up the internet proxy settings at startup, or load up settings for the dial up account. Is this possible? Help would be much appreciated.
|
Top
|
|
|
|
#120078 - 2004-05-25 02:16 AM
Re: Kix and network connections
|
FreakySpook
Lurker
Registered: 2004-05-25
Posts: 4
|
Thanks for that, it gave me an idea, if at logon it finds the domain, the network id would be the same, if there is no domain present, I get no IP address. If I just get kix to check the network ID that should do it shouldn't it?
|
Top
|
|
|
|
#120080 - 2004-05-25 02:34 AM
Re: Kix and network connections
|
FreakySpook
Lurker
Registered: 2004-05-25
Posts: 4
|
Its for a staff members lap top, when she is at work she plugs into the network & kix maps her network drives, sets all her internet settings and authenticates itself on the proxy server and intranet settings, when she is at home she doesn't want those settings to load so her family can use their dial up internet account. I suggested to her just have a local user account, but she didn't want that.
|
Top
|
|
|
|
#120082 - 2004-05-25 03:14 AM
Re: Kix and network connections
|
FreakySpook
Lurker
Registered: 2004-05-25
Posts: 4
|
Oh yeah, I get you now, yeah your right. Thanks for that, I would have gone in circles.
|
Top
|
|
|
|
#120084 - 2004-05-25 04:01 PM
Re: Kix and network connections
|
ShaneEP
MM club member
Registered: 2002-11-29
Posts: 2125
Loc: Tulsa, OK
|
This works to set a machine to Auto-Detect like Richard mentioned. It has to be run with administrative priviledges though since it is located in HKLM.
Code:
$null = WriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections","DefaultConnectionSettings", "3c00000008000000090000000000000000000000000000000100000000000000b04dd550b533c401010000000a006c300000000000000000",REG_BINARY)
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 248 anonymous users online.
|
|
|