Consider the following scenario:
- You have a Dynamic Host Configuration Protocol (DHCP) client computer that is running on Windows Vista or a later operating system.
- The DHCP Server service is not available.
- The client computer is restarted.
To resolve this issue, add a registry value to force the client to keep its DHCP IP address, even if a DHCP server is not available. To add this value, follow these steps:
- Start Registry Editor. To do this, click Start, type regedit in the Start Search box, and then press Enter.
- To activate the setting for all adapters, locate the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters(Windows Vista only) To activate this setting for a specific adapter, locate the adapter-specific registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<Adapter>
- On the Edit menu, point to New, and then click DWORD Value.
- Type DontPingGateway, and then press Enter.
- On the Edit menu, click Modify.
- In the Value data box, type 1, and then click OK.
- Exit Registry Editor.
- Restart the computer.
Note In Windows 7, the new registry value is not obeyed if you try to set it for a specific adapter in the following subkey:
Article ID: 958336 - Last Review: Feb 26, 2013 - Revision: 1