Created
April 29, 2021 22:14
-
-
Save eric-mathison/497e85de6ced0f1103dd8ecd7efbc675 to your computer and use it in GitHub Desktop.
Remove Solar Putty Script (thanks to Richard John) - modified for v4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM ------------------------------------------------------------------------------ | |
REM @Author: Richard John | |
REM @Version: 3.0 | |
REM | |
REM Deletes the Solar-PuTTY directory | |
REM Deletes the Solar-PuTTY shortcut | |
REM Deletes all jump list items from the Start menu | |
REM Deletes the data.dat file | |
REM Deletes logs | |
REM Deletes registry entry of the Solar-PuTTY tool | |
REM ------------------------------------------------------------------------------ | |
REM Deletes the Solar-PuTTY directory | |
del /q "%USERPROFILE%\AppData\Roaming\Solar-PuTTY\*" | |
FOR /D %%p IN ("%USERPROFILE%\AppData\Roaming\Solar-PuTTY\*.*") DO rmdir "%%p" /s /q | |
rmdir "%USERPROFILE%\AppData\Roaming\Solar-PuTTY\" | |
REM Deletes the Solar-PuTTY-v2 directory | |
del /q "%USERPROFILE%\AppData\Roaming\Solar-PuTTY-v2\*" | |
FOR /D %%p IN ("%USERPROFILE%\AppData\Roaming\Solar-PuTTY-v2\*.*") DO rmdir "%%p" /s /q | |
rmdir "%USERPROFILE%\AppData\Roaming\Solar-PuTTY-v2\" | |
REM Deletes the Solar-PuTTY-v3 directory | |
del /q "%USERPROFILE%\AppData\Roaming\Solar-PuTTY-v3\*" | |
FOR /D %%p IN ("%USERPROFILE%\AppData\Roaming\Solar-PuTTY-v3\*.*") DO rmdir "%%p" /s /q | |
rmdir "%USERPROFILE%\AppData\Roaming\Solar-PuTTY-v3\" | |
REM Deletes the Solar-PuTTY-v4 directory | |
del /q "%USERPROFILE%\AppData\Roaming\Solar-PuTTY-v4\*" | |
FOR /D %%p IN ("%USERPROFILE%\AppData\Roaming\Solar-PuTTY-v4\*.*") DO rmdir "%%p" /s /q | |
rmdir "%USERPROFILE%\AppData\Roaming\Solar-PuTTY-v4\" | |
REM Deletes the Solar-PuTTY shortcut | |
del "%USERPROFILE%\Desktop\Solar-PuTTY.lnk" | |
REM Deletes the jump list items from the Start menu | |
del /q "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Solar-PuTTY\*" | |
FOR /D %%p IN ("%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Solar-PuTTY\*.*") DO rmdir "%%p" /s /q | |
rmdir "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Solar-PuTTY" | |
del /q "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Programs\Solar-PuTTY\*" | |
FOR /D %%p IN ("%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Programs\Solar-PuTTY\*.*") DO rmdir "%%p" /s /q | |
rmdir "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Programs\Solar-PuTTY" | |
del /q "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\SolarWinds\Solar-PuTTY\*" | |
FOR /D %%p IN ("%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\SolarWinds\Solar-PuTTY\*.*") DO rmdir "%%p" /s /q | |
rmdir "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\SolarWinds\Solar-PuTTY" | |
REM Deletes the data.dat file | |
del /q "%USERPROFILE%\AppData\Roaming\Solarwinds\FreeTools\Solar-PuTTY\*" | |
FOR /D %%p IN ("%USERPROFILE%\AppData\Roaming\Solarwinds\FreeTools\Solar-PuTTY\*.*") DO rmdir "%%p" /s /q | |
rmdir "%USERPROFILE%\AppData\Roaming\Solarwinds\FreeTools\Solar-PuTTY" | |
REM Deletes logs | |
del /q "%ALLUSERSPROFILE%\Solarwinds\Logs\Solar-PuTTY\*" | |
FOR /D %%p IN ("%ALLUSERSPROFILE%\Solarwinds\Logs\Solar-PuTTY\*.*") DO rmdir "%%p" /s /q | |
rmdir "%ALLUSERSPROFILE%\Solarwinds\Logs\Solar-PuTTY\" | |
REM Deletes registry entry of the Solar-PuTTY tool | |
reg delete "HKEY_CURRENT_USER\Software\SolarWinds\Solar-PuTTY" /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment