CAF setcomputername command fails

Document ID : KB000046912
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue: 

'Caf setcomputername <name>' command fails with error: "This setting cannot be changed because it is controlled by DSM policy..... "

Environment:  

All versions of CA Client Automation

Resolution:

This error occurs when the ‘Default Computer Policy->Agent->Use the operating system name for the agent’ configuration policy parameter is set to ‘True’.

UseOSName Policy.jpg

Set this policy to ‘False’ for the ability to set the computer name using the ‘caf setcomputername <name>’ command.