To reregister a Windows VM clone and adjust the golden image for future clones, perform the following procedure.
Procedure
- Log in to the clone VM. For example, WIN10_X64_VDI.
- Run the
repcli reregister
command:
The clone VM is reregistered and the problem is remediated.
- Log in to the parent VM where the Carbon Black sensors are installed. For example,WIN10_X64_GOLDEN.
- Complete the background scan and verify that the policy is updated by using the RepCLI Status command:
- 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)
- 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.
- Log in to the new clone VM. The clone VM is registered as separate device and is assigned a new device ID.