Workers' Edge

Read all 'Hibernation' posts in Workers' Edge
April 28, 2008 12:01 AM PDT

Diagnose and repair hibernation problems

by Dennis O'Reilly
  • 2 comments

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.

(Credit: 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.

(Credit: 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.

December 4, 2007 2:17 PM PST

Start Windows in an Instant

by Dennis O'Reilly
  • Post a comment

No two jobs are alike, but one thing millions of us have in common is the daily wait for Windows to get going. Why can't our PCs start as quickly as our radios, TVs, and other electronic devices?

Well, the instant-on PC isn't likely to arrive anytime soon, but you can get your workday rolling without having to stare down that annoying Windows logo. The simplest solution is to set Windows' Power Options to send your system into XP's standby or Vista's sleep mode after it has been idle for a while. Then you can simply head for the door when your work day is done. When you return, just tap your mouse or a key on your keyboard, and say "Good morning!" to your desktop, or whatever apps you left open when you left. (Note that some systems require that you press the power button to bring them back to life.)

You might think this would be a waste of electricity, but your PC actually uses just a tad more power when in standby, hibernate, or sleep mode than it does when it's powered off but plugged in.

Why not use XP's hibernate mode? Your system wakes up faster from standby than from hibernation because standby stores your PC's current state in RAM, while hibernate puts all the system information on your hard drive. It takes longer to read data from a drive than from RAM, so you'll save yourself several seconds by using standby rather than hibernate. Just be sure to save your data before you leave, because if your PC should lose power, the information stored in RAM gets wiped out.

To set Windows XP to standby, right-click the desktop, choose Properties, click the Screen Saver tab, and select the Power button. You can leave the monitor and hard-disk settings at "Never", but pick a time in the System standby drop-down menu that you can live with. For me, 30 minutes is the right balance between going off too soon, and staying on too long.

Windows XP's standby setting in Power Options

Set Windows XP to enter standby mode after 30 minutes via this setting in Power Options.

(Credit: Dennis O'Reilly)

If you're not comfortable leaving your PC on when you're not around, click the Advanced tab and check Prompt for password when computer resumes from standby (this feature requires that you are logged into a password-protected account). When you're done, click OK twice.

To put Vista to sleep, click the Start button, type power options, and press Enter. Select Change when the computer sleeps in the left pane, choose 30 minutes in the drop-down menu next to 'Put the computer to sleep', and click Save changes. To have Vista prompt for a password when resuming from standby, click Change advanced power settings, and choose Yes under 'Additional settings/Require a password on wakeup'. Click OK, choose Save changes, and close the Power Options dialog box.

Windows Vista's sleep setting in Power Options

Windows Vista's Power Options applet lets you put your system to sleep after a period of inactivity.

(Credit: Dennis O'Reilly)

Maybe you're the impatient type and don't want to wait 30 minutes, or any length of time, to send your system to dreamland. To put your PC into standby right away, reset its power button from "off" to "standby": In XP, reopen the Power Options Properties dialog box, click the Advanced tab, choose Stand by in the drop-down menu under 'When I press the power button on my computer', and click OK twice.

Do the same in Vista by returning to the Power Options window, then click Choose what the power button does in the left pane, and select Sleep in the drop-down menu next to 'When I press the power button:'. You can also choose Require a password (recommended). When you're done, click Save Changes, and then close the Power Options dialog box.

Security alert: The occasional fresh start does all of us good sometimes, and that goes for Windows as well. Many of the OS's updates require a restart to take effect, so it's a good idea to turn off your PC and reboot Windows from scratch about once a week. Since Microsoft releases most Windows patches on Tuesdays, get into the habit of shutting down your PC manually on Tuesday nights: Click Start*Turn Off Computer*Turn Off in XP, and in Vista press the Windows key, then hit the left-arrow key three times, and finally type u.

Tomorrow: Sometimes a sleeping PC comes to life for no apparent reason, which can be enervating if the sound of a whirring hard drive wakes you up in the middle of the night. And it can be downright disastrous if it happens to a laptop stored in a bag, unless you're looking for a reason to get acquainted with your local PC repair shop after the machine overheats. Another common standby/sleep problem is a dozing system that doesn't want to wake up. I'll cover both subjects in tomorrow's post.

  • prev
  • 1
  • next
advertisement

15 sites that went kaput in 2009

Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.

Top 10 news stories of the decade

Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.

About Workers' Edge

Dennis O'Reilly has covered PCs and other technologies in print and online since 1985. Along with more than a decade as editor for Ziff-Davis's Computer Select, Dennis edited PC World's award-winning Here's How section for more than seven years. He is a member of the CNET Blog Network and is not an employee of CNET.

Add this feed to your online news reader

Workers' Edge topics

Most Discussed



advertisement

Inside CNET News

Scroll Left Scroll Right