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:
Disk Image Backup: `IMAGEBACKUPENABLED`
Install Driver: `INSTALLDRIVER`
Yes - Proceed with Driver Installation
No - Install Driver later
Reboot: `REBOOT`
`1` - Enable
`0` - Disable
`"Force"` - Required if a reboot is needed
Example:
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.
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**.
Click Yes on the 'Force Group Policy Update' prompt window.
Alternatively, update the group policy in the AD Machine using the following command:
gpupdate /force
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:
Click on the Start button and choose Settings.
Type apps in the "Find a setting" search box.
Select Add or remove programs.
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.