Skip to content

Instantly share code, notes, and snippets.

@schnabear
Forked from CHEF-KOCH/acleaner.bat
Last active August 29, 2015 14:21
Show Gist options
  • Save schnabear/23a4e45eb9858e83ac8d to your computer and use it in GitHub Desktop.
Save schnabear/23a4e45eb9858e83ac8d to your computer and use it in GitHub Desktop.
@ECHO OFF
title Adobe CS6 Master Suite license cleaner by CHEF-KOCH
COLOR 0E
CLS
ECHO.
ECHO. Welcome to the Adobe CS6 Master Suite license cleaner
ECHO. by CHEF-KOCH
ECHO.
ECHO.
ping 1.1.1.1 -n 1 -w 3600 >nul
ECHO.
ECHO. Enter "clean" to remove most of Adobes trial waste from your computer
ECHO. or insert "cancel" to abort the operation. If you want it
ECHO. really clean, read on.
ECHO.
ping 1.1.1.1 -n 1 -w 6000 >nul
ECHO. It seems that Adobe saves also shit inside the Cookies folder.
ECHO. Make sure you remember your login details for all your pages and enter
ECHO. "wipe" to delete the whole folder.
ECHO.
ECHO.
ECHO.
:choice
ECHO.
SET /P choice=úInput:
IF ´%choice%´ == ´clean´ GOTO CLEAN
IF ´%choice%´ == ´Clean´ GOTO CLEAN
IF ´%choice%´ == ´wipe´ GOTO WIPE
IF ´%choice%´ == ´Wipe´ GOTO WIPE
IF ´%choice%´ == ´cancel´ GOTO CANCEL
IF ´%choice%´ == ´Cancel´ GOTO CANCEL
GOTO WRONG
:WRONG
CLS
ECHO.
ECHO. You've made wrong input - please decide between
ECHO. "clean" or "wipe". You can also enter "cancel" to abort...
ping 1.1.1.1 -n 1 -w 6000 >NUL
GOTO choice
:CLEAN
CLS
RD /S /Q "%UserProfile%\AppData\Local\Temp"
RD /S /Q "%UserProfile%\AppData\Roaming\PACE Anti-Piracy"
RD /S /Q "%UserProfile%\AppData\Roaming\Microsoft\Windows\Cookies"
RD /S /Q "%ProgramFiles(x86)%\Common Files\Adobe\ssc"
XCOPY ".\A" "%ProgramFiles(x86)%\Common Files\Adobe\" /E /Y
XCOPY ".\A" "%ProgramFiles%\Common Files\Adobe\" /E /Y
RD /S /Q "%ProgramFiles(x86)%\Common Files\Adobe\SLCache"
RD /S /Q "%ProgramFiles%\Common Files\Adobe\ssc"
RD /S /Q "%ProgramFiles%\Common Files\Adobe\SLCache"
RD /S /Q "%ALLUSERSPROFILE%\Adobe\SLStore"
RD /S /Q "%ALLUSERSPROFILE%\PACE Anti-Piracy"
RD /S /Q "%ALLUSERSPROFILE%\regid.1986-12.com.adobe"
CLS
ECHO.
ECHO.
ECHO. Computer cleaned!
ECHO. Enjoy!
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO. Press any key to continue.
PAUSE >NUL
GOTO FINISH
:WIPE
CLS
RD /S /Q "%UserProfile%\AppData\Local\Temp"
RD /S /Q "%UserProfile%\AppData\Roaming\PACE Anti-Piracy"
RD /S /Q "%UserProfile%\AppData\Roaming\Microsoft\Windows\Cookies"
RD /S /Q "%ProgramFiles(x86)%\Common Files\Adobe\ssc"
XCOPY ".\COPY" "%ProgramFiles(x86)%\Common Files\Adobe\" /E /Y
XCOPY ".\COPY" "%ProgramFiles%\Common Files\Adobe\" /E /Y
RD /S /Q "%ProgramFiles(x86)%\Common Files\Adobe\SLCache"
RD /S /Q "%ProgramFiles%\Common Files\Adobe\ssc"
RD /S /Q "%ProgramFiles%\Common Files\Adobe\SLCache"
RD /S /Q "%ALLUSERSPROFILE%\Adobe\SLStore"
RD /S /Q "%ALLUSERSPROFILE%\PACE Anti-Piracy"
RD /S /Q "%ALLUSERSPROFILE%\regid.1986-12.com.adobe"
CLS
ECHO.
ECHO.
ECHO. Computer cleaned!
ECHO. Enjoy!
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO. Press any key to continue.
PAUSE >NUL
GOTO FINISH
:FINISH
CLS
ECHO.
ECHO. You have to delete some more stuff from the registry and some more folders
ECHO. after using this.
ECHO. Search and delete the following folders on your complete harddisk:
ping 1.1.1.1 -n 1 -w 3500 >nul
ECHO.
ECHO. PACE Anti-Piracy
ECHO. regid.1986-12.com.adobe
ECHO.
ping 1.1.1.1 -n 1 -w 3500 >nul
ECHO.
ECHO. Got it?
ECHO. Now, open up "regedit" and delete the first key under
ECHO. "HKEY_CURRENT_USER\Software" and "HKEY_LOCAL_MACHINE\Software".
ECHO.
ECHO. For both, there should be a mix of numbers and letters.
ECHO. There may be two of them. If so, delete both so that you have deleted four.
ping 1.1.1.1 -n 1 -w 6000 >nul
ECHO.
ECHO. Next, move there...
ECHO. "HKEY_CURRENT_USER\Software\Adobe" and "HKEY_LOCAL_MACHINE\Software\Adobe"
ECHO.
ping 1.1.1.1 -n 1 -w 3600 >nul
ECHO. and delete the keys which are short mixes of numbers and letters.
ECHO. Even here, there may be two of them. Again delete both if they are there.
ECHO.
ECHO. Press a key to continue
PAUSE >NUL
CLS
ECHO.
ECHO. To finish this, search for some more registry keys like
ECHO. "Pepper" or "Paper" or "Muon" in
ECHO. "HKEY_CURRENT_USER\Software" and "HKEY_LOCAL_MACHINE\Software".
ECHO.
ping 1.1.1.1 -n 1 -w 3000 >nul
ECHO. They are always different but you will know what I mean when
ECHO. you found another short mix of numbers and letters.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ping 1.1.1.1 -n 1 -w 3000 >nul
ECHO. That's it for now.
ECHO. Have fun!
ECHO.
ECHO.
ECHO.
ECHO. Press a key to exit.
PAUSE >NUL
msg * ¸ by CHEF-KOCH
EXIT
:CANCEL
ECHO.
ECHO. Press any key to exit.
PAUSE >NUL
EXIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment