

Search for Command Prompt, right-click the result, and select Run as administrator.If you prefer using command lines, it's also possible to use Command Prompt to define a new action for the power button. How to change power button action using Command Prompt In addition, on laptops and other mobile devices like Surface Pro, you can define the power button action when it's plugged in and when it's running on battery. For example, the hibernation power state is not a feature supported on every system, which means that depending on the hardware this option may not be available. Once you completed the steps, every time you press the power button your computer will respond to the new action.ĭepending on the hardware and device you own the settings available will be different.

Using the drop-down menu for "When I press the power button" select the action you want:Ĭlick the Save changes button at the bottom of the window. Under "Power Options," click the Change what the power buttons do link.How to change power button action using Control Panel How to change power button action using Command Prompt.How to change power button action using Control Panel.
