Run the script in multiple computers using startup script of Active Directory
If you have an Active Directory setup, you can add this as a startup script in all the client computers as below:
Note: If you have already installed the UEM Central MSP agents in few of the computers, you can still map the script to the whole domain/OU. The script has the intelligence to install the agent only to the computers where the agent is not installed and will skip the rest.
- Create a network share (eg. \\MyServer\MyShare).
- Download the appropriate DesktopCentral Agent Zip by clicking the Download Agent link in the Customers page of the UEM Central MSP client. Extract and save the DesktopCentralAgent.msi and DesktopCentralAgent.mst in the network share (created in step 1)
- Start -> Run -> gpmc.msc
- Right-click the domain and select "Create and Link a GPO here"
- Specify a name for the GPO
- Select the GPO from the tree.
- Select the Scope tab.
- Click the Add button in the Security Filtering to specify the computers
- Click the Object Types button in the "Select User, Computer, or Group" dialog and select Computers object type and click OK.
- Specify the computer names and click Check Names to add the required computers.
- Click OK to close the "Select User, Computer, or Group dialog"
- Right-click the GPO and select Edit.
- Expand Computer Configuration --> Windows Settings --> Scripts
- Right-click Startup and select properties.
- Click Show Files and drag and drop the InstallAgent.vbs (download the .txt file and rename it as .vbs) to this location and close.
- In the Startup Properties dialog, click Add.
- Specify the script name as mentioned below: \\MyServer\MyShare\InstallAgent.vbs script This refers to the shared location where you have stored the UEM Central MSP Agent.
- Specify the Script Parameters as, DesktopCentralAgent.msi DesktopCentralAgent.mst
- Click OK to close the Add a Script dialog
- Click OK to close the Startup Properties dialog
- Close the Group Policy Object Editor
- Close the Group Policy Management dialog.
The script will be executed when the client computers reboot next. After the execution of the script, the UEM Central MSP agents is automatically installed in all the client computers.
Notes
- Set the file association properties of .vbs files to Microsoft Windows (r) based script host in all the client computers. This ensures that the script is executed successfully. Do not modify the file association properties to open in a text editor as the execution of the script will fail.
- You can leave the UEM Central MSP GPO object installed indefinitely to ensure that the agent is installed in future client computers.
- This will not re-install the agent that is already installed as the script is programmed to ensure that it doesn't re-install agents that are already installed. This will not cause any problems during startup.
You have now installed an agent in client computers using a GPO.
Run the script in multiple computers using startup script of Active Directory
If you have an Active Directory setup, you can add this as a startup script in all the client computers as below:
Note: If you have already installed the UEM Central MSP agents in few of the computers, you can still map the script to the whole domain/OU. The script has the intelligence to install the agent only to the computers where the agent is not installed and will skip the rest.
- Create a network share (eg. \\MyServer\MyShare).
- Download the appropriate DesktopCentralAgent.msiby clicking the Download Agent link in the Customers page of the UEM Central MSP client. Save the DesktopCentralAgent.msi in the network share (created in step 1)
- Start -> Run -> gpmc.msc
- Right-click the domain and select "Create and Link a GPO here"
- Specify a name for the GPO
- Select the GPO from the tree.
- Select the Scope tab.
- Click the Add button in the Security Filtering to specify the computers
- Click the Object Types button in the "Select User, Computer, or Group" dialog and select Computers object type and click OK.
- Specify the computer names and click Check Names to add the required computers.
- Click OK to close the "Select User, Computer, or Group dialog"
- Right-click the GPO and select Edit.
- Expand Computer Configuration --> Windows Settings --> Scripts
- Right-click Startup and select properties.
- Click Show Files and drag and drop the InstallAgent.vbs (download the .txt file and rename it as .vbs) to this location and close.
- In the Startup Properties dialog, click Add.
- Specify the script name as mentioned below: \\MyServer\MyShare\InstallAgent.vbs script This refers to the shared location where you have stored the UEM Central MSP Agent.
- Specify the Script Parameters as, DesktopCentralAgent.msi
- Click OK to close the Add a Script dialog
- Click OK to close the Startup Properties dialog
- Close the Group Policy Object Editor
- Close the Group Policy Management dialog.
The script will be executed when the client computers reboot next. After the execution of the script, the UEM Central MSP agents is automatically installed in all the client computers.
Notes
- Set the file association properties of .vbs files to Microsoft Windows (r) based script host in all the client computers. This ensures that the script is executed successfully. Do not modify the file association properties to open in a text editor as the execution of the script will fail.
- You can leave the UEM Central MSP GPO object installed indefinitely to ensure that the agent is installed in future client computers.
- This will not re-install the agent that is already installed as the script is programmed to ensure that it doesn't re-install agents that are already installed. This will not cause any problems during startup.
You have now installed an agent in client computers using a GPO.