The default gateway setting is lost when you wake a Windows Vista-based computer from sleep


When you wake a Windows Vista-based computer from sleep, the default gateway setting is lost. When you run the ipconfig /all command to view the IP configuration, you cannot see the default gateway setting.

This problem occurs if the following conditions are true:
  • The computer is configured as a Dynamic Host Configuration Protocol (DHCP) client, and the computer is connected to a DHCP server.
  • The DHCP server configures a scope together with options 3 and 249.
  • The computer is included in this scope.


After you wake the computer from sleep, the DHCP Client service (Dhcpcsvc.dll) is responsible for informing the IP stack about the routing information. The routing information is stored in the network store interface. This problem occurs when the network store interface already has the routing information that the DHCP Client service wants to store. When the storage operation fails, all routing information in NSI is lost. Therefore, the computer loses all the routing information. This includes the default gateway.


Service pack information

To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack

Update information

The following files are available for download from the Microsoft Download Center:

Windows Vista x86-based versionsWindows Vista 64-bit versions

Release Date: April 24, 2007

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Hotfix information


There are no prerequisites.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

Registry information

You do not have to make any changes to the registry to use this hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Vista, 32-bit versions
File nameFile versionFile sizeDateTimePlatform
Windows Vista, 64-bit versions
File nameFile versionFile sizeDateTimePlatform


To work around this problem, run the ipconfig /renew command every time that you wake the computer from sleep.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Vista Service Pack 1.

More Information

For more information about the terms that are used to describe software updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Article ID: 933872 - Last Review: Oct 9, 2011 - Revision: 1