Replace a device from the Code42 console


Replacing a device tells the Code42 agent to assume the ID of another device, swapping an old device with a new one in the Code42 environment. The new device continues backing up where the old one left off after:

  • Reformatting or replacing a device's hard drive
  • Moving to a new device (due to theft, loss, upgrade)

This article explains how to copy backed-up files from an old device onto a new device, then replace the old device.

  • This article applies to administrators working in the Code42 console.
  • This article does not apply if the administrator wants to transfer Windows user settings (USMT data) from one device to another.
  • This article does not apply to the insider risk agent.

For information about replacing an old device from the Code42 agent or migrating USMT data, select the appropriate article from Use Code42 to simplify device migration.


  • Administrators with the Org Admin or Cross Org Admin role can replace a device from the Code42 console.
  • Any archives associated with the new device before the replacement are discarded. Only the archives from the old device remain.

Before you begin

  • Install the Code42 agent on the new device and target the user home directory for backup.
    should only use a new installation of the Code42 agent when replacing a device.
Before you replace a device
Make sure that you first restore the old device's files to the new or reformatted device (step 1 of the instructions below). If you do not, then after replacement, the Code42 agent marks the missing files as deleted. You must then enable Display Deleted Files in order to restore files.

Replace a device from the Code42 console

To replace a device from the Code42 console, follow these steps:

  1. Device restore the user's files to the new device and move files from the restore folder to the original location.
  2. Sign in to the Code42 console as an administrator.
  3. Navigate to the new device's device details.
    1. Click Devices.
    2. Select the new device.
  4. From Actions, choose Replace device.
    Available devices from within the user's account are displayed.
  5. Select the old device to replace.
  6. Click Replace.
    The old device does not need to be online. It picks up the command the next time it connects to the Code42 cloud.

When the replacement is successful, the new Code42 agent install inherits the old device's backup archive and settings. In addition, the old device is deactivated and the user is signed out from that device.