Cleanup all Junk, Temporary & Prefetch Files in Windows 10 in 1-Click - Cyber Tweaks

Ads Top

Cleanup all Junk, Temporary & Prefetch Files in Windows 10 in 1-Click

Content is free. When you buy through links on my site, I may earn affiliate commission. Learn More.

Delete Junk Files from Pc/Laptop and Speed up

Did you know that while working on Windows 10, the operating system and many software will constantly create different temporary files on your computer?

Over time, more and more temporary files may accumulate on your system, taking up your precious system drive space and even affecting the performance of your computer.

Temp files are a few junk files that windows store for temporary work. You can delete them manually by using the command, but it's kind of hectic work by typing them manually.

What about removing all your temp, prefetch, recent history, etc with one simple batch file? 

You can delete all junk from your pc in-1click and speed up your computer/laptop in seconds.

How to create a batch file to clean up your Windows 10/8/7?

  1. Open any text editor from pc (eg, Notepad, Notepad++)
  2. Copy this code & paste into notepad
  3. 
    @echo off
    del /s /f /q c:\windows\temp\*.*
    rd /s /q c:\windows\temp
    md c:\windows\temp
    del /s /f /q C:\WINDOWS\Prefetch
    del /s /f /q %temp%\*.*
    rd /s /q %temp%
    md %temp%
    deltree /y c:\windows\tempor~1
    deltree /y c:\windows\temp
    deltree /y c:\windows\tmp
    deltree /y c:\windows\ff*.tmp
    deltree /y c:\windows\prefetch
    deltree /y c:\windows\history
    deltree /y c:\windows\cookies
    deltree /y c:\windows\recent
    deltree /y c:\windows\spool\printers
    cls
    
  4. Now save this file as cleanup.bat
  5. Choose Save as type: all files on Notepad
  6. Click the file and it will automatically clean up all junk files from pc

How to Cleanup Automatically When You Start Your Computer?

  1. Open the Startup Folder by pressing the Windows key + R key
  2. Now Type Shell:startup on Dialog Box
  3. You can also manually Find Startup Folder by locating the following path  C:\Users\[User Name]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  4. Now Copy the cleanup.bat file to this fold
  5. So, Whenever you Restart Your PC, This File will be Executed automatically

No comments:

Powered by Blogger.