DriverStore文件夾特別大,能刪除嗎?


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM