How to fix temporary files taking up a lot of space on your computer

If your storage drive is constantly running out of space and you have no idea what's eating it up, check your temporary files. They can silently take up huge amounts of space, sometimes tens of gigabytes, without you even noticing.

The Easiest Way to Delete Temporary Files

Windows has a built-in Disk Cleanup utility  that helps you delete temporary files and other unnecessary files without deleting any important files. To launch the tool, click Start , type disk cleanup  , and open it from the search results.

How to fix temporary files taking up a lot of space on your computer
Open the Disk Cleanup application, select the drive you want to clean up

Next, select your primary drive and click OK . The application will scan the selected drive for unwanted files and display all the files that you can safely delete. This includes temporary files, Windows Update cleanup, and thumbnails, which are selected by default. Otherwise, manually select the Temporary files option under Files to delete .

How to fix temporary files taking up a lot of space on your computer
Windows 11 Desktop running Disk Cleanup utility

For a more thorough cleanup, click Clean up system files , select the drive, and click OK . This will show additional files like previous Windows installations and system error memory dumps. Also, unlike manual cleaning, Disk Cleanup won't delete any files currently in use by open applications.

After selecting the files, click OK and then click Delete files to confirm the operation.

You can also manually delete these files.

If Disk Cleanup doesn't delete temporary files, you can also delete temporary files manually. Press Windows + R , type %temp% , and press Enter to open your user's temp folder in File Explorer.

How to fix temporary files taking up a lot of space on your computer
Windows Run Dialog with Temp

Press Ctrl + A to select all files, then press Delete . Windows will notify you if it cannot delete any files that are in use; just click Skip to continue.

There is another temporary folder at C:\Windows\Temp that accumulates system-level temporary files. However, you will need admin rights to delete this folder. To delete the files, press Ctrl + A to select all, delete what you can, and skip any files you can't delete.

How to fix temporary files taking up a lot of space on your computer
Temp folder opens in File Explorer

While the manual method allows you to force temporary files to be deleted, be cautious. Never delete files you are unsure of. Also, use known temporary locations like %temp% for user accounts and C:\Windows\Temp for system files.

Do not delete the Prefetch folder , as deleting it will not free up any meaningful storage space. This folder contains data that Windows uses to speed up program launches, so deleting it may slow down application launches until Windows rebuilds the files.

Set up automatic temporary file cleanup with Storage Sense

In Windows 11 , you can set up automatic PC cleanup using Storage Sense . This Windows feature monitors your storage drives and deletes unnecessary files to free up space when enabled.

To enable this feature, go to Settings > System > Storage , then click Configure Storage Sense under Storage management . Now, select the Cleanup of temporary files option .

How to fix temporary files taking up a lot of space on your computer
Save space with Windows Storage Sense

Next, turn on the Automatic User content cleanup switch . Also, choose how often you want Windows to run Storage Sense and whether to delete files in the Recycle Bin and Downloads folder. Leave the default/never if you're not sure.

You can exclude files from OneDrive that you haven’t opened recently to free up space locally, while still being able to access them in the cloud. Storage Sense can also automatically handle those giant Windows Update files, deleting them after the 10-day Go back option expires and you can’t undo the upgrade anymore.

Setting up Storage Sense takes just five minutes, but can save you hours of manual maintenance. It's especially useful if you're running Windows on a smaller SSD, where every gigabyte counts. It runs quietly in the background, only kicking in when the conditions you specify are met.

Cleaning up your PC for 10 minutes can save you from running out of storage space and having to delete files when you need them most. Whether you choose manual deletion, Disk Cleanup, or automatic Storage Sense, regularly deleting temporary files will help keep your PC running smoothly and give you more space on your drive.

See also:

Leave a Comment

Outlook Inbox Repair Tool

Outlook Inbox Repair Tool

The Outlook Inbox Repair Tool fixes corrupted PST files quickly so you can recover emails and restore normal Outlook function. Follow these exact steps to run scanpst.exe without data loss.

Adobe PDF Installer Offline

Adobe PDF Installer Offline

Get the Adobe PDF Installer Offline to install Acrobat Reader on any PC without needing internet during setup. Follow these exact steps for the full standalone package.

How to Chromecast from Laptop to TV

How to Chromecast from Laptop to TV

Learn how to Chromecast from laptop to TV with this step-by-step guide. Stream browser tabs, videos, or your full screen from Windows or Mac to your TV in minutes.

How to Edit an Adobe PDF File

How to Edit an Adobe PDF File

Learn how to edit an Adobe PDF file in Adobe Acrobat with precise steps for text, images, and layout changes. Make professional edits quickly and save time.

Free Foxit Reader Free Download

Free Foxit Reader Free Download

Get your Free Foxit Reader Free Download from the official source with this step-by-step guide that ensures a safe and quick installation for viewing PDFs.

How to Get Help in Windows 11

How to Get Help in Windows 11

Learn how to get help in Windows 11 with built-in tools like the Get Help app and Quick Assist for fast, official support without third-party downloads.

How to Retract an Outlook Email

How to Retract an Outlook Email

Learn how to retract an Outlook email in Microsoft Outlook when you need to correct a mistake before the recipient opens it. Follow these precise steps for Exchange accounts.

How to Chromecast in Samsung TV

How to Chromecast in Samsung TV

Learn how to Chromecast in Samsung TV by connecting a Chromecast device and streaming from your phone or computer in just a few minutes.

Adobe Acrobat DC Reader Free Download

Adobe Acrobat DC Reader Free Download

Get the official Adobe Acrobat DC Reader free download safely. Follow this step-by-step guide to install the latest version for viewing and editing PDFs on Windows or Mac.

How to Update to Win 11

How to Update to Win 11

How to Update to Win 11 from Windows 10 safely with this detailed guide. Check requirements, run the upgrade, and enjoy new features and better security on compatible hardware.