关于windows自动更新补丁

来源:百度知道 编辑:UC知道 时间:2024/06/18 00:11:42
以前用过很长时间的自动更新,发现C盘多了好多东西。
不知道$hf_mig$和C:\Windows\SoftwareDistribution\Download还有$NtUninstallKB873333$类似文件夹里的东西都是干什么用的,能不能删除呢?
删了之后是不是要重新打补丁阿?
高手请说明,谢谢。

以后就不用自动更新了,开始用360.

C:\Windows\SoftwareDistribution\Download 下面是下载下来的更新程序,WINDOWS 下面的$NtUninstallKB873333$类似文件夹里的东西是更新后留下的还原备份,用360打补丁以后WINOWS下也会留下还原的备份,这些东西都可以删除掉。

新建记事本文件
把下面的复制到里面,然后格式选为所有格式,保存为bat格式,执行一下,自动清理。
360不错。

@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