關於Windows的一些實用註冊表選項
注:以下內容用文本編輯器保存爲reg格式,運行即可導入註冊表。這些在Dism++裏缺少,系統優化必備。
1、USB斷電
(Win7開始,移動硬盤彈出後USB並不會斷電,U盤還好,但對HDD會帶來一定損傷。)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\usbhub\hubg]
"EnableDiagnosticMode"=dword:00000000
"DisableOnSoftRemove"=dword:00000001
2、關機自動關閉阻止程序
(如果不自動關閉,關機時間會加長。如果遇到程序或服務卡死,只能強制關機)
Windows Registry Editor Version 5.00
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"AutoEndTasks"="1"
(關閉服務超時5秒)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="5000"