1.Ctrl+R运行regedit打开【注册表】
2.找到路径:计算机HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
3.在【Advanced】目录右键新建DWORD32位,命名为【Start_PowerButtonAction】
4.对应的值和功能
5.修改后如下图示