复制如下文字到记事本里:----------------------------------------------------------------------------------------Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER/Control Panel/Desktop]"AutoEndTasks"="1""HungAppTimeout"="1000""WaitToKillAppTimeout"="1000"
[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control]"WaitToKillServiceTimeout"="1000"
[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Session Manager/Memory Management]"ClearPageFileAtShutdown"=dword:00000000----------------------------------------------------------------------------------------
保存为“优化关机速度.reg”,然后双击导入注册表即可。
具体说明:AutoEndTasks 自动结束停止响应程序(设为1为自动结束,设为0为不自动结束)HungAppTimeout 自动关闭停止响应的程序的时间WaitToKillAppTimeout 结束程序的时间WaitToKillServiceTimeout 结束服务的时间ClearPageFileAtShutdown 设置关机时是否清理页面文件(设为0为不清理,设为1为清理)
当然,上面设置结尾带“Timeout”的值并不是越小越好,如果太小容易出现问题。
另外,微软官方提供了提升关机速度的软件 UPHClean,安装它之后系统增加的“User Profile Hive Cleanup”服务可在系统注销时彻底终止用户会话。下载地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=1b286e6d-8912-4e18-b570-42470e2f3582&displaylang=zh-cn下载 UPHClean-Setup.msi 安装后,再修改注册表如下地方:
[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/UPHClean/Parameters]"REPORT_ONLY"=dword:00000001
这样就可以通过事件查看器查看 UPHClean 的报告了。
转载于:https://www.cnblogs.com/forads/archive/2010/10/10/2161109.html