daily pastebin goal
15%
SHARE
TWEET

Windows Cleanup

TairikuOkami Jul 24th, 2015 (edited) 4,978 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rem USE AT OWN RISK AS IS WITHOUT WARRANTY OF ANY KIND !!!!!
  2.  
  3. rem Driver Easy - https://www.drivereasy.com
  4. rem Driver Store Explorer - https://github.com/lostindark/DriverStoreExplorer
  5. rem Geek Uninstaller  - https://geekuninstaller.com
  6. rem Wise Disk Cleaner - http://www.wisecleaner.com/wise-disk-cleaner.html
  7. rem Wise Registry Cleaner - http://www.wisecleaner.com/wise-registry-cleaner.html
  8. rem Windows Drivers - http://www.catalog.update.microsoft.com
  9.  
  10. rem Defrag HDD - Boot Windows USB - Repair - Troubleshoot - CMD - type/enter
  11. rem c:
  12. rem cd windows
  13. rem cd system32
  14. rem defrag c: /u
  15. rem https://s22.postimg.cc/df2t2gh8v/capture_06272018_231341.jpg
  16. rem https://s22.postimg.cc/lkkv0mkxd/capture_06272018_232206.jpg
  17.  
  18. fsutil usn deletejournal /d /n c:
  19. chkdsk /scan
  20.  
  21. taskkill /im TiWorker.exe /f
  22. taskkill /im trustedinstaller.exe /f
  23. net stop bits /y
  24. net stop cryptSvc /y
  25. net stop msiserver /y
  26. net stop UsoSvc /y
  27. net stop winmgmt /y
  28. winmgmt /salvagerepository
  29. net stop wuauserv /y
  30.  
  31. del "C:\$Recycle.bin" /s /f /q
  32. del "D:\$Recycle.bin" /s /f /q
  33. del "E:\$Recycle.bin" /s /f /q
  34. del "Z:\$Recycle.bin" /s /f /q
  35. del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat" /s /f /q
  36. del "%ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr*.dat" /s /f /q
  37. del "%LocalAppData%\Microsoft\Windows\INetCache" /s /f /q
  38. del "%LocalAppData%\Microsoft\Windows\WebCache" /s /f /q
  39. del "%LocalAppData%\Temp" /s /f /q
  40. del "%temp%" /s /f /q
  41. del "%WINDIR%\Logs" /s /f /q
  42. del "%WINDIR%\Installer\$PatchCache$" /s /f /q
  43. del "%WINDIR%\SoftwareDistribution" /s /f /q
  44. del "%WINDIR%\System32\winevt\Logs" /s /f /q
  45. del "%WINDIR%\Temp" /s /f /q
  46. del "%WINDIR%\WinSxS\Backup" /s /f /q
  47.  
  48. vssadmin delete shadows /for=c: /all /quiet
  49. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\SideBySide\Configuration" /v "DisableResetbase" /t "REG_DWORD" /d "0" /f
  50. Dism /Online /Cleanup-Image /CheckHealth
  51. Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase
  52.  
  53. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Active Setup Temp Folders" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  54. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\BranchCache" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  55. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Content Indexer Cleaner" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  56. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\D3D Shader Cache" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  57. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Delivery Optimization Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  58. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Device Driver Packages" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  59. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Diagnostic Data Viewer database files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  60. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Downloaded Program Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  61. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\GameNewsFiles" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  62. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\GameStatisticsFiles" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  63. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\GameUpdateFiles" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  64. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Internet Cache Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  65. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Offline Pages Files" /v "StateFlags6553" /t REG_DWORD /d "0" /f
  66. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Old ChkDsk Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  67. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Previous Installations" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  68. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Recycle Bin" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  69. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\RetailDemo Offline Content" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  70. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Service Pack Cleanup" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  71. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Setup Log Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  72. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\System error memory dump files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  73. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\System error minidump files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  74. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  75. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Setup Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  76. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Sync Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  77. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  78. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Update Cleanup" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  79. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Upgrade Discarded Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  80. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\User file versions" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  81. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Defender" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  82. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  83. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows ESD installation files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  84. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Upgrade Log Files" /v "StateFlags6553" /t REG_DWORD /d "2" /f
  85. cleanmgr /sageset:65535 & cleanmgr /sagerun:65535
  86.  
  87. start "" /wait "%ProgramFiles(x86)%\Wise\Wise Disk Cleaner\WiseDiskCleaner.exe" -a -adv
  88. start "" /wait "%ProgramFiles(x86)%\Wise\Wise Registry Cleaner\WiseRegCleaner.exe" -a -all
  89. reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "ValidateAdminCodeSignatures" /t REG_DWORD /d "0" /f
  90. start "" "E:\Software\Temp\Soft\Windows Repair Toolbox\Downloads\Custom Tools\Added Custom Tools\Rapr.exe"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top