Manually Remove PGP Desktop for Macintosh

Article:TECH149057  |  Created: 2007-10-16  |  Updated: 2012-09-13  |  Article URL http://www.symantec.com/docs/TECH149057
Article Type
Technical Solution


Issue




This article details the process to manually remove PGP Desktop for Macintosh.

 


Solution




This article details the process to manually remove PGP Desktop for Macintosh. These steps should only be used if it is not possible to uninstall PGP Desktop in the user interface by selecting Uninstall from the PGP menu in PGP Desktop.

When uninstalling PGP Desktop for Macintosh using the Uninstall option from the PGP menu, some PGP preference files, specific to software settings, are not removed from the disk. The steps below describe how to remove all traces of PGP Desktop. 

 


To Manually Remove PGP Desktop:

1. Backup your PGP Keys and any PGP Virtual Disk files.

2. Open the Terminal application from Applications/Utilities.

3. Run the following script uninstall_pgp.pl.

The script is located in the following directory: /Applications/PGP.app/Contents/Resources/

 

Caution: This script must be executed in a directory other than the location of the script. The script can be run from the home directory.


4. Type sudo /Applications/PGP.app/Contents/Resources/uninstall_pgp.pl --uid 501 and then press Enter.

This script removes the application for the current user.

 

Warning: This script will not perform any checks for PGP encrypted disks on the system prior to uninstalling the software. Any encrypted disks on the system, will remain encrypted after PGP Desktop is uninstalled and therefore will be in accessible. Please make note of this before uninstalling the software.


If running the script does not successfully remove PGP Desktop from the system you can use the following commands from the Terminal application.  Some of these commands may error out saying they do not exist or no matching processes were found. Those are safe to ignore since the existence of these files or processes varies based on the version of PGP installed.

  • sudo killall PGP
  • sudo killall PGP\ Engine
  • sudo killall pgp-agent
  • sudo killall PGP
  • sudo killall PGPdiskEngine
  • sudo rm -rf /Library/Receipts/PGP\ Desktop.pkg/
  • sudo rm -rf /Library/Application\ Support/PGP/
  • sudo rm -rf /Library/Contextual\ Menu\ Items/PGPcontext.plugin/
  • sudo rm -rf /Library/Extensions/PGPdiskDriver.kext/
  • sudo rm -rf /Library/Extensions/PGPwde.kext/
  • sudo rm -rf /Library/Extensions/PGPnke.kext/
  • sudo rm -rf /Library/Frameworks/PGP.framework/
  • sudo rm -rf /Library/Frameworks/PGPclient.framework/
  • sudo rm -rf /Library/Frameworks/PGPproxy.framework/
  • sudo rm -rf /Library/Frameworks/PGPui.framework/
  • sudo rm -rf /Library/Frameworks/PGPwde.framework/
  • sudo rm -rf /Library/Mail/Bundles/PGP*
  • sudo rm -rf /Library/Receipts/PGP.pkg/
  • sudo rm -rf /Applications/PGP.app/
  • sudo rm -rf /Applications/PGP\ Shredder.app/
  • sudo rm -rf /Library/LaunchDaemons/com.pgp.framework.PGPwde.plist
  • sudo rm -rf /Library/PrivilegedHelperTools/com.pgp.framework.PGPwde
  • sudo rm -rf /private/var/run/com.pgp.framework.PGPwde.socket
  • exit

Delete PGP preference files from the ~/Library/Preferences folder

  •  sudo rm -rf ~/Library/Preferences/com.pgp*

If you are SURE you will not need your private or public keys anymore,  Delete the PGP folder from /Users/username/Documents/

Note: The ~ refers to the user profile (home) directory.


 



Legacy ID



804


Article URL http://www.symantec.com/docs/TECH149057


Terms of use for this information are found in Legal Notices