也不知道是哪个混蛋发明的这几个按键,尤其是power键,很多时候不小心错按了这个按钮,一下就关机了,很讨厌很缺德的一个按键.
控制面板 -->所有控制面板项-->电源选项,右侧的"选择电源按钮的功能",将里面的两个选项都选择"不采取任何操作",保存就可以了.
注册表的方法:
将下面的绿色内容用记事本存为 reg.reg 双击导入注册表,重启系统就可以了
Windows Registry Editor Version5.00
[HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftPowerPowerSettings7648EFA3-DD9C-4E3E-B566-50F929386280]
"ACSettingIndex"=dword:00000000
; Select the Power Button Ac————tion (Plugged In,电源供电)
; dword:00000000 -> take no action
[HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftPowerPowerSettings96996BC0-AD50-47EC-923B-6F41874DD9EB]
"ACSettingIndex"=dword:00000000
;Select the Sleep Button Action (Plugged In,电源供电)
; dword:00000000 -> take no action
[HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftPowerPowerSettings7648EFA3-DD9C-4E3E-B566-50F929386280]
"DCSettingIndex"=dword:00000000
;Select the Power Button Action (OnBattery,电池供电)
; dword:00000000 -> take no action
[HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftPowerPowerSettings96996BC0-AD50-47EC-923B-6F41874DD9EB]
"DCSettingIndex"=dword:00000000
;Select the Sleep Button Action (On Battery,电池供电)
; dword:00000000 -> take noaction