Script Builder

Build a safe Windows repair script

Choose a safe workflow, review each command, then generate a PowerShell or CMD script. WinRepairTools does not run anything on your PC.

Review first

Commands in this workflow

Unchecked commands will be skipped when generating the script.

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.
cleanmgr

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

Review the checkboxes before deleting files.

Generated script

Generated by the WinRepairTools API. Review every command before running it.