Data Center Security

 View Only
  • 1.  Trying to create a script to auto enrole agent into group

    Trusted Advisor
    Posted Jun 06, 2017 12:39 PM

    Does anyone have a batch file script to auto enrole the agent into a security group from installation? 

    I've been trying using a script like below the agent installs on the machine fine but does not auto enrole into the security group. 

    agent.exe /s /v"MANAGEMENT_SERVER=<server ip> AGENT_PORT=PORT_NUMBER SSL_CERT_FILE=C:\agent-cert.ssl AGENT_SECURITY_GROUP=<security group name> -l*v+! C:\agent-install.log /qn"



  • 2.  RE: Trying to create a script to auto enrole agent into group
    Best Answer

    Posted Jun 07, 2017 02:05 PM

    Try creating a security group without spaces like: Windows_2008

    Then test it. If your security group conains spaces try to using quotes.

     



  • 3.  RE: Trying to create a script to auto enrole agent into group

    Trusted Advisor
    Posted Jun 08, 2017 04:58 AM

    The under scores worked for some reason it didn't like the spaces even in quotes