How to Free Up Storage Space Effectively on Windows 11 and 10
To free up storage space on Windows 11 or 10, open Settings > System > Storage. On Windows 11, select Cleanup recommendations; on Windows 10, select Temporary files. Remove the files you don’t need, empty the Recycle Bin, uninstall apps you don’t use, and turn on Storage Sense so Windows deletes temporary files automatically.
To see how much space you have left, select File Explorer on the taskbar, then select This PC on the left. Free space for each drive appears under Devices and drives. Work through the steps below in order and check your free space after each one.
How to free up storage space on Windows 11
Use Cleanup recommendations in Windows 11
Cleanup recommendations scans your PC and suggests files and apps you can remove, with the amount of space each one frees.
- Press Win + I to open Settings, or select Start > Settings.
- Go to System > Storage > Cleanup recommendations.
- Review each category: Temporary files, Large or unused files, Files synced to the cloud and Unused apps. Select only the items you want to remove.
- Select the Clean up button for each section.
If you upgraded Windows fewer than 10 days ago, your previous Windows installation can appear here as a file you can delete. Read the Windows.old section below before you remove it, because you can’t undo it.
Remove temporary files in Windows 11
- Go to Start > Settings > System > Storage.
- Under your drive’s usage, select Temporary files.
- Read the description under each check box and select only the items you don’t need.
- Select Remove files.
Turn on Storage Sense in Windows 11
- Go to Start > Settings > System > Storage.
- Set Storage Sense to On.
- Select Storage Sense to open its settings.
- Keep Cleanup of temporary files selected.
- Under Run Storage Sense, choose Every day, Every week, Every month or During low free disk space.
- Set Delete files in my recycle bin if they have been there for over and Delete files in my Downloads folder if they haven’t been opened for more than to the periods you’re comfortable with.
- If you’re signed in to OneDrive, set Content will become online-only if not opened for more than under Locally available cloud content.
Uninstall apps you don’t use in Windows 11
- Go to Start > Settings > Apps > Installed apps.
- Find the app, select More (the three dots) > Uninstall.
- If an app can’t be removed there, open Control Panel, go to Programs > Programs and Features, right-click the program and select Uninstall or Uninstall/Change.
The Unused apps category in Cleanup recommendations is a quick way to find candidates. Some apps are built into Windows and can’t be uninstalled.
Save new apps and files to another drive
If you have a second drive, go to Start > Settings > System > Storage > Advanced storage settings > Where new content is saved and pick a drive for each content type: apps, documents, music, pictures and videos. This applies to new content only. Apps and files you already have stay where they are.
How to free up disk space on Windows 10
Microsoft ended support for Windows 10 on October 14, 2025. The storage tools below are built into Windows 10. The menus differ from Windows 11, and Microsoft’s Windows 10 instructions don’t include Cleanup recommendations.
Remove temporary files in Windows 10
- Press Win + I and go to System > Storage.
- Under your drive’s usage, select Temporary files.
- Read each description, select the items you don’t need, and select Remove files.
Turn on Storage Sense in Windows 10
- Go to Start > Settings > System > Storage.
- Under Storage, turn the Storage Sense toggle to On.
- Select Configure Storage Sense or run it now.
- Under Run Storage Sense, choose how often it runs.
- Set how long files can stay in the Recycle Bin and in Downloads before they’re deleted, and, if you use OneDrive, when unused files become online-only under Locally available cloud content.
Uninstall programs in Windows 10
- Type Control Panel in the search box on the taskbar and select it.
- Go to Programs > Programs and Features.
- Right-click the program you want to remove, select Uninstall or Uninstall/Change, and follow the directions on screen.
To see installed apps in Settings instead, go to Start > Settings > Apps > Apps & features.
Change where new content is saved in Windows 10
- Go to Start > Settings > System > Storage.
- Scroll down and, under More storage settings, select Change where new content is saved.
- Pick a drive for each content type. If the drive isn’t listed, make sure it’s connected.
Compress the Windows 10 system drive
Microsoft suggests this on Windows 10 mainly to get enough room to install important updates. It doesn’t delete anything.
- Open File Explorer and select This PC.
- Right-click the drive Windows is installed on (usually C:) and select Properties.
- On the General tab, select Compress this drive to save disk space, then select Apply > OK.
To undo it later, clear the same check box and select Apply > OK.
What Windows Storage Sense deletes, and what it leaves alone
Storage Sense cleans only the system drive (usually C:). To check other drives on Windows 11, go to Settings > System > Storage > Advanced storage settings > Storage used on other drives. Each user on the PC has their own Storage Sense settings, and it runs only when you’re signed in and have been online for more than 10 minutes.
| What it cleans | Default behavior |
|---|---|
| Temporary files that apps aren’t using | Deleted when Storage Sense runs |
| Recycle Bin | Items deleted after 30 days in the bin |
| Downloads folder | Never touched unless you choose a period |
| OneDrive files stored on the PC | Made online-only, not deleted. On Windows 11 version 22H2 and later, this happens after 30 days unopened |
| Schedule | Runs during low free disk space unless you choose a schedule |
According to Microsoft’s support documentation, Storage Sense is off by default. If your PC runs low on space and you’ve never changed the setting, Windows may turn it on to clear some temporary files and then notify you. Files marked Always keep on this device in OneDrive are never made online-only.
Disk Cleanup in Windows 11 and 10: is cleanmgr deprecated?
No. As of November 2026, Disk Cleanup (cleanmgr.exe) isn’t on Microsoft’s list of deprecated Windows features, and Microsoft’s cleanmgr command reference still lists Windows 11 and Windows 10. Microsoft’s guidance has changed, though:
- Microsoft’s Windows 11 instructions for freeing up space don’t mention Disk Cleanup. They point to Storage Sense and Cleanup recommendations instead.
- Its Windows 10 instructions say to use Disk Cleanup “if your system doesn’t have Storage Sense.”
- Its separate Disk Cleanup help article now redirects to the general “Free up drive space in Windows” page.
- Microsoft’s Storage Sense documentation describes cleanmgr as overlapping with Storage Sense and calls Storage Sense the modern, automated cleanup feature.
You can still use Disk Cleanup on both versions. It’s useful for system files such as Windows Update cleanup, which shrinks the component store (WinSxS).
How to run Disk Cleanup on this PC
- Press Win + R, type
cleanmgrand select OK. On Windows 10 you can also type disk cleanup in the search box on the taskbar and select it. - Select the drive you want to clean, then select OK.
- Select the check boxes for the file types you want to delete. Select a name to see what it covers. Downloaded Program Files, Temporary Internet Files and Thumbnails are selected by default, so clear them if you want to keep those files.
- To free more space, select Clean up system files, choose the drive, and select OK. Wait while Disk Cleanup calculates, then select the system file types you want to delete.
- Select OK, then Delete files to confirm.
If you upgraded fewer than 10 days ago, your previous version of Windows appears in the system files list. Deleting it removes your option to go back.
Empty the Recycle Bin and clean out Downloads
Files you delete stay in the Recycle Bin and keep using space until you empty it.
- Open the Recycle Bin from your desktop. If the icon is missing, go to Settings > Personalization > Themes > Desktop icon settings, select the Recycle Bin check box, and select OK.
- Check that nothing in it is still needed. Emptying the bin deletes its contents permanently.
- Select Empty Recycle Bin.
To find the largest files you saved yourself:
- Open File Explorer and, under This PC, open Downloads, Videos, Pictures or Music. These folders usually hold the biggest files.
- Select View > Details (on Windows 10, the View tab, then Details).
- Right-click an empty area and select Sort by > Size to put the largest files first.
- Delete what you don’t need, then empty the Recycle Bin. Move files you want to keep to a USB drive or SD card.
For files in OneDrive, right-click them and select Free up space instead of deleting them. That keeps them in the cloud and removes the local copy. If you delete an online-only OneDrive file on your PC, it’s deleted from OneDrive on all your devices.
How to delete Windows.old (previous Windows installation)
After an upgrade, Windows keeps your previous installation in the Windows.old folder so you can go back. Windows deletes it automatically 10 days after the upgrade. In most cases, that’s also how long you have to go back. If you’re sure the new version works for you, you can delete it sooner:
- Sign in with an administrator account.
- Go to Start > Settings > System > Storage.
- Select Temporary files.
- Select Previous Windows installation(s) (some versions label it Previous version of Windows), then select Remove files.
You can’t undo this. Once Windows.old is gone, the Go back option in Settings > System > Recovery stops working. Going back keeps your personal files but removes apps and drivers you installed after the upgrade, plus any settings you changed. To keep that option while the 10 days last, don’t touch the windows.old and $windows.~bt folders.
What is safe to delete in Windows, and what is not
| Item | Safe to remove? | How |
|---|---|---|
| Temporary files | Yes | Temporary files, Storage Sense or Disk Cleanup |
| Recycle Bin | Yes, after you check it | Empty Recycle Bin; deletion is permanent |
| Downloads and other personal files | Only what you no longer need | Review by size; move keepers to external storage |
| Windows.old | Yes, if you won’t roll back | Temporary files > Previous Windows installation(s) |
| WinSxS folder | No, never delete it by hand | Shrink it with Disk Cleanup or DISM (below) |
| pagefile.sys | No | Leave it alone |
| hiberfil.sys | Only by turning off hibernation | powercfg.exe /hibernate off |
| System & reserved storage | No | Windows frees reserved storage itself when needed |
WinSxS: shrink it, don’t delete it
Microsoft warns that deleting files from the WinSxS folder, or the folder itself, can leave your PC unable to start or update. The folder also looks bigger in File Explorer than it is, because many of its files are hard links to files used elsewhere in Windows. Windows already cleans it up on a schedule. To check its real size, open Command Prompt as administrator and run:
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
To remove superseded components now, run:
Dism.exe /online /Cleanup-Image /StartComponentCleanup
Adding /ResetBase to that command frees more space, but after it runs you can’t uninstall any update that’s already installed.
pagefile.sys and reserved storage
The page file is a hidden system file that extends your PC’s memory and supports crash dumps. If Windows runs out of committed memory, apps and Windows itself can freeze or crash. During feature updates, Windows Update temporarily turns off pagefile.sys and hiberfil.sys to use their space, then turns them back on.
Reserved storage, shown under System & reserved when you select Show more categories in Storage settings, holds space for updates, caches and temporary files. When your device runs low on space, Windows clears it so updates can use it.
Turn off hibernation to remove hiberfil.sys
Hiberfil.sys sits in the root of your Windows drive and is roughly the size of your installed RAM. Without it, your PC can’t hibernate, hybrid sleep stops working, and fast startup, which loads this file when you start up, can’t be used. If you turn off hibernation while hybrid sleep is on and the power fails, you can lose data.
- Search for cmd, right-click Command Prompt and select Run as administrator. Approve the User Account Control prompt.
- Type
powercfg.exe /hibernate offand press Enter. - To turn it back on later, run
powercfg.exe /hibernate on.
Fix low disk space errors: troubleshooting
Cleanup recommendations is missing
Microsoft’s instructions list Cleanup recommendations for Windows 11 only. On Windows 10, use Temporary files, Storage Sense and Disk Cleanup instead. On Windows 11, look for it on the Settings > System > Storage page.
Storage Sense or a cleanup option is greyed out
- Your organization manages the PC. On a work or school PC, an administrator can turn Storage Sense on or off by policy, and you can’t change it. Temporary file cleanup can be locked the same way. Ask your IT department.
- Cloud content settings don’t appear. They show up only when you’re signed in to a cloud account such as OneDrive.
- Previous Windows installation(s) isn’t listed. Either more than 10 days have passed and Windows already deleted it, or you’re not using an administrator account.
- A second drive isn’t being cleaned. Storage Sense works only on the system drive. Clean other drives through Storage used on other drives (Windows 11) or Disk Cleanup.
“Low Disk Space” error right after a cleanup
If the error appears soon after you used Cleanup recommendations or Disk Cleanup, your Temp folder may be filling up with Microsoft Store app (.appx) files. Microsoft’s fix:
- Run the Windows Store Apps troubleshooter. On Windows 11, go to Start > Settings > System > Troubleshoot > Other troubleshooters and select Run next to Windows Store Apps. On Windows 10, go to Start > Settings > Update & Security > Troubleshoot, select Windows Store Apps and select Run the troubleshooter.
- Press Win + R, type
wsreset.exeand select OK. A blank window opens and closes after about ten seconds, then Microsoft Store opens. - Run the Windows Update troubleshooter from the same troubleshooting page.
- Restart your PC.
It didn’t free much, or the space fills up again
- Storage Sense only runs when space is low. That’s the default schedule. Set Run Storage Sense to every day, week or month to stay ahead of it.
- Updates use extra space for a while. After an update, Windows keeps extra files for about 10 days so you can remove the update. You can clear them afterward with Cleanup recommendations.
- OneDrive downloaded your files. Files you open become local copies. Use Free up space or set Storage Sense to make unused files online-only.
- WinSxS looks huge. File Explorer overstates its size. Check the real figure with the DISM command above.
- Space disappears and you can’t see why. Microsoft notes that malware can use up significant drive space. Scan your PC for malware before you delete anything else.
Windows Update says it needs more space
Feature updates typically need 6 GB to 11 GB or more of free space, and quality updates 2 GB to 3 GB or more. If you can’t free that much:
- Connect a USB drive or other external storage with at least 10 GB free. Back up anything important on it first.
- Go to Start > Settings > Windows Update (Windows 10: Start > Settings > Update & Security > Windows Update) and select Fix issues if it appears.
- Select your external drive from the drop-down menu, select Next and follow the instructions. Remove the drive when the installation finishes.
Uninstalling optional features and languages you don’t use also reduces the space an update needs. If you still can’t update after all of this, Microsoft says resetting or reinstalling Windows might help.