![Banish Temp Files: Quick Windows Fixes](https://thmb.techidaily.com/1b9c0ec4aac0a389de35bac2a472d37b33435d994c1a8448795d8b564ff658a3.jpg)
Banish Temp Files: Quick Windows Fixes
![](/images/site-logo.png)
Banish Temp Files: Quick Windows Fixes
Temporary files, as the name implies, aren’t meant to stick around on your Windows computer forever. Although Windows makes it simple to delete temporary files, there can be times when these files refuse to leave.
While temporary files are typically harmless, you may have your own reasons for deleting them. Here are some useful tips that should help remove any stubborn temporary files on Windows.
1. Use the Disk Cleanup Tool
Windows offers several options for clearing temporary files on your PC. If you are unable to delete temporary files via the Settings app or File Explorer, try using the Disk Cleanup tool instead.
Here are the steps you can follow:
- Press Win + S to access the search menu.
- Type disk cleanup in the box and press Enter.
- Use the drop-down menu to select the drive from which you want to clear temporary files.
- Click OK.
- Under Files to delete, use the checkboxes to select the files you want to remove.
- Click OK to proceed.
- Click the Delete Files to confirm.
Wait for a few moments until the Disk Cleanup tool clears all the temporary files.
2. Use Command Prompt
If the Disk Cleanup utility fails to delete some or all of the temporary files on Windows, you can try using the Command Prompt instead. Don’t worry, the process isn’t as complex as it might sound.
Follow these steps to continue:
- Right-click on the Start icon and select Terminal (Admin) from the list.
- Select Yes when the User Account Control (UAC) prompt appears.
- Copy and paste the following command into the console and hit Enter.
del /q /f /s %temp%* && del /s /q C:\Windows\temp*
Wait for the above command to run and delete the temporary files.
Power Tools add-on for Google Sheets, 12-month subscription
3. Empty the SoftwareDistribution Folder
Windows saves all the downloaded update files in the SoftwareDistribution folder before installing them. If a Windows system update gets stuck , the OS will not delete the temporary files associated with it.
To fix this, you can try emptying the SoftwareDistribution folder manually using these steps:
- Press Win + S to open the search menu.
- Type services in the box and press Enter.
- In the Services window, locate the Windows Update service. Right-click on it and select Stop.
- Press Win + R to open the Run dialog box.
- Type the following path in the text field and hit Enter.
C:\Windows\SoftwareDistribution\Download - In the File Explorer window, press Ctrl + A to select all the files and click the trash icon at the top to delete them.
- Return to the Services window, right-click on the Windows Update service, and select Start.
If you run into issues while emptying the SoftwareDistribution folder, you can force delete files in Windows using Command Prompt or a third-party tool.
4. Edit Registry Files
By default, the Disk Cleanup utility does not delete temporary files that are less than seven days old. This is because Windows marks these files as active. However, if you want to delete all the temporary files, regardless of their age, you can make changes to the Windows Registry.
Since editing registry files is slightly risky, make sure to back up all registry files or create a restore point as a precaution. Once done, follow these steps to edit registry files:
- Press Win + R to open the Run dialog box.
- Type regedit in the box and press Enter.
- Select Yes when the User Account Control (UAC) prompt appears.
- Use the left pane to navigate to HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Explorer > VolumeCaches > Temporary Files.
- In the right pane, double-click the LastAccess key.
- Enter 0 in the Value data field.
- Click OK.
OtsAV TV Webcaster
Restart your PC after this and try to delete temporary files once again.
5. Boot Into Safe Mode
It’s possible that a third-party program or background service is preventing Windows from erasing temporary files on your system. Booting your PC in safe mode can help you avoid any interference, as Windows will only run with essential drivers and services.
Use one of the many ways to boot into safe mode on Windows and try to delete temporary files one more time.
Get Rid of Temporary Files on Windows
Clearing temporary files is a great way to free up storage space without deleting any of your apps or important data.
We hope that one of the above tips was helpful and you were able to delete the temporary files without any problems.
While temporary files are typically harmless, you may have your own reasons for deleting them. Here are some useful tips that should help remove any stubborn temporary files on Windows.
Also read:
- [New] Emulate Video Success Gaining YouTube Confidence Skills
- [New] In 2024, Keeping Your Audience Engaged in a Revised Social Lands Ward
- [Updated] 6 Superior Android Screen Capture Apps for 2024
- [Updated] Expert's Insight Efficiently Using Mobizen for Capturing Screens for 2024
- [Updated] Game-Changing Tips Master the Art of Minecraft Capture on a Mac for 2024
- [Updated] How To Retrieve Your Voice on YouTube (Comments) for 2024
- [Updated] In 2024, Solved Dead OBS Camera
- [Updated] In 2024, Top Tools for High-Quality Schedule Captures
- [Updated] The Dichotomy of Digital Immersion in VR
- 2024 Approved Aviation Gaming The Ultimate Drone Race Course and Best Models
- 7 Key Approaches to Cure the Ailing Windows Service Control Panel
- Addressing Windows 10/11'S Share Issue with NVIDIA
- Change Location on Yik Yak For your Samsung Galaxy XCover 7 to Enjoy More Fun | Dr.fone
- Consumers Speak The VLLO Narrative
- Eliminating the INTERRUPT_NOT_HANDLED Error on Win11
- Eradicating 0X80041015 Problem From Windows MS Office
- Essential Methods for Documenting Overwatch Games
- Essential Steps for Moving Programs From Older Win PCs to Windows 11
- Examining the Role and Relevance of WASD in Windows
- Finding Lost Windows: Proven Strategies for Win11 Users
- Guide to Regain Basic Windows Settings After Restart
- How Do You Get Sun Stone Evolutions in Pokémon For Lava Agni 2 5G? | Dr.fone
- How To Recover Lost Data from iPhone 15 Pro Max? | Dr.fone
- How to Repair Microsoft Outlook Problems Effectively
- How to Share/Fake Location on WhatsApp for Realme GT Neo 5 SE | Dr.fone
- In 2024, How to Mirror Apple iPhone SE to Roku? | Dr.fone
- In 2024, Most Compelling 5 iOS Podcast Solutions
- In 2024, Revamping Graphic Design with Non-ACID Pro Options
- Jumpstart Your Virtual Machine Performance with Six Windows Tricks
- Masterclass in Screenshotting Professional-Level Techniques Using Mobizen for 2024
- No Snip From PrtScan: How to Prevent Launch of Snipping Tool in Windows 11
- One OS, Multiple Worlds: Windows Across Mobile, Tablet, Mac & Desktop Realized
- Optimal Lighting: Top Brightness Managers for Windows Monitors
- Overcoming MS Teams Hurdle Error 80080300 in Win11
- Overcoming WIN11: How to Resolve Stalled File Transfers (4)
- Perfecting Visual Harmony with Windows Desktop Wallpapers
- Quick Fixes for Accessing Your IIS Management Center
- Unblocking the Blocked: Fixing Windows Access Issues
- Unzipping Complex Archives: A Windows CLI Expert's Manual
- W11's Moment Update: A Glimpse at the Next-Gen Features
- Title: Banish Temp Files: Quick Windows Fixes
- Author: David
- Created at : 2024-08-08 13:16:25
- Updated at : 2024-08-09 13:16:25
- Link: https://win11.techidaily.com/banish-temp-files-quick-windows-fixes/
- License: This work is licensed under CC BY-NC-SA 4.0.