Cleanup

Safe temp cleanup script

This beginner-friendly tool generates safe cleanup commands for temporary files and basic Windows cleanup.

Review the generated script before running. Close open applications first.

Workflow commands

Review each step before running

Clear current user temp files

PowerShell · Safe · Admin: No

Get-ChildItem -Path $env:TEMP -Recurse -Force -ErrorAction SilentlyContinue | Remove-Item -Recurse -Force -ErrorAction SilentlyContinue

Clears temporary files from the current Windows user temp folder. It should not delete personal documents, photos, or desktop files.

Close open apps first. Some temp files may be skipped if they are currently in use.

Open Windows Disk Cleanup

CMD · Safe · Admin: No

cleanmgr

Opens the built-in Windows Disk Cleanup tool so you can review what to remove.

Review the checkboxes before deleting files.