Enable disk cleanup in Windows 2008 without reboot.

Sometime recovering free disk space on Windows 2008 is hard and we find dependency over the diskcleanup utility. Disk cleanup utility will help us in deleting unwanted temporary files, downloaded files, service pack files, etc.

By default, disk cleanup is not available in Windows 2008 and to enable it requires a reboot. While you enable it, there are other utilities which also gets installed while enabling disk cleanup.

Therefore, you can skip and get this done by coping 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 then start the tool by executing Cleanmgr.exe.

Updated 9/21/2015:
Execute Below Command to Execute.

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
%systemroot%\System32\cleanmgr.exe
 

Regards,

WintelAdmin

Facebook Comments
Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *