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

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Error code 0xc0000098 in Windows causes a blue screen error on startup. The ACPI.sys driver is often to blame, especially on unsupported versions of Windows 11 like 23H2 or 22H2 or Windows 10.

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

In some cases, sometimes you start your computer in Safe Mode and the computer freezes. So how to fix the error in this case, please refer to the article below of WebTech360.

How to fix Snipping Tool keeps showing error

How to fix Snipping Tool keeps showing error

Snipping Tool is a powerful photo and video capture tool on Windows. However, this tool sometimes has some errors, such as constantly displaying on the screen.

How to get the fastest internet connection from your router

How to get the fastest internet connection from your router

Every network has a router to access the Internet, but not everyone knows how to make the router work better. In this article, we will introduce some router tips to help speed up the wireless connection in the network.

Common Mistakes When Performing Internet Speed ​​Tests

Common Mistakes When Performing Internet Speed ​​Tests

If the results seem slower than expected, don't be too quick to blame your ISP - mistakes when performing the test can skew your numbers.

What is QoS? How to use QoS for faster Internet speeds when you need it most

What is QoS? How to use QoS for faster Internet speeds when you need it most

In the article below, we will introduce and guide you to learn about the concept of QoS - Quality of Service on router devices.

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Windows has a built-in Credential Manager, but it's not what you think it is—and certainly not a replacement for a password manager.

How to install free HEVC codecs on Windows 10 (for H.265 video)

How to install free HEVC codecs on Windows 10 (for H.265 video)

Microsoft charges for its official codecs and doesn't include them in Windows 10. However, you can get them for free without pulling out your credit card and spending $0.99.

Instructions to fix Access Denied error when accessing files or folders on Windows

Instructions to fix Access Denied error when accessing files or folders on Windows

While having trouble accessing files and folders can be frustrating, don't panic—with a few simple tweaks, you can regain access to your system.

How to check if USB Boot has been created successfully?

How to check if USB Boot has been created successfully?

After creating a USB boot to install Windows, users should check the USB boot's performance to see if it was created successfully or not.

4 Types of Windows Data That Are Growing in Size: How to Control Them?

4 Types of Windows Data That Are Growing in Size: How to Control Them?

Although Windows Storage Sense efficiently deletes temporary files, some types of data are permanent and continue to accumulate.

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

You can turn off Windows 11 background apps to optimize performance, save battery and reduce RAM consumption.

Instructions to fix the error “Network path was not found” in Windows

Instructions to fix the error “Network path was not found” in Windows

When a computer, mobile device, or printer tries to connect to a Microsoft Windows computer over a network, for example, the error message network path was not found — Error 0x80070035 may appear.

How to block Internet connection of Windows 10 software and applications

How to block Internet connection of Windows 10 software and applications

We can block Internet access for any application or software on the computer, while other programs can still access the network. The following article will guide readers on how to disable Internet access for software and applications on Windows.

How to Stay Safe on Windows 10 Until 2030

How to Stay Safe on Windows 10 Until 2030

Instead of paying $30 for a year of security updates, keep Windows 10 safe until 2030 with this simple solution.

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Error code 0xc0000098 in Windows causes a blue screen error on startup. The ACPI.sys driver is often to blame, especially on unsupported versions of Windows 11 like 23H2 or 22H2 or Windows 10.

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

In some cases, sometimes you start your computer in Safe Mode and the computer freezes. So how to fix the error in this case, please refer to the article below of WebTech360.

How to fix Snipping Tool keeps showing error

How to fix Snipping Tool keeps showing error

Snipping Tool is a powerful photo and video capture tool on Windows. However, this tool sometimes has some errors, such as constantly displaying on the screen.

How to get the fastest internet connection from your router

How to get the fastest internet connection from your router

Every network has a router to access the Internet, but not everyone knows how to make the router work better. In this article, we will introduce some router tips to help speed up the wireless connection in the network.

Common Mistakes When Performing Internet Speed ​​Tests

Common Mistakes When Performing Internet Speed ​​Tests

If the results seem slower than expected, don't be too quick to blame your ISP - mistakes when performing the test can skew your numbers.

What is QoS? How to use QoS for faster Internet speeds when you need it most

What is QoS? How to use QoS for faster Internet speeds when you need it most

In the article below, we will introduce and guide you to learn about the concept of QoS - Quality of Service on router devices.

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Windows has a built-in Credential Manager, but it's not what you think it is—and certainly not a replacement for a password manager.

How to install free HEVC codecs on Windows 10 (for H.265 video)

How to install free HEVC codecs on Windows 10 (for H.265 video)

Microsoft charges for its official codecs and doesn't include them in Windows 10. However, you can get them for free without pulling out your credit card and spending $0.99.

Instructions to fix Access Denied error when accessing files or folders on Windows

Instructions to fix Access Denied error when accessing files or folders on Windows

While having trouble accessing files and folders can be frustrating, don't panic—with a few simple tweaks, you can regain access to your system.

How to check if USB Boot has been created successfully?

How to check if USB Boot has been created successfully?

After creating a USB boot to install Windows, users should check the USB boot's performance to see if it was created successfully or not.

4 Types of Windows Data That Are Growing in Size: How to Control Them?

4 Types of Windows Data That Are Growing in Size: How to Control Them?

Although Windows Storage Sense efficiently deletes temporary files, some types of data are permanent and continue to accumulate.

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

You can turn off Windows 11 background apps to optimize performance, save battery and reduce RAM consumption.

Instructions to fix the error “Network path was not found” in Windows

Instructions to fix the error “Network path was not found” in Windows

When a computer, mobile device, or printer tries to connect to a Microsoft Windows computer over a network, for example, the error message network path was not found — Error 0x80070035 may appear.

How to block Internet connection of Windows 10 software and applications

How to block Internet connection of Windows 10 software and applications

We can block Internet access for any application or software on the computer, while other programs can still access the network. The following article will guide readers on how to disable Internet access for software and applications on Windows.

How to Stay Safe on Windows 10 Until 2030

How to Stay Safe on Windows 10 Until 2030

Instead of paying $30 for a year of security updates, keep Windows 10 safe until 2030 with this simple solution.