![how to clean space on system drive in windows 2012 r2 how to clean space on system drive in windows 2012 r2](https://www.partition-magic-server.com/wp-content/uploads/2016/08/cleanup-error.png)
- #How to clean space on system drive in windows 2012 r2 how to#
- #How to clean space on system drive in windows 2012 r2 install#
- #How to clean space on system drive in windows 2012 r2 software#
- #How to clean space on system drive in windows 2012 r2 free#
#How to clean space on system drive in windows 2012 r2 install#
Enable Disk Cleanup on an earlier version of Windows Server by installing the Desktop Experienceįollow these steps to use the Add Roles and Features Wizard to install the Desktop Experience on a server running Windows Server 2012 R2 or earlier, which also installs Disk Cleanup. For details, see Planning for an Azure File Sync deployment. This allows you to cache your most frequently accessed files locally and tier your least frequently accessed files to the cloud, saving local storage space while maintaining performance.
![how to clean space on system drive in windows 2012 r2 how to clean space on system drive in windows 2012 r2](https://www.saotn.org/wp-content/uploads/2015/05/dism_startcomponentcleanup_resetbase.jpg)
#How to clean space on system drive in windows 2012 r2 free#
This command will show you if Windows thinks it can save some space:ĭism.exe /online /Cleanup-Image /StartComponentCleanupĪnd this command will tell actually perform the cleanup:ĭism.If you're just looking to free up disk space, consider using Azure File Sync with cloud tiering enabled. You must run the Command Line as an Administrator (right click on the icon before running it and select ‘Run as Administrator’). You may also like to cleanup the WinSxS folder via DISM – another free tool provided with Windows, which can perform a similar task to the Disk Cleanup utility. This is partially because many files here also show up in separate parts of the filesystem – not duplicates, but just references. If you run a utility such as TreeSize, you may notice this folder is very big.
#How to clean space on system drive in windows 2012 r2 software#
This folder is the Side-by-Side software folder, which stores a lot of components used within Windows. Copy cleanmgr.exe back to C:\Windows\System32, and to C:\Windows\System32\en-US\.Uninstall ‘Desktop Experience’ feature via Server Manager.Copy C:\Windows\System32\cleanmgr.exe and C:\Windows\System32\en-US\ to a separate (non-system) folder.Install ‘Desktop Experience’ feature via Server Manager.However, if you still want to install Disk Cleanup, you need to follow this process: Microsoft has changed the method used to save Windows Updates, meaning they should take up less space on the disk. You’ll need to be an administrator to run it. Once you’ve copied them both, just search for and run ‘cleanmgr’.
![how to clean space on system drive in windows 2012 r2 how to clean space on system drive in windows 2012 r2](https://www.diskpart.com/screenshot/en/srv/disk-copy/select-destination-disk.png)
These files come bundles with Windows in a secret location, so you simply need to copy them into the folder where they belong. There are two files you need to copy into the correct locations to enable this utility: This isn’t ideal, and may not even work if you’ve already run out of disk space. Typically, you need to enable the ‘Desktop Experience’ feature to get this simple utility – unfortunately adding unnecessary utilities such as Windows Media Player in the process.
#How to clean space on system drive in windows 2012 r2 how to#
This article explains how to enable the ‘Disk Cleanup’ utility on Windows Server 2008, 2008 R2, 2012, and 2012 R2 – without enabling Desktop Experience – to recover lots of space from C:\Windows\WinSxS.ĭisk Cleanup is a free tool provided from Microsoft, but not bundled by default in the Windows Server editions of Windows. If you’ve had Windows Server running for a while, you may be running out of disk space – particularly on a VM.