PowerCFG Tool
You can disable and enable devices by using the PowerCFG tool. Or, you can use the Power Management tab in the properties of the device in Device Manager to select the Allow this device to wake the computer checkbox. If you’d prefer not to wake the computer by using the mouse or is not sure why a computer woke, PowerCFG can tell you. Additionally, the PowerCFG tool can be scripted for domain use.
Troubleshoot Power Plans in Windows 11/10
The following are the more common commands that can be used to identify sleep states and default settings: Use this command first. This command lists all power plans in the current user’s environment. The power plan that is listed with the asterisk (*) is the active power plan. Use this command second. Then, you can determine the exact settings that are applied. This command lists the contents of the power plans. To redirect the listing to a file, use a command that resembles the following: Use this command to determine the devices that are set so that the user can wake the computer. For a mobile PC, this command may show devices similar to the following:
Standard 101/102-KeyMicrosoft Natural PS/2 Keyboard with HP QLBSynaptics PS/2 Port TouchPad
For a desktop computer, this command may show devices similar to the following:
HID-compliant mouse (002)Broadcom NetXtreme Gigabit EthernetHID Keyboard Device (002)
Need more help on troubleshooting? Visit KB980869. Read: Power Plan keeps changing in Windows. For more information about the PowerCFG options, run the POWERCFG /? command in an elevated prompt.
The Power Troubleshooter can also help you automatically detect and fix Power issues in Windows. These posts may also interest you:
How to change Power Plan Settings & Options using the Control Panel.Pro’s and con’s of the different Power Plans Fix common Power problems and issues in Windows laptopConfigure, Rename, Backup, Restore Power Plans using Command-Line.Powercfg Command-Line Options.