Advertisement
AntoSVK

cleanup win

Oct 17th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. vssadmin delete shadows /All /Quiet
  2. del c:\Windows\SoftwareDistribution\Download\*.* /f /s /q
  3. del %windir%\$NT* /f /s /q /a:h
  4. del c:\Windows\Prefetch\*.* /f /s /q
  5. c:\windows\system32\cleanmgr /sagerun:1
  6. wevtutil el 1>cleaneventlog.txt
  7. for /f %%x in (cleaneventlog.txt) do wevtutil cl %%x
  8. del cleaneventlog.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement