Skip to main content

Who is this article for?

Incydr
Code42 for Enterprise
CrashPlan for Enterprise
CrashPlan for Small Business

Incydr, yes.

CrashPlan for Enterprise, yes.

Code42 for Enterprise, yes.

CrashPlan for Small Business, yes.

This article applies to app versions 6, 7, and 8.

Other available versions:

Version 5 | Version 4

HOME
GETTING STARTED
RELEASE NOTES
FAQs
APIs
SYSTEM STATUS
Code42 Support

Uninstall the Code42 app

Who is this article for?

Incydr
Code42 for Enterprise
CrashPlan for Enterprise
CrashPlan for Small Business

Incydr, yes.

CrashPlan for Enterprise, yes.

Code42 for Enterprise, yes.

CrashPlan for Small Business, yes.

This article applies to app versions 6, 7, and 8.

Other available versions:

Version 5 | Version 4

Overview

This article explains how to uninstall the Code42 app from your computer.

Uninstalling the Code42 app removes the log files associated with your backups on this computer. If you're uninstalling as part of a troubleshooting process, send your log files to our Customer Champions before uninstalling.

Standard uninstall

A standard uninstall removes the Code42 app from your computer. An identity file is left on your computer in case you reinstall in the future.

Windows

  1. Open the Control Panel and select Uninstall a Program.
  2. Select Code42 (version 8.2 and later) or Code42 CrashPlan (version 8.0 and earlier) and choose Uninstall.

You may be prompted that another user on the device is signed in. If another user is signed in, it may prevent the Code42 app from uninstalling completely. We recommend coordinating with other users to ensure all users are signed out of their accounts before continuing.

Uninstall fails
If the uninstallation fails, follow Microsoft's instructions to fix problems that block programs from being installed or removed.

Mac

  1. Open the Finder.
  2. Press Command+Shift+G.
    A dialog box appears: Go to the folder.
  3. Paste this text into the dialog box:
    • Installed for everyone: /Library/Application Support/CrashPlan/Uninstall.app
    • Installed per user: ~/Library/Application Support/CrashPlan/Uninstall.app
  4. Click Go.
    If you see the error "The folder can't be found", download the Code42 for Enterprise Mac installer or CrashPlan for Small Business Mac installer, and continue to the next step. 
  5. Double-click Uninstall.
  6. Follow the prompts to complete the uninstall process.

Linux

  1. Download the Code42 app.
  2. Uncompress the TGZ file in Downloads.
  3. Open Terminal and enter:
    • Version 8.2 and later: cd ~/Downloads/code42-install
    • Version 8.0 and earlier: cd ~/Downloads/crashplan-install
  4. Press Enter.
  5. Then enter: sudo ./uninstall.sh -i /usr/local/crashplan
  6. Press Enter.
  7. At the prompt, type YES to uninstall and press Enter.

Complete uninstall

A complete uninstall removes the Code42 app, your computer's identity file, and any backups on your computer. Only perform a complete uninstall if:

  • You want to permanently end all Code42 app backups for this computer.
  • A Customer Champion instructs you to do so.

To completely uninstall the Code42 app:

  1. Follow the instructions above for a standard uninstall.
  2. Delete the following folder from your computer:
    • Windows:
      • If installed for everyone: C:\ProgramData\CrashPlan
      • If installed per user: C:\Users\<username>\AppData\<Local or Roaming>\CrashPlan
    • Mac:
      • If installed for everyone: /Library/Application Support/CrashPlan
      • If installed per user: ~/Library/Application Support/CrashPlan
    • Linux: /var/lib/crashplan

Manual uninstall for Mac

Perform the following steps if you were unable to uninstall the Code42 app on a Mac using the directions provided above.

A manual uninstall is typically not needed on Windows or Linux. However, if you already tried to remove the Code42 app on a Mac by a non-standard method, the normal uninstall process will error out if subsequently run. This is because the installation file is locked on a Mac and it must be unlocked (with a chflags noschg command) before it can be uninstalled.

Perform manual uninstall under Customer Champion supervision
You should only perform these manual uninstall steps under the supervision of a Customer Champion. If run improperly, the commands have the potential to cause harm to your system. 

Installed for all users

  1. Run the following command in Terminal: sudo ls
  2. Enter the administrator password for the computer and press Return. 
  3. Copy and paste the following commands.
    • Version 8.2 and later
      sudo  launchctl unload /Library/LaunchDaemons/com.code42.service.plist sudo chflags noschg /Applications/Code42.appsudo chmod -R 755 "/Library/Application Support/CrashPlan/" 

    • Version 8.0 and earlier
      sudo  launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist sudo chflags noschg /Applications/CrashPlan.appsudo chmod -R 755 "/Library/Application Support/CrashPlan/" 

  4. Open a Finder window and delete the following folders:
    • Version 8.2 and later
      /Library/LaunchDaemons/com.code42.service.plist
      /Applications/Code42/
      /Library/Caches/CrashPlan/
      /Library/Application Support/CrashPlan/

      Inside the last folder is a backupArchives directory that may contain inbound backups from another computer. If there is data in this folder, move it elsewhere.
    • Version 8.0 and earlier
      /Library/LaunchDaemons/com.crashplan.engine.plist
      /Applications/CrashPlan/
      /Library/Caches/CrashPlan/
      /Library/Application Support/CrashPlan/

      Inside the last folder is a backupArchives directory that may contain inbound backups from another computer. If there is data in this folder, move it elsewhere.

Installed per user

  1. Run the following command in Terminal: sudo ls
  2. Enter the administrator password for the computer and press Return. 
  3. Copy and paste the following commands. The "~" symbol designates the user folder.
    • Version 8.2 and later
      sudo launchctl unload ~/Library/LaunchAgents/com.code42.service.plist
      sudo chflags noschg ~/Applications/Code42.app
      sudo chmod -R 755 "~/Library/Application Support/CrashPlan/"
    • Version 8.0 and earlier
      sudo launchctl unload ~/Library/LaunchAgents/com.crashplan.engine.plist
      sudo chflags noschg ~/Applications/CrashPlan.app
      sudo chmod -R 755 "~/Library/Application Support/CrashPlan/"
  4. Open a Finder window and delete the following folder:  ~/Library/Application Support/CrashPlan/
    Inside this folder is a backupArchives directory that may contain inbound backups from another computer. If there is data in this folder, move it elsewhere.

Scripted uninstall for Mac and Windows

To perform an automated manual uninstall on Mac or Windows via script, use the following example scripts provided by our Professional Services team. 

Perform scripted uninstall under Customer Champion supervision
You should only use these uninstall scripts under the supervision of a Customer Champion. If run improperly, the scripts have the potential to cause harm to your system. 

Mac

Professional Services filename:  mac_uninstall.sh

Copied!
# The section below uninstalls Code42, if it is installed on the system.
if [[ -e /Library/Application\ Support/CrashPlan/ ]]; then
    launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist
    launchctl unload /Library/LaunchDaemons/com.code42.service.plist
    /Library/Application\ Support/CrashPlan/Uninstall.app/Contents/Resources/uninstall.sh
fi

# The section below removes the Code42 identity file. Uncomment the lines below if you wish to do a complete uninstall.
# rm -r /Library/Application\ Support/CrashPlan/

Windows

Windows Management Instrumentation (WMI) script

Professional Services filename:  win_uninstall_WMI.ps1

Copied!
# The section below uninstalls Code42, if it is installed on the system.
Stop-Service -Name "CrashPlanService"
Stop-Service -Name "Code42Service"
$PRODID = (Get-CIMInstance -Class Win32_Product | Where-Object {$_.Name -Match 'CrashPlan'}).IdentifyingNumber
Start-Process "msiexec.exe" -Wait -ArgumentList "/X $PRODID /norestart /qn"
$PRODID = (Get-CIMInstance -Class Win32_Product | Where-Object {$_.Name -Match 'Code42'}).IdentifyingNumber
Start-Process "msiexec.exe" -Wait -ArgumentList "/X $PRODID /norestart /qn"

# The section below removes the Code42 identity file. Uncomment the lines below if you wish to do a complete uninstall.
# Remove-Item -Path "C:\ProgramData\CrashPlan" -Recurse -Force

Windows Management Instrumentation Command-Line (WMIC) script

Professional Services filename:  win_uninstall_wmic.bat

Copied!
@ECHO off

REM The section below uninstalls Code42, if it is installed on the system.
sc stop CrashPlanService
sc stop Code42Service
waitfor NEVERSIGNAL /t 20 2> NUL
FOR /f "tokens=7" %%I IN ('WMIC product ^| findstr CrashPlan') DO start /wait msiexec /x %%I /q /norestart
FOR /f "tokens=7" %%I IN ('WMIC product ^| findstr Code42') DO start /wait msiexec /x %%I /q /norestart

REM The section below removes the Code42 identity file. Uncomment the lines below if you wish to do a complete uninstall.
REM rd /s /q C:\ProgramData\CrashPlan

exit

Related topics