To reregister a Windows VM clone and adjust the golden image for future clones, perform the following procedure.

See also Manage Windows Sensors by using RepCLI.

Procedure

  1. Log in to the clone VM. For example, WIN10_X64_VDI.
  2. Run the repcli reregister command:
    repcli reregister now

    The clone VM is reregistered and the problem is remediated.

  3. Log in to the parent VM where the Carbon Black sensors are installed. For example,WIN10_X64_GOLDEN.
  4. Complete the background scan and verify that the policy is updated by using the RepCLI Status command:
    repcli status
  5. Schedule the reregistration for the clone VM. Use the following repcli reregister command. and replace GOLDEN with the computer name of the parent VM.
    if /i %computername% == GOLDEN (echo Skipping reregistration) ELSE ("C:\Program Files\Confer\RepCLI.exe" reregister now) > C:\Temp\CB_reregister.txt

    For example:

    if /i %computername% == WIN10_X64_GOLDEN (echo Skipping reregistration) ELSE ("C:\Program Files\Confer\RepCLI.exe" reregister now) 
  6. Create clones from the golden image.

    The next time you log in to the clone VM, the scheduled command runs and registers the cloned VM.

  7. Log in to the new clone VM. The clone VM is registered as separate device and is assigned a new device ID.