X

Diagnose and repair hibernation problems

Fix Microsoft Windows' inability to go into and come out of its sleep/hibernate modes, which can be related to the Dynamic Host Control Protocol (DHCP) Client service.

Dennis O'Reilly Former CNET contributor
Dennis O'Reilly began writing about workplace technology as an editor for Ziff-Davis' Computer Select, back when CDs were new-fangled, and IBM's PC XT was wowing the crowds at Comdex. He spent more than seven years running PC World's award-winning Here's How section, beginning in 2000. O'Reilly has written about everything from web search to PC security to Microsoft Excel customizations. Along with designing, building, and managing several different web sites, Dennis created the Travel Reference Library, a database of travel guidebook reviews that was converted to the web in 1996 and operated through 2000.
Dennis O'Reilly
2 min read

My Vista laptop kept losing its Internet connection when it came out of sleep mode. It turns out that the problem was related to the Dynamic Host Control Protocol (DHCP) Client service, or dhcpcsvc.dll, which tried to rewrite routing information to the network store interface. This caused a failed write operation that deleted the routing information.

Microsoft released the fix for the problem last September, though the patch didn't find its way onto my notebook until several months later. The machine's network link still hiccups for a few seconds when it comes out of sleep mode, but eventually, it restores the Internet connection on its own.

While this and other Windows patches won't address all the sleep and hibernation problems afflicting Windows users, your first step in solving problems with the operating system's power-saving modes is by downloading and installing the latest updates via the Windows Update service.

Here's a rundown of the most common glitches related to Windows' sleep and hibernation modes, and possible fixes.

Activate hibernation
If your PC has lost the ability to hibernate, you may have deleted your hibernation file when you ran Vista's Disk Cleanup utility. Regardless of why your system balks at entering hibernation mode, you can re-enable the feature via the Command Prompt: right-click the Command Prompt (it's located under Accessories on the Start menu), and choose Run as Administrator.

At the prompt, type powercfg -a and press Enter. You'll see a list of all the hibernation modes your system supports. Type powercfg -h on and press Enter to activate hiberation, or powercfg -h off to deactivate the function.

Windows Vista's Disk Cleanup utility
Keep the Hibernation File Cleaner option unchecked in Vista's Disk Cleanup utility to retain your PC's ability to hibernate. Microsoft

Check Vista's power settings
In Vista, press the Windows key, type power options, and press Enter. Click "Change when computer sleeps" in the left pane, select "Change advanced power settings" at the bottom of the Edit Plan Settings dialog box, and click the plus sign to the left of Sleep to view your sleep and hibernate options. If the Hibernate option is missing from the Start menu's shut-down section, change the "Allow hybrid sleep" setting to Off.

Windows Vista's Advanced Power Settings dialog box
Make sure Vista's "Allow hybrid sleep" option is off to place a Hibernate option on your shut-down menu. Microsoft

Update your video driver
A common source of Vista hibernation woes is an out-of-date video driver. Slowly, video card makers are updating their drivers to work smoothly with Vista. Go to the Web site of your video adapter vendor, and look on its Support or Downloads page for an update to your model's driver. To find out which video card your PC uses, press the Windows key, type device manager, and press Enter. Click the plus sign to the right of Display adapters to view the model(s) installed in your system.

Look in the Event Viewer
To open Vista's Event Viewer, press the Windows key, type event viewer, and press Enter. Check the error logs for one occurring when the hibernation glitch struck. Search the Web for information about the Event ID, or click the Event Log Online Help link to go to a Microsoft Help and Support page.

Tomorrow: take advantage of free Office templates.