ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

[转载]DriverStore文件夹特别大,能删除吗?

2019-09-24 20:55:23  阅读:324  来源: 互联网

标签:Windows System32 文件夹 转载 FileRepository Dism DriverStore


[转载]DriverStore文件夹特别大,能删除吗?

 

转自博客园https://www.cnblogs.com/lovebing/p/6951833.html 这篇文章,清理完C盘多了20G!不要太爽!

 

DriverStore文件夹特别大,能删除吗?

 

DriverStore\FileRepository文件夹特别大,能删除吗?

C:\Windows\System32\DriverStore\FileRepository文件夹特别大,怎么办?

DriverStore\FileRepository文件夹特别大

FileRepository文件夹特别大

 

最近准备备份系统,发现C盘超大,用TreeSizeFree分析了一下。

发现了这个超过18G的文件夹!!!

 Answer

1. run elevated command prompt (cmd with administrator rights): type

Dism.exe /online /Cleanup-Image /StartComponentCleanup

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

freed about 100-200Mb

2. delete files in %SystemDrive%\Windows\SoftwareDistribution\Download

freed  1-2 Gbs

3. run elevated command prompt (cmd with administrator rights): and type:

TAKEOWN /F "C:\Windows\System32\DriverStore\FileRepository" /R
ICACLS "C:\Windows\System32\DriverStore\FileRepository" /T /L /GRANT *S-1-1-0:F
RD /s /Q "C:\Windows\System32\DriverStore\FileRepository\"

freed many Gbs!

It should help - run at your own risk

 

英文不好的,打开cmd (管理员)运行下面命令就好了:

Dism.exe /online /Cleanup-Image /StartComponentCleanup

 

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

 

TAKEOWN /F "C:\Windows\System32\DriverStore\FileRepository" /R

 

ICACLS "C:\Windows\System32\DriverStore\FileRepository" /T /L /GRANT *S-1-1-0:F

 

RD /s /Q "C:\Windows\System32\DriverStore\FileRepository\"

 

参考链接:

http://www.xiazaima.com/jiaocheng/2534.html

https://www.zhihu.com/question/51654630

https://superuser.com/questions/597370/how-do-i-delete-folders-from-the-windows-7-driverstore/597395#597395

标签:Windows,System32,文件夹,转载,FileRepository,Dism,DriverStore
来源: https://www.cnblogs.com/junshijie/p/11580881.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有