Notes on Code42 Installs and Uninstalls at NCSU

macOS Information


GUI Uninstall
Code42 has an hidden in it’s Application Support folder as
/Library/Application\ Support/CrashPlan/
Running this does a partial uninstall leaving the identity files behind so an install of the vanillla, unmodified, installer can be used without a file. To do a full uninstall run the and then Trash the entire folder at /Library/Application\ Support/CrashPlan

Command Line Uninstall
1) keeping identity
/Library/Application\ Support/CrashPlan/

2) Full Uninstall destroying identity
/Library/Application\ Support/CrashPlan/;/bin/rm -Rf /Library/Application\ Support/CrashPlan


The install process requires 2 installers a) the vanilla, signed installer for the most recent version of as available in the web interface under App Downloads in the left side bar, and b) an installer that places the custom in /Library/Application\ Support/CrashPlan. Note that this ONLY works for new clean installs (ie have to do full Uninstall) but avoids repackaging signed and stapled installer from Code42.

The is a configuration file in plain text that has 4 keywords:

This is the secure URI to the cloud web server and the same for all web hosted deployment

This is can be  the identifier of one of our two (2) Deployment Deployment Policies:
1) Force SSO Login before Backup
2) NCSU-Silent_DirectoryUser
The deployment Policies are scripts that are stored on which run during the intall to set the two (2) required variables:
These variables are set by the installer and used by the backup engine and the Both are misleadingly named implying legacy functions that are no longer is accurate.

C42_USERNAME actually sets the username of the user who will own the backup for restoration in the online storage servers. This username must match the NCSU Unity Id (with out “”) since the authorization for restore is accomplished with our campus directory. This variable is required during the install phaze so we handle it one of two ways. For the “Force SSO Login before Backup” deployment policy the installer prompts for the Unity Id and then runs and prompts for SSO login (which uses the Azure Id form This may confuse end users being prompted for 2 different forms or the same id in succession but can not be avoided. The deployment policy “NCSU-Silent_DirectoryUser” assumes, with no verification!!, that the local username of the account logged in during the install is an exact match to the Unity Id that will need to own the device backup. This is a huge assumption but is a way a fully silent install and fully automated backup (ie configuration of the Code42 backup engine headless process/service) can be achieved. Use the “NCSU-Silent_DirectoryUser” deployment policy with great care to avoid orphaned backups which can not be restored by the end user!!

C42_USER_HOME sets the directory which should be backed up. This can be changed in the app preferences but we always set it to /Users to make sure we get all user related files on the device since we always deploy “For all Users” not on a per user basis. On multi-user devices this means the first user to install CrashPlan will be able to restore from other user’s directories so beware! Note also that CrashPlan will not make bootable restoration sets so we just concern ourselves with data in /Users not applications, OS components, or global configurations.

If false will run the after the install. If true will NOT run the app

Should always be false. See:

The default installer archives use a file that prompts the end user to provide the username and the prompt to login using SSO before the backup can begin. The custom installers are wrappers around the signed, secure installers that place the file in the correct folder on each platform (Windows, macOS, Linux).  The license installers in the campus approved configuration management systems are created to prompt for SSO login before backing up.