SyntaxHighlighter

Thursday, 21 May 2009

Debugging Win 7 Sleep problems

There is a great post by Michael Aulia

http://www.michaelaulia.com/blogs/fix-windows-vista7-sleep-mode-from-waking-up-by-itself.html


I had a slight problem getting it to work on Win 7. When I ran the command to disable waking with my keyboard I got

C:\Users\Ash>powercfg -DEVICEDISABLEWAKE "Microsoft USB Dual Receiver Wireless Keyboard (IntelliType Pro)"
You do not have permission to enable or disable device wake.
The answer is simple, you just need to run the command window as Administrator, i.e. Press windows key; Type cmd; Right click on cmd from the list and Run as Administrator.

By the way, my keyboard and mouse needed disabled as even if i didn't touch them it would wake the pc.

No comments:

Post a Comment