使用Ghost镜像恢复后出现的注册表垃圾该如何清理?

来源:百度知道 编辑:UC知道 时间:2024/07/05 12:44:56
多数人都会建议将系统以及常用软件安装在C盘,将其它软件安装在D盘,再用Ghost为C盘做一个镜像,在系统出问题时直接用镜像恢复就可以了。可是,如果我在做完镜像后卸载了一个位于D盘的程序,那么,在我下一次使用镜像恢复系统后,我又该如何清理该程序留在注册表中的信息呢?

用Windows优化大师破解版。
里面有清除注册垃圾的功能!
而且优化大师还有其他好多优化系统的功能。
下载地址建议到www.gougou.com下载。

那再卸载那个程序

借用第三方工具,比如windows优化大师,可以很方便的清除注册表的垃圾信息

新建一个记事本并输入以下的内容:

@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