Everyday IT · Windows

Clear temp files without getting clever.

Windows cleanup does not need to start with aggressive tools or deleting system folders.Clear the contents of known Temp locations, skip files Windows is actively using, and leave the Temp folders themselves in place.

The simple cleanup sequence

These are the common Windows Temp locations from the source procedure.

01

User Temp

Press Windows + R, type %temp%, and select OK. Press Ctrl + A, then Delete. If Windows says a file is in use, skip it.

02

System Temp shortcut

Press Windows + R, type temp, and continue through the administrator prompt if one appears. Select the contents and delete what Windows allows.

03

Windows Temp

Open File Explorer and browse to C:\Windows\Temp. Continue through the permission prompt if needed, select the contents, and delete what is not locked.

04

Local AppData Temp

Press Windows + R, type %localappdata%\Temp, select all contents, and delete what Windows allows.

05

Recycle Bin

Empty the Recycle Bin after the cleanup if the deleted data should actually release disk space.

What the errors mean

Locked files are normal during this kind of cleanup.

In use

Skip it

If Windows reports that a file or folder is currently in use, use the option to skip it. The goal is not to force-delete active files.

Permission prompt

Continue only where expected

System Temp locations can require administrator approval. A normal permission prompt is different from taking ownership or changing ACLs.

Still low on space

Stop repeating the same cleanup

If Temp cleanup only recovers a small amount of space, identify which top-level folder or user profile is actually consuming storage before deleting anything else.

What not to do

The safe rule is intentionally boring.

Do not

Delete the Temp folders themselves

Delete the contents, not the actual Temp directory structure.

Do not

Force locked files

A locked item is Windows telling you something still has it open. Skip it instead of escalating privileges just to remove it.

Do not

Treat cleanup as diagnosis

Temp cleanup is maintenance. If storage keeps disappearing, find the real source of disk use.

Delete the contents. Keep the folders.

If routine cleanup does not materially change free space, move to storage analysis rather than more aggressive deletion.