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:

Tags: #System
Sign up and earn $1000 a day ⋙

Leave a Comment

Recover Deleted Data with Recuva Portable in Windows 7

Recover Deleted Data with Recuva Portable in Windows 7

In the following article, we will present the basic operations to recover deleted data in Windows 7 with the support tool Recuva Portable. With Recuva Portable, you can store it in any convenient USB, and use it whenever needed. The tool is compact, simple, easy to use with some of the following features:

How to delete duplicate files to save computer memory using CCleaner

How to delete duplicate files to save computer memory using CCleaner

CCleaner scans for duplicate files in just a few minutes, then lets you decide which ones are safe to delete.

10 Windows Settings You Should Never Leave as Default

10 Windows Settings You Should Never Leave as Default

Windows doesn't come with security set up by default, which means there are some default settings you need to change.

How to Download, Update, and Troubleshoot USB Drivers on Windows 10

How to Download, Update, and Troubleshoot USB Drivers on Windows 10

USB devices have become indispensable in everyday life, allowing us to connect a wide variety of essential hardware to our PCs.

How to Lock Guest Wi-Fi Network So No One Can Spy

How to Lock Guest Wi-Fi Network So No One Can Spy

If you properly lock down your guest Wi-Fi network, you can share your Internet connection with any visitors without sharing any other information.

Lost Admin rights on Windows 10, heres how to fix it

Lost Admin rights on Windows 10, heres how to fix it

For some reason, your Windows 10 computer lost Admin rights, every time you open an application on the screen you receive an error message. So how to restore lost Admin rights, please refer to the article below of WebTech360.

3 ways to turn off Windows 11 firewall

3 ways to turn off Windows 11 firewall

In this article, WebTech360 will guide you how to turn off the firewall on Windows 11.

Windows 11 22H2: Moment 1 update with many notable features

Windows 11 22H2: Moment 1 update with many notable features

After a long wait, the first major update of Windows 11 has officially been released.

How to fix Unhandled Exception Has Occurred error on Windows 10

How to fix Unhandled Exception Has Occurred error on Windows 10

The Unhandled exception has occurred error is not related to a specific application, making it more difficult to resolve. This article will guide you through some ways to fix the Unhandled exception has occurred error on Windows 10.

9 Ways to Convert MOV Files to MP4

9 Ways to Convert MOV Files to MP4

These days, most PCs and Apple devices can handle both MOV and MP4 files, at least to some extent. However, the need to convert MOV video files to MP4 files has not diminished.

What is end-to-end encryption? How does it work?

What is end-to-end encryption? How does it work?

Recognizing this need, major online messaging services use a technique called end-to-end encryption, to secure and protect users' conversations.

How to set different wallpapers on each monitor Windows 10/11

How to set different wallpapers on each monitor Windows 10/11

Setting up multiple monitors on Windows is quite simple and only takes a few minutes to do. After setting up multi-monitor mode (multiple screens), you can set up separate wallpapers for each screen. To do this, please refer to the article below from WebTech360.

How to use Command Prompt, how to use cmd on Windows

How to use Command Prompt, how to use cmd on Windows

Hidden deep within Windows is a world of command lines that few people know about. In this article, we will guide you on how to fix errors and make your computer more secure using the cmd command line tool.

How to enter BIOS (UEFI) on Windows 10, how to fix the error of not being able to enter BIOS Win 10

How to enter BIOS (UEFI) on Windows 10, how to fix the error of not being able to enter BIOS Win 10

Instructions on how to enter BIOS on Windows 10 for you, with video illustration.

How to use hidden video editor on Windows 11

How to use hidden video editor on Windows 11

Clipchamp is the default video editor on Windows 11, but if you just need to make a quick cut, split a simple photo, or add music to a clip, the classic editor inside the Photos Legacy app is a much better choice.

Recover Deleted Data with Recuva Portable in Windows 7

Recover Deleted Data with Recuva Portable in Windows 7

In the following article, we will present the basic operations to recover deleted data in Windows 7 with the support tool Recuva Portable. With Recuva Portable, you can store it in any convenient USB, and use it whenever needed. The tool is compact, simple, easy to use with some of the following features:

How to delete duplicate files to save computer memory using CCleaner

How to delete duplicate files to save computer memory using CCleaner

CCleaner scans for duplicate files in just a few minutes, then lets you decide which ones are safe to delete.

10 Windows Settings You Should Never Leave as Default

10 Windows Settings You Should Never Leave as Default

Windows doesn't come with security set up by default, which means there are some default settings you need to change.

How to Download, Update, and Troubleshoot USB Drivers on Windows 10

How to Download, Update, and Troubleshoot USB Drivers on Windows 10

USB devices have become indispensable in everyday life, allowing us to connect a wide variety of essential hardware to our PCs.

How to Lock Guest Wi-Fi Network So No One Can Spy

How to Lock Guest Wi-Fi Network So No One Can Spy

If you properly lock down your guest Wi-Fi network, you can share your Internet connection with any visitors without sharing any other information.

Lost Admin rights on Windows 10, heres how to fix it

Lost Admin rights on Windows 10, heres how to fix it

For some reason, your Windows 10 computer lost Admin rights, every time you open an application on the screen you receive an error message. So how to restore lost Admin rights, please refer to the article below of WebTech360.

3 ways to turn off Windows 11 firewall

3 ways to turn off Windows 11 firewall

In this article, WebTech360 will guide you how to turn off the firewall on Windows 11.

Windows 11 22H2: Moment 1 update with many notable features

Windows 11 22H2: Moment 1 update with many notable features

After a long wait, the first major update of Windows 11 has officially been released.

How to fix Unhandled Exception Has Occurred error on Windows 10

How to fix Unhandled Exception Has Occurred error on Windows 10

The Unhandled exception has occurred error is not related to a specific application, making it more difficult to resolve. This article will guide you through some ways to fix the Unhandled exception has occurred error on Windows 10.

9 Ways to Convert MOV Files to MP4

9 Ways to Convert MOV Files to MP4

These days, most PCs and Apple devices can handle both MOV and MP4 files, at least to some extent. However, the need to convert MOV video files to MP4 files has not diminished.

What is end-to-end encryption? How does it work?

What is end-to-end encryption? How does it work?

Recognizing this need, major online messaging services use a technique called end-to-end encryption, to secure and protect users' conversations.

How to set different wallpapers on each monitor Windows 10/11

How to set different wallpapers on each monitor Windows 10/11

Setting up multiple monitors on Windows is quite simple and only takes a few minutes to do. After setting up multi-monitor mode (multiple screens), you can set up separate wallpapers for each screen. To do this, please refer to the article below from WebTech360.

How to use Command Prompt, how to use cmd on Windows

How to use Command Prompt, how to use cmd on Windows

Hidden deep within Windows is a world of command lines that few people know about. In this article, we will guide you on how to fix errors and make your computer more secure using the cmd command line tool.

How to enter BIOS (UEFI) on Windows 10, how to fix the error of not being able to enter BIOS Win 10

How to enter BIOS (UEFI) on Windows 10, how to fix the error of not being able to enter BIOS Win 10

Instructions on how to enter BIOS on Windows 10 for you, with video illustration.

How to use hidden video editor on Windows 11

How to use hidden video editor on Windows 11

Clipchamp is the default video editor on Windows 11, but if you just need to make a quick cut, split a simple photo, or add music to a clip, the classic editor inside the Photos Legacy app is a much better choice.