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