Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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 by Brink
11-02-2010
Default Devices - Allow or Prevent to Wake Up Computer

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 a Elevated Command Prompt
1. Open a 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:	989
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:	227
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




Published by
Brink's Avatar
Administrator

Join Date: Oct 2008
Location: Texas
Posts: 37,304

Tutorial Tools
Comment

 Devices - Allow or Prevent to Wake Up Computer problems?



Tutorial Tools



Similar Threads for: Devices - Allow or Prevent to Wake Up Computer
Windows 7 Tutorial Category
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
How to Prevent Your Computer from Overheating (and Why It's Important) Performance & Maintenance
Wake from sleep when removing USB devices General Discussion


All times are GMT -5. The time now is 12:26 AM.



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