电脑关机时,运行到“正在关机........"停顿很久才关掉,请高手指教?有积分酬谢!

来源:百度知道 编辑:UC知道 时间:2024/06/25 15:45:22
以下的方法我都试过了,都无效,但前段时间关机是很快的!是我不小心设置了“在关机时同时删除系统临时文件”的原因!

没什么大问题~说明你的电脑在关机前需要关闭许多的程序~你程序多~

缓存在多,建议清理注册表和缓存。
注册表用优化大师清理。
清理缓存如下:
建立一个文本,把以下内容复制进去:
@echo off
echo 正在清除系统垃圾文件,请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统LJ完成!
echo. & pause

然后把文本的后