您的位置:首页 > 数据库 > Redis

C:\windows\softwaredistribution 文件过大如何处理

2015-10-15 11:11 716 查看
    最近系统盘空闲空间越来越小,经过排查发现这个目录高达3G,网上百度后发现这是Windows升级留下的,不能随便删除。  google一下Windows官方的论坛,现记录下解决办法。

      http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/software-distribution-folder/db4fd1ae-fb14-46f7-b457-22827e858520?auth=1
关键内容

Before your rename the folder you must stop the service. Here is how:

    Start>Run

    type cmd and press enter

    type net stop wuauserv and press enter

    type rename c:\windows\SoftwareDistribution softwaredistribution.old and press enter

    type net start wuauserv and press enter

    type exit and press enter

Verify that the new software distribution folder created when you restart the update service is approxiamtely 1.5 MB in size (standard files). Restart the computer and del the folder if you have no issues.

我最后使用的是关闭服务中的“Windows Update”, 然后重命名softwaredistribution为softwaredistribution.old确保没问题后再删除

当然网友可以参考

1.(1)打开控制面板
(2)打开管理工具
(3)打开“服务”
(4)停止“Windows Update”服务
(5)删除C:\Windows\SoftwareDistribution\下的所有文件
(6)启动“Windows Update”服务
2.(1)启动“命令提示符”(以管理员方式运行)
(2)输入“net stop wuauserv“
(3)同上(5)
(4)在刚才的命令提示符中输入“net start wuauserv”
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: