Skip to content

Safely free up disk space on Windows

Troubleshooting guides · Storage & drives

A game update can run out of room even when File Explorer shows plenty of space on the C drive. The game might live on another drive. Start with the drive the update needs, then find something you can safely clear or move. Check that drive again before retrying.

These steps use Windows 11. Some Windows 10 systems use Disk Cleanup.

Open File Explorer → This PC and note the free space on the drive named in the error or selected in the installer. If the error leaves out the drive letter, look for the install location in the app or launcher. Write down the drive letter, the free space and how much room the app or update says it needs. Those are the numbers you’ll come back to after cleanup.

In Settings → System → Storage, look at which categories account for most of the system drive. For another drive, open Advanced storage settings → Storage used on other drives. If Windows Update offers to use an external drive, Windows may still need room on the internal drive to finish the update. Microsoft’s Windows Update storage guidance

Where to look after you find the affected drive
What you seeNext check
Space dropped suddenlyCheck active downloads, updates and sync. Record a second free-space reading when they settle.
Apps or files grew graduallyStart with the largest category and identify one owner in the app, launcher or a folder you recognize.
Folder totals disagreeCompare the volume, units, metric and scope before relying on a total.
Windows Update needs roomRead the internal-space requirement in Windows Update. Use Fix issues if offered.
A sync folder looks hugeCheck availability and sync state before opening or offloading files.

Open Settings → System → Storage → Cleanup recommendations and start with temporary items whose purpose you recognize. Review each section and select only items you intend to remove. If your version offers Disk Cleanup, confirm the drive and read the description for each checked category.

Open Downloads and Recycle Bin separately before selecting either category. A Downloads folder can hold files you still use, and emptying the Recycle Bin removes your usual way to put a deleted file back. If there’s anything you want to keep, leave that category unchecked.

Keep Previous Windows installation(s) while you’re still checking whether an upgrade caused problems. That copy gives Windows a way to roll back to the previous installation. When you’re ready to give up that option, use the Windows cleanup control to remove it.

If you use Storage Sense for recurring cleanup, check how it handles the Recycle Bin, Downloads and locally available cloud files before enabling or changing its schedule. It runs on the system drive. Microsoft’s cleanup guidance, Storage Sense settings

If an update is blocked, follow the Windows Update space options. If synced files are using local space, check the OneDrive offline and recovery requirements before making an item online-only.

If temporary files won’t free enough room, look at the largest category in Storage. For personal files, start with large recordings, installers and archives you recognize. Moving a recording to another folder on the same drive only changes where you find it. Copy it to another drive with room, open the copy and verify you have a backup before removing the original. If two files look like duplicates, check their contents and what uses them. A matching name or size only tells you where to look.

If OneDrive shows a file is synced and you can open its cloud copy, Free up space makes the file online-only. You’ll need a connection to open it again. Choose that action when you want the file back later, because Delete can remove it from OneDrive and other synced devices. OneDrive Files On-Demand

For apps or games you no longer use, open Settings → Apps → Installed apps or use the vendor’s uninstaller. To keep a Steam game, use Steam → Settings → Storage to move it to a library on another drive. Check saves and mods separately and launch the moved game before removing any backup you made. Windows app removal · Steam’s move instructions

Use the SDK manager or application to review installed developer tools. For Docker, check that the active context and any environment overrides point to a local daemon before using docker system df -v. Images can share layers and volumes can hold databases even without a running container. Keep volumes and VM disks until you know what they contain and have a recovery copy. Docker disk usage

A folder total can count file lengths, while the drive reports space actually available. Sparse VM disks can have a much larger logical size than their allocation. Hard links give the same file multiple names. Windows also uses links in its component store, so a folder scan can overstate its separate cost. Keep Windows\WinSxS, restore points, and unknown AppData or ProgramData folders out of manual cleanup. Use the owning Windows feature or app to investigate them. Sparse files · Component-store accounting

For large personal files, open a known folder such as Videos on the affected drive, switch to Details and sort by Size. This finds large files at that location without opening them. Check Properties on an individual local file to compare Size and Size on disk. Skip online-only files, junctions and inaccessible locations. This check covers the items you looked at. Keep those omissions in your notes before drawing conclusions about the drive.

If an app category points toward AppData, confirm the exact app and data type through its own storage settings. An app can store logs, temporary files and caches alongside recovery files, settings and saves. Use its documented control for a confirmed regenerable category. If space keeps falling, record the time, drive and category that grew. When reads fail or the drive disconnects, prioritize backup and diagnostics before more inspection.

If a user profile keeps growing, identify the AppData owner. For a growing virtual disk or build cache, check Docker, WSL or developer tools. If totals disagree, compare folder size and drive usage.

Refresh File Explorer → This PC and check the same drive. For a repeatable reading, open PowerShell as your regular user and change C to the affected drive letter.

PowerShell · Read-only check
Get-Volume -DriveLetter C | Select-Object DriveLetter, FileSystem, Size, SizeRemaining

Runs only when you paste it into your terminal and press Enter.

Record SizeRemaining before and after one action. The command reports sizes in bytes. Subtract the before reading from the after reading to get the observed change. PowerShell Get-Volume reference

In an illustrative example, the same drive reports 4,000,000,000 bytes free before cleanup and 7,000,000,000 afterward. That’s 3,000,000,000 more free bytes, or 3 GB in decimal units. If the change is smaller than expected, the file could still be in the Recycle Bin, or a download or sync job could have used some of the space while you checked. Keep the cleanup estimate and the observed change separately. Once the affected drive has enough room, retry the original update or installation.

Use the worksheet to record free space and plan one reviewed action. Exact bytes work best when available. For a message asking for additional space, add that amount to the current free space to get the total requirement. If JavaScript is off, subtract before from after in your notes and compare each reading with the required total.

Enter whole bytes or a value such as 5.5 GB or 512 MiB. Use KB through TB or KiB through TiB, a decimal point and up to six decimal places. Conversions round to the nearest byte, with half a byte rounded up. Leave unknown values blank.

Entries stay in this page. Use aliases and leave out paths, names, account details and secrets.

Free-space shortfall before
Unavailable
Free-space shortfall after
Unavailable
Observed free-space change
Unavailable
File and virtual disk readings
Plan one action and record the outcome

Use an estimate only for this action. The observed change can include other writes.

Review and copy summary
Storage worksheet
Host volume free before: Unavailable
Total free space the task requires: Unavailable
Host volume free after: Unavailable
Logical size for the selected scope: Unavailable
Reported allocation for the selected scope: Unavailable
Virtual disk capacity: Unavailable
Estimated recovery for one action: Unavailable
Allocation counted by: Unknown
Matched host volume and metric: unconfirmed
Free-space shortfall before: Unavailable
Free-space shortfall after: Unavailable
Observed free-space change: Unavailable
Storage classification: Unknown
Storage owner: Unavailable
One proposed action: Unavailable
Recovery or verified backup: Unavailable
Volume alias, tool, metric and before/after times: Unavailable
Omissions and concurrent activity: Unavailable
Original task outcome: Unknown

If the same drive barely changed, follow the checks for space that stayed occupied after deletion.

If the Storage categories still leave you wondering where the space went, an agent on that Windows PC can help you read the numbers. Give it the drive letter and limit it to read-only inspection. If the agent can’t access the PC, you can paste just the free-space reading and the Storage categories you’re comfortable sharing.

Use the disk-cleanup skill with the prompt below. Follow the installation instructions for your agent. Use guided native tools on Windows. Automated recursive inventory is unavailable on this platform. The skill has no generic deletion script and asks for approval before each cleanup action.

Help me find what is filling drive C: on this Windows 11 PC. Start read-only. Check free space and summarize Windows Storage categories or a folder I approve. Skip junctions and inaccessible locations. Give me a short list of supported cleanup actions, likely recoverable space if you can estimate it, what I would lose, and how to verify the result. Ask before any change. Keep paths and reports local.

Ask for a baseline, a short list of candidates and any locations the agent couldn’t read. Approve only the action and target you understand. You can also do the cleanup in Windows yourself and ask the agent to compare the readings.

For an optional read-only check, ask the agent to use the Windows volume baseline on one approved local drive and keep the raw result private. Use portable accounting to calculate the shortfall and compare compatible follow-up readings.