我们常用的Windows 7/8/10操作系统,都有自带“磁盘清理”工具,可以方便地清理系统垃圾、释放磁盘空间。
然而Windows Server 2008 R2中并没有预装这个工具,系统更新之后会产生很多垃圾文件,使用第三方软件清理又不放心。
只需复制cleanmgr.exe和cleanmgr.exe.mui两个文件。
cleanmgr.exe
cleanmgr.exe.mui
1、将“C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe”
复制到“C:\Windows\System32”文件夹下
C:\Windows\System32
2、将“C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_zh-cn_1951cc029979a675\cleanmgr.exe.mui”
复制到“C:\Windows\System32\zh-CN”文件夹下
C:\Windows\System32\zh-CN
3、开始→运行,输入cleanmgr.exe回车
cleanmgr.exe
需注意,不同版本/语言的操作系统,文件路径有可能不太相同,
但都是“C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr”开头
参考链接:http://www.geeuo.com/win2008r2-cleanmgr.html