Tuesday, February 02, 2016

Install Disk cleanup in windows 2008 r2

The site basics.net have the instructions how to install the disk cleanup nicely (the default Microsoft way is crap because you end up withi loads of stuff installed in the system), the article with the instructions is http://www.basics.net/2013/02/25/win-server-2008-r2-how-to-enable-the-disk-cleanup-utility/
Copy 2 files to specific system folders and you can immediately use the tool:

Copy Cleanmgr.exe to %systemroot%\System32.
Copy Cleanmgr.exe.mui to %systemroot%\System32\en-US.
The 2 files are located in
- C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe
- C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui

You can simply run this as administrator:
copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe %systemroot%\System32
copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui %systemroot%\System32\en-US

No comments :

Post a Comment