通常情况下可以在开始-〉Accessories->system tools 里直接找到Disk cleanup
但是在windows server 2008 R2里, 找不到。
为了可以使用cleanmgr, 需要复制两个文件:cleanmgr.exe, cleanmgr.exe.mui
不同的服务器,会在不同的文件夹下找到:
Operating System | Architecture | File Location |
Windows Server 2008 R2 | 64-bit | C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe |
Windows Server 2008 R2 | 64-bit | C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui |
Windows Server 2008 | 64-bit | C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_b9f50b71510436f2\cleanmgr.exe.mui |
Windows Server 2008 | 64-bit | C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269\cleanmgr.exe.mui |
Windows Server 2008 | 32-bit | C:\Windows\winsxs\x86_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_5dd66fed98a6c5bc\cleanmgr.exe.mui |
Windows Server 2008 | 32-bit | C:\Windows\winsxs\x86_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_6d4436615d8bd133\cleanmgr.exe |
(diagram from microsoft website)
一旦找到这两个文件后,将 cleanmgr.exe 复制到 System32文件夹下,将cleanmgr.exe.mui 复制到System32\en-US文件夹下。
然后运行command prompt, 直接敲入Cleanmgr.exe 然后enter, 就可以使用Cleanmgr了。(或者直接在start的search里敲入Cleanmgr.exe)
翻译自:https://technet.microsoft.com/en-us/library/Ff630161(v=WS.10).aspx
顶
1
踩