Parallels Forums
> Development Discussion > User Solutions and Workarounds  
How do I uninstall all of the Parallels ?  
  

How do I uninstall all of the Parallels ?

Prev Previous Post   Next Post Next
Apr 29, 2006, 01:00 PM
#1  

brettw
Member


Join: Apr 2006
Posts: 95
How To: Uninstall Parallels on OS X
Here is an updated script compilation of various bits to uninstall Parallels on OS X. This works for me on both beta 5 and beta 6. There may be some bits I couldn't find in some other places but at least it will get rid of the major parts. Run at your own risk.

After running this you'll stil have some params left in the xml config file below:
/Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
so you should do a cleanup in vi being careful to only remove what is referenced as the Parallels network adapter. If you're not sure leave it alone and it won't really matter though the dialog box in network prefs area will still show a meaningless item.

To run the script:
1. open a terminal window from the finder (Applications>Utilities>Terminal
2. get a root bash shell "sudo bash"
3. open an easy to use editor "pico"
4. cut and paste the below script into the editor window and save using "^O Writeout" as a filename e.g. remPara
5. make the file executable e.g. "chmod +x remPara"
6. run the file in the current root shell e.g. "./remPara"
7. reboot the machine - THIS IS IMPORTANT

#!/bin/sh
kextPath="/System/Library/Extensions"
killall -9 Parallels
killall -9 prl_dhcpd
kextunload $kextPath/Pvsnet.kext
kextunload $kextPath/Pvsvnic.kext
kextunload $kextPath/vmmain.kext
kextunload $kextPath/hypervisor.kext
rm -rf $kextPath/Pvsnet.kext
rm -rf $kextPath/Pvsvnic.kext
rm -rf $kextPath/vmmain.kext
rm -rf $kextPath/hypervisor.kext
rm -rf /Library/Parallels
rm -rf /Library/Receipts/Parallels*
rm -rf /Applications/Parallels
rm -rf /Library/StartupItems/Parallels
rm -rf ~/Library/Preferences/com.parallels.Parallels.plist
rm -rf ~/Library/Parallels
rm -rf ~/.parallels_settings
rm -f /dev/vm-main
rm -f /dev/hypervisor
touch /System/Library/Extensions
sleep 2
touch /System/Library/Extensions/
echo "Completed Removal of Parallels"


If you have updates/additions pls add comments. Thanks to Peterwor for his original script in the Apple forums.
Reply 
 


Thread tools Display modes
Threaded Mode