Temporary files build up over time and take up storage. Clearing them is safe and can free several gigabytes.
Before You Start
- Close open apps.
- Save your work.
- Check how much free space you have.
1. Delete temporary files
- Open Settings > System > Storage.
- Click Temporary files.
- Select the items to remove and click Remove files.
2. Use Disk Cleanup
Search Disk Cleanup in Start, select drive C:, tick the boxes and click OK. Click Clean up system files for more options.
3. Clear the browser cache
In Chrome or Edge, press Ctrl + Shift + Delete, choose Cached images and files and click Clear data.
4. Clear the DNS cache
Open Command Prompt and type ipconfig /flushdns, then press Enter. This can fix some website loading issues.
5. Turn on Storage Sense
In Storage settings, turn on Storage Sense so Windows cleans temporary files automatically.
Tips
- Check the Downloads folder before ticking it in cleanup tools; it may contain files you need.
Why This Happens
Windows and apps create temporary and cache files to speed things up. Over time these files can grow large and sometimes become corrupted, which may cause errors or waste space.
Still Not Working? Try These Advanced Fixes
- Delete Windows Update cache via Disk Cleanup > Clean up system files.
- Clear Microsoft Store cache by running wsreset.exe.
- Clear app caches from within each app’s settings.
How to Prevent This Problem
- Turn on Storage Sense.
- Clear browser cache every few months.
- Uninstall unused apps.
Quick Troubleshooting Table
| Problem | Try this |
|---|---|
| Low disk space | Delete temporary files |
| Website errors | Clear browser cache |
| Store app issues | Run wsreset |
| DNS issues | ipconfig /flushdns |
Frequently Asked Questions
Is clearing cache safe?
Yes, it only removes temporary files.
Will it delete my files?
No, but check Downloads before cleaning.