How to Cause Windows 98 to Release DHCP Lease Information at Shutdown

ID: Q217035


The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

You can configure Windows 98 to automatically release all Dynamic Host Configuration Protocol (DHCP) lease information at shutdown by modifying the registry.


MORE INFORMATION

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

Add the following registry items to cause Windows 98 to automatically release all DHCP lease information at shutdown:

Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\DHCP
Value name: ReleaseLeaseOnShutdown
Type: DWORD
Value data: 0x00000001 (1)
Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Shutdown
Value name: FastReboot
Type: STRING
Value data: 0
NOTE: The first value (ReleaseLeaseOnShutdown) is not present by default and must be added. The second value (FastReboot) is set to 1 by default.

The fast shutdown feature must be disabled for this method to work correctly. If it is not disabled, Windows 98 cannot process the command to release the DHCP information before shutting down.

When Windows 98 obtains TCP/IP configuration information from a DHCP server, it creates registry entries to store that information. If there is a problem contacting the DHCP server the next time the computer is started, the necessary TCP/IP configuration information is already stored. However, this may not be the optimal behavior in some network environments.

Additional query words:


Keywords          : kbenv kbnetwork win98 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: February 19, 1999