BDRCloud - Bulk Installation of Backup Agents - Group Policy Object (GPO) Deployment

BDRCloud - Bulk Installation of Backup Agents - Group Policy Object (GPO) Deployment

KB ID: 115219

Overview 

This guide provides a comprehensive walkthrough for deploying the BDRCloud Backup Agent on multiple Windows machines using bulk installation methods. The process involves downloading the agent, creating deployment scripts, and utilizing Active Directory (AD) Group Policy Objects (GPO) for seamless and automated deployment across an organization. The steps also include customization options for installation parameters, testing the deployment, and configuring backups.

Steps to Add Windows Machine through Bulk Agent Deployment in BDRCloud  

Downloading BDRCloud Backup Agent  

Before proceeding with the Bulk Agent installation method, ensure you logged in to the BDRCloud Backup Server. Navigate to Datasources -> Servers and Endpoints -> Add Host -> Windows -> Bulk Agent Installation and download the exe installer. Make sure the downloaded file is accessible in a shareable folder with full privileges.

Bulk Deployment using AD/GPO

Deployment Using Batch/PowerShell Script

1. Create a Batch script file (a PowerShell script can also be used).

   Example Script for deploying MSI through GPO wi1th customized user inputs:

@echo off

set folder="C:\Program Files\BDRCloud\BDRCloudDelegationService"

if not exist %folder% (

    start "" "\\192.168.105.102\C\BDRCloudExeBuild\BDRCloud_Delegation_Service.exe" /qn

)

exit /b

Customizable Property Values:

  1. Disk Image Backup: `IMAGEBACKUPENABLED`

  2. Install Driver: `INSTALLDRIVER`

    1.   Yes - Proceed with Driver Installation

    2.   No - Install Driver later

  3. Reboot: `REBOOT`

    1.   `1` - Enable

    2.   `0` - Disable

    3.   `"Force"` - Required if a reboot is needed

Example:

To customize for Disk Image, modify the batch script as follows:
start "" "\\192.168.105.102\C\BDRCloudExeBuild\BDRCloud_Delegation_Service.exe" /qn IMAGEBACKUPENABLED="1" INSTALLDRIVER="Yes" REBOOT="Force"

Deploying the Batch file through AD GPO  

1. Access Group Policy Management*on one of your Active Directory domain controllers.

2. Expand the domain object, right-click the Group Policy Objects folder, and choose New.

3. Provide a name like "BDRCloud_Delegation_Deployment" and click OK.

4. Right-click on the newly created policy and choose Edit.

5. Under Computer Configuration, expand Policies -> Windows Settings -> Scripts (Startup/Shutdown).

6. On the right side, double-click on Startup.

7. Proceed with Scripts for using a batch file (or select PowerShell Scripts if using a PowerShell file), then click Add and Browse.

8. When the browser window opens, copy and paste the `.bat` file. Do not alter the path, as it corresponds to the GPO path, and the script must be copied to this specific location.

9. Click OK twice to return to the main screen, confirming the GPO configuration.

Assigning the GPO to Specific Groups  

1. Access Group Policy Management on one of your Active Directory domain controllers.

2. Go to the Organizational Unit (OU) containing the computers where you want to deploy the BDRCloud_Delegation_Service_X_X_X_X.exe.

3. Right-click the required OU (e.g., DeveloperComp -> Computers), and choose Link an Existing GPO....

4. Choose the previously created Group Policy Object "BDRCloud_Delegation_Deployment" and click OK.

5. Perform a group policy update for the Organizational Unit: **DeveloperComp -> Computers -> Group Policy Update**.

  1. Click Yes on the 'Force Group Policy Update' prompt window.

  2. Alternatively, update the group policy in the AD Machine using the following command:

     gpupdate /force

Testing the Configuration  

1. Reboot the computer in the Organizational Unit (OU) where the linked Group Policy Object is applied.

2. Since the software installs silently, users won’t see any prompts during login. The installation occurs in the background without requiring any user interaction.

3. To confirm the installation of BDRCloud_Delegation_Service:

  1. Click on the Start button and choose Settings.

  2. Type apps in the "Find a setting" search box.

  3. Select Add or remove programs.

  4. Search for or locate BDRCloud_Delegation_Service in the list.

4. The BDRCloud_Delegation_Service should also be running in the system tray. Right-click the Tray icon and select Status... to confirm.

Configure Backup  

  1. Backup agents will automatically establish a connection to the BDRCloud Server and appear on the BDRCloud server's Datasource page.
  1. Once the host is successfully listed, you can configure backups from the 'Backup -> Configure Backup' menu.