Skip to content

Instantly share code, notes, and snippets.

@stefanschmidt
Last active July 13, 2020 05:45
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanschmidt/5212744 to your computer and use it in GitHub Desktop.
Save stefanschmidt/5212744 to your computer and use it in GitHub Desktop.
Completely Uninstall Parallels Desktop 7 on OS X 10.8 (Mountain Lion)
# Unload all Parallels kernel extensions
for kext in $(kextstat | grep parallels | awk '{print $6}'); do kextunload -v 1 -b $kext; done
# Delete all Parallels kernel extensions
rm -v /System/Library/Extensions/prl*
# Delete all other Parallels files
rm -vr \
/Applications/Parallels\ Desktop.app \
/Library/Parallels/Parallels\ Service.app \
/Library/Parallels/Receipts/com.parallels.pkg.virtualization \
/Library/Preferences/Parallels \
/Library/Parallels \
/Library/QuickLook/ParallelsQL.qlgenerator \
/Library/Spotlight/ParallelsMD.mdimporter \
/Users/*/Applications\ \(Parallels\) \
/Library/Logs/parallels.log \
/private/var/db/BootCaches/*/app.com.parallels.desktop.console.playlist \
/private/var/db/receipts/com.parallels* \
/private/var/db/Parallels \
/private/var/.Parallels_swap \
/usr/lib/parallels
@tloredo
Copy link

tloredo commented Jun 22, 2015

Stefan-

Thanks a ton for this. I just upgraded from Mavericks (10.9) to Yosemite (10.10), and experienced frustratingly long shutdown times after the upgrade (2.5 min). I spent hours trying to find the cause; early in that process I used Parallels' own uninstaller to remove Parallels 7, with no effect on the shutdown time. I asked for help in the Apple Support Communities. A diagnostic script from there identified Parallels content as a possible cause; evidently, the uninstaller provided by Parallels doesn't do what it should. I ran your script, and upon restart, my shutdown time is just a few seconds.

So I wanted you and any future readers to know that this script remains useful in OS X 10.10.

The ASC thread about this is here: https://discussions.apple.com/message/28430981

Thanks again for posting this!

-Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment