Skip to main content

Command Palette

Search for a command to run...

How to Recover Lost Disk Space After Installing or Uninstalling Apps on Windows

Updated
4 min read
How to Recover Lost Disk Space After Installing or Uninstalling Apps on Windows

Have you ever installed an application or game on Windows, then uninstalled it because the installation got stuck or failed — but your disk space never came back?

This is a common issue in Windows. Temporary files, cache, leftover installer data, and application folders often remain even after uninstalling software.

In this guide, you'll learn how to clean up your disk space and recover lost storage safely.


Why Does Disk Space Stay Used?

When installing applications, Windows usually creates:

  • Temporary files

  • Installer cache

  • Update files

  • Extracted setup data

  • Logs and configuration files

Unfortunately, uninstalling the application does not always remove all of these files.

As a result:

  • Your storage remains full

  • Drive C runs out of space faster

  • Windows performance may become slower


1. Restart Your PC First

Sometimes Windows has not yet refreshed the storage calculation.

Before doing any cleanup:

  1. Restart your PC

  2. Check your disk space again

In some cases, the storage returns automatically after rebooting.


2. Empty the Recycle Bin

Deleted files are not permanently removed until the Recycle Bin is emptied.

Steps:

  1. Right-click Recycle Bin

  2. Select Empty Recycle Bin


3. Delete Temporary Files

Temporary files are often the main reason storage space disappears.

Clean %temp%

  1. Press:
Windows + R
  1. Type:
%temp%
  1. Delete all files you can

If some files cannot be deleted, simply click Skip.


Clean the temp Folder

Repeat the process above and type:

temp

Delete the files inside.


Clean prefetch

  1. Press:
Windows + R
  1. Type:
prefetch
  1. Delete the files inside

Note: Windows automatically rebuilds prefetch files, so deleting them is generally safe.


4. Use Disk Cleanup

Windows includes a built-in cleanup utility.

Steps:

  1. Search for:
Disk Cleanup
  1. Select drive:
C:
  1. Check:
  • Temporary files

  • Windows Update Cleanup

  • DirectX Shader Cache

  • Delivery Optimization Files

  • Thumbnails

  1. Click:
OK → Delete Files

This tool can often free several gigabytes of storage.


5. Remove Leftover Application Folders

Some applications leave folders behind even after uninstalling.

Check these locations:

C:\Program Files
C:\Program Files (x86)
C:\Users\USERNAME\AppData\Local
C:\Users\USERNAME\AppData\Roaming

If you still see folders related to the removed application:

  • delete them manually

How to Open the AppData Folder

  1. Press:
Windows + R
  1. Type:
%appdata%

The AppData folder will open automatically.


6. Check the Downloads Folder

Large installer files are often still stored in:

Downloads

Examples:

  • .exe

  • .msi

  • .zip

  • extracted setup folders

Delete files you no longer need.


7. Use Storage Analyzer Tools

If your storage is still missing, use disk analyzer tools to identify large folders and files.

These tools help you:

  • Find the largest folders

  • Detect hidden storage usage

  • Locate leftover application files


Tips to Prevent Storage Problems

1. Avoid Installing Everything on Drive C

If possible, install applications on:

  • D:

  • E:

  • Secondary drives


2. Delete Installers After Installation

Large installer files often remain in the Downloads folder unnecessarily.


3. Clean Temporary Files Regularly

Recommended:

  • once every 1–2 weeks

4. Enable Windows Storage Sense

Go to:

Settings → System → Storage

Enable:

Storage Sense

This feature automatically removes unnecessary temporary files.


Final Thoughts

Disk space issues after installing or uninstalling applications are very common on Windows systems. In most cases, the problem comes from leftover temporary files, cache, or installer data that Windows does not automatically remove.

Regular cleanup can help keep your storage healthy and your Windows system running smoothly.