Today, just hit the server C disk space is full, the first processing of temporary files and related log files after the space is not enough, I know how to clean up the C-drive a lot of methods, but today only share how to do in Windows Server 2008 R2 use the system-provided Disk Cleanup tool without the Disk Cleanup tool.
First, in Windows Server R2, right-click on the C drive, select Properties, pop up the following interface:
That is, there is no tool to clean up the C drive below:
How to use the system's own cleaning tools.
Second, the general properties of the drive and the Cleanmgr.exe Disk Cleanup option are not present by default in Windows Server 2008 or Windows Server R2, and need to be configured manually. Therefore, in order to use Cleanmgr.exe, you will need to replicate two files that already exist on the server, Cleanmgr.exe, and Cleanmgr.exe.mui. Use the following table to find the files for your operating system.
Such as:
Once these files are found, they are moved to the following location:
Cleanmgr.exe should be in the%SystemRoot%\System32.
Cleanmgr.exe.mui should be in the%SYSTEMROOT%\SYSTEM32\ZH-CN.
Three, now you can start the Disk Cleanup tool by running-enter Cleanmgr.exe.
The following form pops up:
OK, start cleaning up the C drive.
How to use the system-provided Disk Cleanup tool in the case of Windows Server R2 without the Disk Cleanup tool