Advertisement
Guest User

Untitled

a guest
Nov 9th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "C:\Program Files\CCleaner\CCleaner.exe" /delete "%appdata%\Microsoft\Windows\Recent\*" 1
  2. "C:\Program Files\CCleaner\CCleaner.exe" /delete %appdata%\microsoft\windows\recent\automaticdestinations\*" 1
  3. "C:\Program Files\CCleaner\CCleaner.exe" /delete "%appdata%\Macromedia\Flash Player\#SharedObjects" 1
  4. "C:\Program Files\CCleaner\USBOblivion64.exe" -enable -auto -nosave -silent
  5. "C:\Program Files\CCleaner\CCleaner.exe" /AUTO
  6. ipconfig /flushdns
  7. @echo off
  8. FOR /F "tokens=1,2*" %%V IN ('bcdedit') DO SET adminTest=%%V
  9. IF (%adminTest%)==(Access) goto noAdmin
  10. for /F "tokens=*" %%G in ('wevtutil.exe el') DO (call :do_clear "%%G")
  11. echo.
  12. echo goto theEnd
  13. :do_clear
  14. echo clearing %1
  15. wevtutil.exe cl %1
  16. goto :eof
  17. :noAdmin
  18. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement