How to speed up of window machine

Script to increase the performance of window machine

  1. Save the following script in batch file (with .bat extension)
@echo off


IF EXIST c:\windows\temp\ del /f /s /q c:\windows\temp\

 

DEL /f /s /q %temp%\

 

IF EXIST "C:\Users\" (
    for /D %%x in ("C:\Users\*") do ( 
        del /f /s /q "%%x\AppData\Local\Temp\" 
        del /f /s /q "%%x\AppData\Local\Microsoft\Windows\Temporary Internet Files\" 
    )
)

 

rd /s c:\$Recycle.Bin
rd /s /q %systemdrive%\$Recycle.bin
del c:\windows\prefetch
gpupdate /force
wuauclt /detectnow /updatnow

2. Double-click the batch file, it runs on cmd and clears your all temp folder to improve the speed of your laptop using a Windows machine. It also updates your window patches.

-- Double click the batch file
Speedup.bat

This entry was posted in windows on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply