Skip to main content
Code42 Support

Stop and start the Code42 app service

Available in:

StandardPremiumEnterprise
Small Business
Applies to:

Overview

This tutorial explains how to stop and start the Code42 app's Code42 service. You may need to stop and start the Code42 service to upgrade your operating system, to move a Code42 app user to another device, or as part of a task with a Customer Champion.

This article describes the steps for the Code42 app only. For information on stopping and starting the Code42 server, see Stopping And Starting The Enterprise Server.

Considerations

The Code42 for Enterprise software on your device consists of two components:

  • A service, the Code42 service, that performs all backup operations in the background
  • A desktop application, the Code42 app, for viewing the status of your backup and changing settings

If you quit the Code42 app, the Code42 service continues to run. These instructions describe how to stop and start the Code42 service.

Basic restart for all operating systems

If you are able to open and sign in to the Code42 app, follow the steps below to restart the Code42 service.

  1. Open the Code42 app.
  2. If necessary, sign in to your account.
  3. Use the keyboard shortcut for your operating system:
    • Windows: Ctrl+Shift+C
    • Mac: Option+Command+C
    • Linux: Ctrl+Shift+C
      The command-line area opens.
  4. Enter this command:
    restart
  5. Press Enter.
    This closes the Code42 app, reauthenticates the Code42 app with the Code42 server, and then restarts the Code42 service.

Advanced restart process

If you are not able to open the Code42 app, follow the steps below to restart the Code42 service.

  • If you installed the Code42 app for everyone (the default method), follow the default installation steps for your operating system.
  • If you installed the Code42 app per user, follow the per user installation steps for your operating system.

Mac default installation (for everyone)

Go to Go > Utilities > Terminal and enter the commands below to stop or start the Code42 service:

  • Stop: sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist
    When prompted, enter your password. The password doesn't display as you enter it.
    Stop crashplan service example command
  • Start: sudo launchctl load /Library/LaunchDaemons/com.crashplan.engine.plist

You may also confirm whether or not the Code42 serviceis running on a Mac.

Mac per user installation (for me only)

If you installed the Code42 app per user (instead of for all users, the default method), use the following commands to stop and start the Code42 service:

Stop launchctl unload ~/Library/LaunchAgents/com.crashplan.engine.plist
Start launchctl load ~/Library/LaunchAgents/com.crashplan.engine.plist

You may also confirm whether or not the Code42 serviceis running on a Mac.

Windows default installation (for everyone)

  1. Open Windows Services:
    • Windows 7 and 10: Click Start and enter services.msc.
    • Windows 8: Press Ctrl+Shift+Esc to open the Task Manager and select the Services tab.
  2. Right-click Code42 CrashPlan Backup Service and click Stop, Start, or Restart, as appropriate.

Windows per user installation (for me only)

If the Code42 app is installed per user (instead of for everyone, the default method), use the following commands to stop and start the Code42 service:

Stop the Code42 service

  1. Open Windows Task Manager:
    • Windows 7 and 10: Click Start and enter Task Manager.
    • Windows 8: Press Ctrl+Shift+Esc to open the Task Manager.
  2. Click Processes.
  3. Choose the Code42 CrashPlan Backup Service.
  4. Select End Task.

Start the Code42 service

  1. Open Windows Task Manager:
    • Windows 7 and 10: Click Start and enter Task Manager.
    • Windows 8: Press Ctrl+Shift+Esc to open the Task Manager.
  2. Click File.
  3. Select Run New Task.
  4. Paste the following into the Open dialog, or Browse to this location, replacing <username> with your Windows user name:
    C:\Users\<username>\AppData\Local\Programs\CrashPlan\CrashPlanService.vbs
  5. Click Ok.

Restart on Linux

A script to start and stop the Code42 app is stored in the crashplan/bin directory. The default directory is /usr/local/crashplan/bin.

In a terminal session, navigate to the crashplan/bin directory, then enter:

Stop ./CrashPlanEngine stop
Start ./CrashPlanEngine start

Some Linux systems (e.g., Debian-based distributions) allow you to process the stop and start triggers with an init.d script.

After starting the Code42 service, open the Code42 app. If you do not have a shortcut to open the Code42 app, you can open it from terminal with the following command:

sudo /usr/local/crashplan/bin/CrashPlanDesktop

Mac: View status of the Code42 service

Use this command to view if the Code42 service is running:

ps auxww | grep -i CrashPlanService

If the Code42 service is running, the output looks like this:

c42-dhcp-183:~ renee$ ps auxww | grep -i crashplanservice
root        63   0.1  6.1   873644 126976   ??  SNs  Tue03PM  43:01.37 /System/Library/Frameworks/JavaVM.framework/Commands/java -Dapp=CrashPlanService -Xmn10m -Xms15m -Xmx512m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -DCP_USER_NAME= -DCP_USER_HOME= -cp lib/com.backup42.common.jar:lib/com.backup42.service.jar:lib/com.code42.backup.jar:lib/com.code42.bplusj.jar:lib/com.code42.messaging.jar:lib/com.code42.os.jar:lib/com.code42.peer.jar:lib/com.code42.utils.jar:lib/com.jniwrapper.jniwrap.jar:lib/com.jniwrapper.macpack.jar:lib/com.jniwrapper.winpack.jar:lib/jtux.jar:lib/trove-2.0.1.jar:lang com.backup42.service.CrashPlanService
renee     3256   0.0  0.0   590472     84 s001  R+    2:11PM   0:00.00 grep -i crashplanservice

If the Code42 service is not running, the output looks like this:

c42-dhcp-183:~ renee$ ps auxww | grep -i crashplanservice
renee     3265   0.0  0.0   599780    444 s001  R+    2:13PM