Windows 7 Forums


Windows 7: Devices - Allow or Prevent to Wake Up Computer


Devices - Allow or Prevent to Wake Up Computer

How to Allow or Prevent Devices to Wake Up Computer
Published 02 Nov 2010
Published by

Featured Tutorial

User Profile - Customize During Installation
User Profile - Customize During Installation

How to Customize Default User Profile in Audit Mode

Safe Internet Browsing
Safe Internet Browsing

How to safely operate on the internet and stay free from malware infections

Emergency Kit - save your files from a dead OS
Emergency Kit - save your files from a dead OS

How to Create and Use a Linux Mint Mate USB Flash Drive to Recover your Files

Microsoft Account - Sign up for and Create
Microsoft Account - Sign up for and Create

How to Sign up for and Create a Microsoft Account

SF Diagnostic Tool - Using for Troubleshooting
SF Diagnostic Tool - Using for Troubleshooting

Using SF Diagnostic Tool for Troubleshooting

Secunia ONLINE Software Inspector
Secunia ONLINE Software Inspector

How to Scan for Common Software Vulnerabilities
How to Allow or Prevent Devices to Wake Up Computer

information   Information
This will show you how to allow or prevent devices installed on your computer to be able to wake up your computer from sleep.

You will need to be logged in as an administrator to be able to do this tutorial.





OPTION ONE
Using Device Manager
1. Open the Control Panel (icons view), and click on the Device Manager icon.

2. To Prevent a Device from Waking up the Computer
A) Check and see a list of your installed devices that are able to wake up the computer to help know what devices to set in Device Manager. (see screenshot below)
Devices - Allow or Prevent to Wake Up Computer-cmd-1.jpg
B) In Device Manager, expand the category (ex: Keyboards) that the device is under, then double click on the device (ex: Logitech HID-Compliant Keyboard). (see screenshot below)
Devices - Allow or Prevent to Wake Up Computer-device_manager-1.jpg
C) Click on the Power Management tab, uncheck the Allow this device to wake the computer box, and click on OK. (see screenshot below)
Devices - Allow or Prevent to Wake Up Computer-device_manager-2.jpg
D) Close the command prompt.
3. To Allow a Device to Wake up the Computer
A) In Device Manager, expand the category (ex: Keyboards) that the device is under, then double click on the device (ex: Logitech HID-Compliant Keyboard). (see screenshot below step 2B)

C) Click on the Power Management tab, check the Allow this device to wake the computer box, and click on OK. (see screenshot below step 2C)
4. When finished, close Device Manager.



OPTION TWO
Using an Elevated Command Prompt
1. Open an elevated command prompt.

2. To Prevent a Device from Waking up the Computer
A) Check to see a list of your installed devices that are able to wake up the computer to help know the device name (ex: Logitech HID-Compliant Keyboard) to use in the command below. (see screenshot below)
Click image for larger version

Name:	CMD-1.jpg
Views:	2627
Size:	36.0 KB
ID:	110274
B) In the elevated command prompt, type in the command below and press enter.
WARNING: Be sure to write this device name down in case you want to be able to enable it again in step 3. Once you disable it, it will not be listed again in step 2A until enabled again.
powercfg -devicedisablewake "exact name of device listed in step 2A"

For example, for the Logitech HID-Compliant Keyboard device listed in step 2A, I would type this command below exactly and press enter.

Code:
 
powercfg -devicedisablewake "Logitech HID-Compliant Keyboard"
Devices - Allow or Prevent to Wake Up Computer-cmd_prevent.jpg
3. To Allow a Device to Wake up the Computer
A) If you did not write down the device name (ex: Logitech HID-Compliant Keyboard) from step 2 that you disabled, then you can also look in Device Manager to see the name of the device. (see screenshot below)
Click image for larger version

Name:	Device_Manager-1.jpg
Views:	511
Size:	75.5 KB
ID:	110277
B) In the elevated command prompt, type in the command below and press enter.
powercfg -deviceenablewake "exact name of device listed in step 2A or Device Manger"

For example, for the Logitech HID-Compliant Keyboard device, I would type this command below exactly and press enter.

Code:
 
powercfg -deviceenablewake "Logitech HID-Compliant Keyboard"
Devices - Allow or Prevent to Wake Up Computer-cmd-allow.jpg
C) If opened from step 3A, you can close Device Manager now.
4. When finished, close the elevated command prompt.
That's it,
Shawn





Need more help? Try searching our extensive help and support site.
Loading
23 Mar 2013   #1
foe

Windows 7 x64
Netherlands
 
 

Brink I have a question about this:
When I remove the Allow this device to wake the computer checkbox from a keyboard and I remove the keyboard and connect it to a different usb port, it is once again set to wake the computer unless I put it back in the original port.

It seems like this setting is configured on a 'port'-basis rather then (just) a 'device'-basis and it's default configuration is to 'allow' the wake up.

Should I connect it to all of the ports and disable all of them, or is there a general setting for this? Is there a way to change this default behaviour? As this would be way faster.

My System SpecsSystem Spec

23 Mar 2013   #2
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

Hello Sjoerd,

You might also check your BIOS settings to see if it may have an option to disable allowing the keyboard to wake the system to see if that may apply it universally.

If not, then you may need to connect it to each port to wash, rinse, and repeat.
My System SpecsSystem Spec
Comment

 Devices - Allow or Prevent to Wake Up Computer problems?



Tutorial Tools



Similar help and support threads for: Devices - Allow or Prevent to Wake Up Computer
Windows 7 Tutorial Category
Prevent computer access during repair? System Security
How can I prevent my keyboard from turning on my computer? Hardware & Devices
Windows is in sleep, other devices in the room wake it up... Hardware & Devices
Devices - See Devices that are able to Wake Up the Computer Tutorials
Wake from sleep when removing USB devices General Discussion


All times are GMT -5. The time now is 10:40 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32