关于Windows的一些实用注册表选项

关于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"
发布了32 篇原创文章 · 获赞 9 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/qq_43149632/article/details/104003390
今日推荐