Home / ZER0 Vault / ZERO PC Optimizer
ZERO PC Optimizer: Clear Temp Files, Flush DNS and Set High Performance (Windows .bat)
A small Windows script that clears temp files, flushes DNS and switches to the High Performance power plan.
Short link to share: zeroupdates.org/optimizer
What it does
A five-step batch file: (1) deletes files in your Temp folder and in C:\Windows\Temp; (2) deletes the Prefetch cache; (3) flushes the DNS cache; (4) force-closes OneDrive, Skype, Teams and Spotify if they are running; (5) switches Windows to the High Performance power plan.
How to use it
- Download and unzip the file.
- Save any work in OneDrive, Teams, Skype or Spotify, because step 4 closes them without asking.
- Right-click the
.batfile and choose Run as administrator. - Restart the PC when it finishes.
Requirements
Windows. Administrator rights are needed for the system Temp folder, Prefetch and the power plan.
Good to know
- It does not clear RAM. Step 4 only closes four apps that often run in the background.
- There is no benchmark behind any FPS claim. Gains depend on your hardware and are usually small. Treat it as a tidy-up, not a booster.
- High Performance mode uses more power, so a laptop battery drains faster.
- Cleaning Prefetch can make the first launch of some programs slightly slower.
- Antivirus tools can warn about batch files that close programs. You can open the file in Notepad and read every line.
Is it safe?
Read the script first: it is plain text and takes a minute. Only run files you trust, and check the SHA-256 below matches what you downloaded.
SHA-256 of ZERO-PC-Optimizer.zip:
68bd78950b167315cefb5cc216417d5e77e003d39a777eb39405081348d5a966
On Windows: certutil -hashfile ZERO-PC-Optimizer.zip SHA256. On macOS or Linux: shasum -a 256 ZERO-PC-Optimizer.zip.
Made by ZER0 Updates and provided as is, with no warranty. You are responsible for how you use it. Back up anything important before running a tool that changes or deletes files.
More tools
- ZERO Bulk Image CompressorShrink a whole folder of JPG, PNG and WebP pictures in one run, with three quality levels.
- ZERO PDF MergerJoin every PDF in a folder into one file, offline.
- ZERO Bulk File OrganizerRename messy files and sort them into Images, Videos, Music and Documents folders.
- ZERO Auto-CleanerDelete temporary and cache files to free up disk space.
- ZERO Folder LockerHide a private folder behind a simple password prompt.
- ZERO WiFi Password RevealerShow the passwords of Wi-Fi networks your Windows PC has already saved.
- ZERO WiFi Password ViewerPython version of the Wi-Fi password viewer: lists saved networks on Windows and Linux.
- ZERO Playlist to MP3Turn a YouTube playlist or single video into numbered MP3 files using yt-dlp.
- ZERO Subtitle DownloaderFind English subtitles for the video files in a folder, using the subliminal library.
- ZERO Unfollower TrackerSee who you follow on Instagram that does not follow you back, using your own data export. No login.
- ZERO Duplicate File FinderFind identical files in a folder and optionally move the extra copies aside. Nothing is deleted.
- ZERO Password GeneratorMake strong random passwords on your own computer. Nothing is saved or sent.
- ZERO File Hash CheckerCheck that a download is exactly the file the publisher meant you to get.
- ZERO QR Code MakerTurn a link, some text or your Wi-Fi details into a QR code image.
- ZERO Bulk RenamerRename lots of files at once, with a preview first and an undo.
- ZERO Folder Size ReportSee which folders and files take up the most space on your drive.