Free up disk space on a Windows Server 2008r2 without a system reboot

I just copy paste the article because this article are helping me a lot, when I want to clean up the disk on server without reboot the server.

Disk clean up can be a very useful tool especially in Servers when Disk space is fully utilized.  But what do you do when you are working in a production environment and you can’t reboot the server.  In a pinch, I found the following process to cleanup a congested System Partition.

Copy cleanmgr.exe to System32 folder

A favorable alternative to adding the Desktop Experience feature to your production server, while requiring no system reboot or maintenance window, is simply copying thecleanmgr application files to their appropriate location.

There are two files that need to be copied to the Windows System32 folder.  The only downside to this process is that the disk cleanup utility will not appear in the normal disk drive properties.  However, as these files will be copied to the System32 folder location, the utility can be easily launched from the integrated server search bar.

The two files you are looking for are the cleanmgr.exe.mui and cleanmgr.exe. Below is listing of folder locations that these two files will be located for the most popular version of Server 2008.

After you have found these files, simply copy then to their designated locations as described below.

  • Copy cleanmgr.exe to the System32 folder
  • Copy cleanmgr.exe.mui file to System32\en-us\

Windows Server 2008 64-bit:

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269\cleanmgr.exe.mui

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269\cleanmgr.exe

Windows Server 2008 R2:

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui

C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe

To run the disk cleanup utility, simply navigate to a command prompt or Run and type cleanmgr.exe

Source in this link

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s