Page 1 of 1 1
Topic Options
#133 - 1999-06-21 10:19 AM How to check DHCP client with Kixtart.
Anonymous
Unregistered


I want to check in the logonscript if the clientpc is a DHCP client.

Thanks for your help.

------------------
-------------
Dirk Francois

Top
#134 - 1999-06-22 01:24 AM Re: How to check DHCP client with Kixtart.
Anonymous
Unregistered


You have 2 option's to check this !

1st: if the ip range of dhcp is: 200.10.129.x
than you can use this script

$ip = SUBSTR(@IPADDRESS0,1,12)
if $ip = "200. 10.129"
? "you are a DHCP client"
else
? "you are not a DHCP client"
endif

2nd: you can check in the registry if dhcp is enabled !

------------------
Lon Geefshuysen,
www.xs4all.nl/~longeef/NT/KiXtart
lon_geefshuysen@essentium.com



Top
#135 - 1999-06-29 06:26 AM Re: How to check DHCP client with Kixtart.
Anonymous
Unregistered


Where is the key in the registry to determine if the machine is a DHCP client as I also want to do this.

Cheers

Top
#136 - 1999-06-29 07:18 AM Re: How to check DHCP client with Kixtart.
Anonymous
Unregistered


on a NT wks you need to check :
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP
DWORD Value of: Start is 0x00000002 (Enabled)
DWORD Value of: Start is 0x00000004 (Disabled)

For W95 I can verify, but it should be almost the same !!

------------------
Lon Geefshuysen,
www.xs4all.nl/~longeef/NT/KiXtart
lon_geefshuysen@essentium.com



Top
#137 - 1999-07-07 10:52 AM Re: How to check DHCP client with Kixtart.
Anonymous
Unregistered


It appears to be in:
hkey_local_machine/system/currentcontrolset/services/vxd/dhcp/

inside:

DhcpInfo00
DhcpInfo01

The problem is, it seems to be all hex..

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 968 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.05 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org