Forked from guycalledseven/manual-uninstall-parallels.sh
Created
November 2, 2023 18:16
-
-
Save m0zgen/266122ab878956735cde9a5644972dd2 to your computer and use it in GitHub Desktop.
Manually remove Parallels Desktop v15 leftovers MacOS
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
# used different forum posts/guides to figure this out like: | |
# The uninstall script is located at /Library/Parallels/Parallels Service.app/Contents/Resources | |
# https://github.com/danijeljw/remparallels/blob/master/remprls.sh | |
# https://kb.parallels.com/122461 | |
# sudo find / -iname "*parallels*" | |
# sudo find / -iname "*prl*" | |
#before uninstalling deactivate your licencse - this won't be possible after uninstall | |
prlsrvctl deactivate-license | |
#sudo rm -rf /Library/Preferences/Parallels/licenses.xml | |
#prlsrvctl activate-license-online | |
# killing running processes | |
for pid in $(ps aux | grep "Parallels*" | awk '{print $2}'); do sudo kill -HUP $pid; done | |
for kext in $(kextstat | grep parallels | awk '{print $6}'); do sudo kextunload $kext; done | |
# after appcleaner does his magic, do this | |
sudo rm -rf "/Library/Preferences/Parallels" | |
sudo rm -rf "/Library/StagedExtensions/Applications/Parallels Desktop.app" | |
sudo rm -rf "/Library/Parallels" | |
sudo rm -rf "/Library/SystemMigration/History/Migration-19876876-8E63-4214-9A73-14A7C10A5A84/QuarantineRoot/Library/StagedExtensions/Applications/Parallels Desktop.app" | |
sudo rm -rf "/Library/Logs/parallels.log" | |
sudo rm -rf "/private/var/.Parallels_swap" | |
sudo rm -rf "/private/var/root/Library/Preferences/com.parallels.desktop.plist" | |
sudo rm -rf "/private/var/db/Parallels" | |
sudo rm -rf "/private/var/db/Parallels/Stats/ParallelsDesktop.15.1.3-47255" | |
sudo rm -rf "/Users/$USER/Library/Saved Application State/com.parallels.desktop.console.savedState" | |
sudo rm -rf "/Users/$USER/Library/Preferences/Parallels" | |
sudo rm -rf "/Users/$USER/Library/Preferences/com.parallels.Parallels.plist" | |
sudo rm -rf "/Users/$USER/Library/Parallels" | |
sudo rm -rf "/Users/$USER/Library/Logs/parallels.log" | |
sudo rm -rf "/Users/$USER/Library/Caches/Parallels Software" | |
sudo rm -rf "/Users/$USER/Parallels" | |
sudo rm -rf "/Library/Extensions/Parallel\ Desktop.app" | |
sudo kextcache -invalidate / | |
sudo kextcache --clear-staging | |
sudo rm -rf /private/var/db/parallels/stats/* | |
sudo rm -rf /private/var/db/Parallels/stats/* | |
sudo rm -rf /private/var/db/parallels/stats | |
sudo rm -rf /private/var/db/Parallels/stats | |
sudo rm -rf /private/var/db/parallels | |
sudo rm -rf /private/var/.parallels_swap | |
sudo rm -rf /private/var/.Parallels_swap | |
sudo rm -rf /private/var/db/receipts/'com.parallels*' | |
sudo rm -rf /private/var/root/library/preferences/com.parallels.desktop.plist | |
sudo rm -rf /private/tmp/qtsingleapp-*-lockfile | |
sudo rm -rf /private/tmp/com.apple.installer*/* | |
sudo rm -rf /private/tmp/com.apple.installer* | |
sudo rm -rf /System/Library/Extensions/prl* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment