笔记本用的Windows 10 从Windows 7升级来的,自装win7到现在有好几年了,系统盘也变得异常臃肿,不得不对WinSxS等目录做个清理。
- 清理WinSxS,以管理员权限运行以下命令 (cmd with administrator rights): type
- 删除历史更新下载的备份文件:
- 删除积攒已久的驱动文件,以管理员权限运行以下命令(cmd with administrator rights): and type:
Dism.exe /online /Cleanup-Image /StartComponentCleanup
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
delete files in %SystemDrive%\Windows\SoftwareDistribution\Download
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\"
Comments
Post a Comment