Why Your Temp Folder Keeps Filling Up on Windows 11
When a temp folder keeps filling up on Windows 11, an app or service is creating files faster than they are removed. Deleting them helps for a while. Finding the writer fixes the problem.
Find which temp folder keeps filling up
| Folder | Who usually writes there |
|---|---|
%TEMP% |
Apps running under your account |
C:\Windows\Temp |
Services and installers |
C:\Windows\SystemTemp |
Processes running as SYSTEM |
Press Windows + R, enter %temp%, and sort by Date modified. Windows may ask for administrator permission for the other folders.
Read the file names
Sort the newest files first and look for a pattern.
- Names starting with
cab_can be linked to CBS log compression failures. - A folder named after an app often points to that app.
- Large video, archive or image files may come from an editor or compression tool.
- Many new
.logor.dmpfiles may mean a program is failing repeatedly.
A name is a clue, not proof. Confirm it with the next step.
Find the process that writes the files
- Press Windows + R, enter
resmon, and open the Disk tab. - Expand Disk Activity.
- Sort by Write (B/sec).
- Look for file paths inside a temp folder and note the process name.
For activity that comes and goes, use Microsoft's Process Monitor. Add Include filters where Path contains \Temp\ or \SystemTemp\. Capture for a few minutes, then stop, because the capture itself uses resources.
Stop the cause
- One app: update it, restart it, or repair it from Settings > Apps > Installed apps.
- Editing or archive tool: change its cache or working folder in the app's settings.
- Repeated installer: finish or remove the failed installation.
- Windows Update: check update history for an error that keeps returning.
- Unknown program: run a full scan with Windows Security before you trust it.
Do not end system processes just because they write temporary files.
Clear the space safely
Close open apps and restart if an installation is waiting. Then use Settings > System > Storage > Temporary files. Read each item before removing it, and check that Downloads is not selected unless you mean it. Skip files that are in use, and keep the temp folders themselves.
Our guide to deleting temporary files covers the full steps. Storage Sense can automate routine cleanup, but it does not fix a program that writes nonstop.
Confirm the fix
Note the folder size, then check again after a few hours of normal use. A new scan in Windows Clean can show whether temp files or another location are taking the space, such as AppData.
Temp folder FAQ
Is it normal for files to appear right away? Yes. Windows and apps create temporary files all the time. Continuous growth is the warning sign.
Can I delete the Temp folder itself? Keep the folder. Remove only its contents, and skip locked files.
Can I move TEMP to another drive? It is possible, but it hides the cause and can break installers. Fix the writer first.
Windows Clean is a free, offline disk space analyzer for Windows. No cloud, no telemetry.
Download for Windows — Free