Change Power Button Action using command line

Open a cmd window and run the following command:

reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" /v Start_PowerButtonAction /t REG_DWORD /d 16 /f

To apply the change, restart explorer.exe or log off and login back.

%d bloggers like this: