DHCP release/renew on Windows 2000 Laptops

  • Thread starter Thread starter Dsmith
  • Start date Start date
D

Dsmith

We have a couple of laptop users running Windows 2000 Pro.
that roam between various networks. On occasion, the
laptop will not obtain an IP address on boot from the
local DHCP server; instead it either retains the previous
address if the lease is still good, or auto assigns an
address. In order to make the unit work, the user must
manually do an IPCONFIG /RELEASE, then IPCONFIG /RENEW.
This will make the laptop obtain a new address for the
current network and work normally. Short of writing a
script to run at logon, is there a way to correct this
(registry change?)?
 
Here is something to try...

The client's behavior when it is shut down depends on the registry key
below:
[HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\Interfaces\<adapter
_guid>]
ReleaseOnShutDown = (REG_DWORD)

with the possible values:
0 (Release on Shutdown Never)
2 (Release on Shutdown Obey DHCP Server)

Anything else (Release on Shutdown Always

If the reg key is missing, it defaults to Release on Shutdown Obey DHCP
Server

So set it to 1 :)

--

Brian Oakes

This posting is provided "AS IS" with no warranties and confers no rights.
Please reply to the newsgroup so that others may benefit.
 
Back
Top