Move Deployment Group using CcaCmd.exe

Version 2

    Introduction

    This article is intended to demonstrate how you can move endpoints between deployment groups using the CcaCmd.exe utility provided with the installation of the Client Communications Agent, also known as the Deployment Agent.

     

    Detail

    It is possible to script the movement of endpoints between deployment groups using the CcaCmd.exe utility that gets installed with the Deployment Agent. The executable is normally located in the following folder:

     

    C:\Program Files\AppSense\Management Center\Communications Agent\

     

    By running the following commands within an elevated command prompt, the machine on which they are run will be moved into the NewGroup deployment group.

     

    ccacmd.exe /unregister

    reg delete "HKLM\Software\AppSense Technologies\Communications Agent" /f

    net start "AppSense Client Communications Agent"

    ccacmd.exe /url http://ManagementServerFQDN:7751 NewGroup

    net stop "AppSense Client Communications Agent"

    net start "AppSense Client Communications Agent"

     

    Note 1: The Allow unregistration option MUST be enabled in the original deployment group.

    Note 2: The Allow self-registration option MUST be enabled in the target deployment group.