Deploying Block 64 Discovery Agent via Group Policy
This guide will walk you through how to deploy the Block 64 Discovery Agent .MSI using a Group Policy Object (GPO) in an Active Directory environment. Please follow all instructions carefully to ensure a successful deployment.
Step 1: Get Your Customized GPO Script
To begin, contact your Block 64 Technical Agent or your designated partner to obtain:
-
The tailored GPO deployment script
-
The Block 64 Agent MSI installer
⚠️ Important: Using the PowerShell script requires your environment to allow PowerShell execution, as well as application download and installation permissions on target devices.
Step 2: Prepare the Domain Controller
-
Copy the script and Agent MSI to a shared network location accessible to all users at logon.
-
Example:
C:\WINDOWS\SYSVOL\domain\scripts
-
-
✅ Ensure both the script and the MSI are in the same location.
⚠️ Important Notes:
-
You must be a member of the Domain Administrators security group.
-
Do not include spaces in the script filename or path.
✔️ Use:Discovery_Agent_Script.bat
❌ Avoid:Discovery Agent Script.bat
If spaces are unavoidable, enclose the path in double quotes when creating the GPO.
Step 3: Create a New Group Policy Object (GPO)
-
Open the Group Policy Management Console (GPMC):
-
Click Start → Administrative Tools → Group Policy Management.
-
-
Navigate to: Forest > Domains > [Your Domain]
-
Right-click on Group Policy Objects and choose New.
-
Name your new policy and leave Source Starter GPO as (none).
-
Right-click your new GPO, choose Properties, and go to the Security tab.
-
Configure permissions:
-
Clear "Apply Group Policy" for groups that should not receive the policy.
-
Select "Apply Group Policy" for groups that should receive the policy.
-
Click OK to save.
-
Step 4: Assign a Computer Startup Script
-
In Group Policy Management Console, right-click your GPO and select Edit.
-
Navigate to:
Computer Configuration > Policies > Windows Settings > Scripts (Startup/Shutdown) -
In the right pane, double-click Startup.
-
In the Startup Properties dialog box, click Add.
-
In the Add a Script dialog box:
-
Script Name: Enter the full network path to the script
✔️\\network\sharedfolder\Discovery_Agent_Script.bat
❌C:\sharedfolder\Discovery_Agent Script.bat
-
Script Parameters: Leave this field blank.
-
-
Click OK to save your changes.
Step 5: Link the GPO to Your Domain
-
In Group Policy Management, right-click the desired container or OU (Organizational Unit).
-
Select Link an Existing GPO, then choose the GPO you created.
✅ Once linked, the script will run when any device in the selected domain or OU reboots, triggering the installation of the Block 64 Discovery Agent.
Final Notes
-
Confirm that client devices have read access to the shared folder.
-
Validate deployment by checking installed programs or reviewing event logs after a reboot.
-
The script and MSI can be removed from the share once the agent is installed across all intended devices.