Advertisement
chap1337

Chap PC & Steam Cleaner

Oct 14th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 3.48 KB | None | 0 0
  1. @ECHO OFF
  2. :: Inicio o arquivo Chap Cleaner.
  3. TITLE Chap Cleaner v2019
  4. ECHO Aguarde... Checando informacoes do sistema.
  5. :: Section 1: Informações do hardware.
  6. ECHO ============================
  7. ECHO INFORMACOES DO HARDWARE
  8. ECHO ============================
  9. systeminfo | findstr /c:"Total Physical Memory"
  10. wmic cpu get name
  11. :: Section 2: Informações da rede.
  12. ECHO ============================
  13. ECHO INFORMACOES DA REDE
  14. ECHO ============================
  15. ipconfig | findstr IPv4
  16. ipconfig | findstr IPv6
  17. :: Section 3: Remove arquivos temporários do sistema.
  18. ECHO ==========================================
  19. ECHO EXCLUINDO ARQUIVOS TEMPORARIOS DO SISTEMA
  20. ECHO ==========================================
  21. del %temp%\*.tmp /f /s /q
  22. del %windir%\prefetch\*.* /f /s /q
  23. del %windir%\temp\*.* /f /s /q
  24. rmdir /s /q %windir%\temp\
  25. del c:\*.tmp /f /s /q
  26. del d:\*.tmp /f /s /q
  27. del c:\temp\*.tmp /f /s /q
  28. del d:\temp\*.tmp /f /s /q
  29. del c:\windows\prefetch\*.* /f /s /q
  30. del d:\windows\prefetch\*.* /f /s /q
  31. del c:\windows\temp\*.* /f /s /q
  32. del d:\windows\temp\*.* /f /s /q
  33. del c:\win98\temp\*.* /f /s /q
  34. del d:\win98\temp\*.* /f /s /q
  35. del c:\winnt\temp\*.* /f /s /q
  36. del d:\winnt\temp\*.* /f /s /q
  37. del c:\winme\temp\*.* /f /s /q
  38. del d:\winme\temp\*.* /f /s /q
  39. rmdir /s /q c:\windows\temp\
  40. rmdir /s /q d:\windows\temp\
  41. del C:\"Documents and Settings"\%username%\Cookies\*.* /f /s /q
  42. del D:\"Documents and Settings"\%username%\Cookies\*.* /f /s /q
  43. del c:\"documents and settings"\%username%\Recent\*.* /f /s /q
  44. del D:\"documents and settings"\%username%\Recent\*.* /f /s /q
  45. del C:\"documents and settings"\%username%\"local settings"\temp\*.* /f /s /q
  46. del D:\"documents and settings"\%username%\"local settings"\temp\*.* /f /s /q
  47. rmdir /s /q c:\"documents and settings"\%username%\"local settings"\temp\
  48. rmdir /s /q d:\"documents and settings"\%username%\"local settings"\temp\
  49. del C:\"documents and settings"\%username%\"Local Settings"\"temporary internet files"\*.* /f /s /q
  50. del d:\"documents and settings"\%username%\"local settings"\"temporary internet files"\*.* /f /s /q
  51. del c:\"documents and settings"\%username%\"application data"\microsoft\office\recent\*.* /f /s /q
  52. del d:\"documents and settings"\%username%\"application data"\microsoft\office\recent\*.* /f /s /q
  53. rmdir /s /q C:\"documents and settings"\%username%\"local settings"\"temporary internet files"\
  54. rmdir /s /q D:\"documents and settings"\%username%\"local settings"\"temporary internet files"\
  55. :: Section 4: Remove arquivos temporários da steam
  56. ECHO ============================
  57. ECHO PARANDO O PROCESSO DA STEAM
  58. ECHO ============================
  59. tasklist /FI "IMAGENAME eq Steam.exe" 2>NUL | find /I /N "Steam.exe">NUL
  60. if %ERRORLEVEL%==0 (
  61.     "C:\Program Files (x86)\Steam\Steam.exe" -shutdown
  62. )
  63. :: Section 5: Remove arquivos temporários da steam
  64. ECHO ==========================================
  65. ECHO EXCLUINDO ARQUIVOS TEMPORARIOS DA STEAM
  66. ECHO ==========================================
  67. del /s /f /q "C:\Program Files (x86)\Steam\appcache"
  68. rd /s /q "C:\Program Files (x86)\Steam\appcache"
  69. "C:\Program Files (x86)\Steam\bin\SteamService.exe" /install
  70. "C:\Program Files (x86)\Steam\bin\SteamService.exe" /repair
  71. bcdedit /deletevalue nointegritychecks
  72. bcdedit /deletevalue loadoptions
  73. bcdedit /debug off
  74. bcdedit /deletevalue nx
  75. ipconfig /flushdns
  76. shutdown -r
  77. :: Section 6: Feito.
  78. ECHO ==========================================
  79. ECHO Feito! Seu PC sera reiniciado em 1 minuto
  80. ECHO ==========================================
  81. PAUSE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement