Run the script in multiple computers using startup script of Active Directory
You can install an agent in your client computers using the startup script of the Active Directory. This is done by running a script in multiple computers adding the start up script of the Active Directory in your client computers.
To install agents in client computers using a GPO, follow the steps given below:
Note: Ensure that you complete the steps given below in a Domain Controller setting. You can map the script to a domain even if you have installed Browser Security Plus agents in a few client computers. The script will install the agent only in the computers in which the agent is not installed.
- Download the Zip file and extract it. Follow the below steps to download the agent from Browser Security Plus server:
- Navigate to Agent tab
- Click on Scope of Management
- Click on Download Agent
- Save the .msi and .JSON file in the network share that you have created.
- Click on start>Run, enter gpmc.msc and click OK
- Right click the domain to select, create and link a GPO here
- Specify a name for the GPO
- Select the GPO
- Note: If you want to install the agent in only a few client computers, follow the steps given below. To install the agent in all your client computers skip these steps.
- Click on the Scope tab
- Under Security Filtering section, click Add
- In the Select User, Computer, or Group dialog box, click Object Types
- Select specific computer object types
- Click OK
- Specify the computer names
- Click on Check Names
- Click OK
- Right click the GPO and click on Edit.
- For executing VBScript, follow these steps.
- Expand Computer Configuration --> Policies --> Windows Settings --> Scripts
- Right click Startup and click Properties
- Click Show Files
- Drag and drop the InstallAgent.vbs "BrowserSecurityPlusAgent.msi" to this location and Copy the location (\\Domain name\SysVol\Domain name\Policies\{ID}\Machine\Scripts\Startup) and close.
- In the Startup Properties dialog box, click Add
- Browse and navigate to the location (\\Domain name\SysVol\Domain name\Policies\{ID}\Machine\Scripts\Startup) and select the InstallAgent.vbs script or specify the path (copied location) and the script as mentioned below: (\\Domain name\SysVol\Domain name\Policies\{ID}\Machine\Scripts\Startup)\InstallAgent.vbs
- specify the script parameters as mentioned below: "BrowserSecurityPlusAgent.msi"
Note : As an alternative to the execution of VBscript, you can execute PowerShell script for agent installation using GPO.
- For executing PowerShell script, follow these steps
- Ensure if PowerShell is enabled in all the client computers before execution of this script.
- Expand Computer Configuration --> Policies --> Windows Settings --> PowerShell scripts
- Right click Startup and click Properties
- Click Show Files
- Drag and drop the PSInstallAgent.ps1 BrowserSecurityPlusAgent.msi to this location and copy the location (\\Domain name\SysVol\Domain name\Policies\{ID}\Machine\Scripts\Startup) and close.
- In the Startup Properties dialog box, click Add
- Browse and navigate to the location (\\Domain name\SysVol\Domain name\Policies\{ID}\Machine\Scripts\Startup) and select the PSInstallAgent.ps1 script or specify the path (copied location) and the script as mentioned below: (\\Domain name\SysVol\Domain name\Policies\{ID}\Machine\Scripts\Startup)\PSInstallAgent.ps1
- specify the script parameters as mentioned below: "BrowserSecurityPlusAgent.msi"
- Click OK to close the Add a Script dialog box
- Click OK to close the Startup Properties dialog box
- Close the Group Policy Object Editor
- Close the Group Policy Management dialog box
Note : The script mentioned will be applicable only to computers group and this cannot be used to the entire domain.
The script will be executed when the client computers reboot next. After the execution of the script, Browser Security Plus agents will be installed automatically in all the client computers.
Notes: