:: AppSense/Citrix PVS private image CCA prep script :: Created by Jason Samuel - www.jasonsamuel.com :: This will stop the CCA service net stop "AppSense Client Communications Agent" :: This will wipe the CCA agent GUID in registry for group id reg add "HKEY_LOCAL_MACHINE\Software\AppSense Technologies\Communications Agent" /v "group id" /t reg_sz /d "" /f :: This will wipe the CCA agent GUID in registry for machine id reg add "HKEY_LOCAL_MACHINE\Software\AppSense Technologies\Communications Agent" /v "machine id" /t reg_sz /d "" /f pause