Install Agent to New Machine

Product Name: Install Agent to New Machine
Description : This agent procedure will install an agent into a new machine using its IP address.
When the agent procedure is scheduled, it will prompt for a username (domain\username or IP\username), a password and an ip address. If all the information is correct, it will download the default package as well as the kconnect.exe file (required to install an agent into a different machine) and will perform the installation.
Once done it will cleanup all the extra files that were created.
It is possible to set a static username and password by deleting lines 3 and 4. The username and password would have to be included in the command line 20 (which would become 18) instead of #UserName# and #Password#
Instructions :
Upload the procedure with the Import Folder/Procedure tool in the Agent Procedures module under Schedule / Create
Comments
-
Great Script
It would be good to have the possibility of deploying the temporary agents as well, that are available for 24h's
0 -
I'm not sure how this procedure works. The only way I know to execute a procedure is if I have a machine selected that already has an agent, which defeats the purpose of the procedure.
0 -
This agent procedure will install an agent into a new machine using its IP address.
When the agent procedure is scheduled, it will prompt for a username (domain\username or IP\username), a password and an ip address. If all the information is correct, it will download the default package as well as the kconnect.exe file (required to install an agent into a different machine) and will perform the installation.0