A. Many times you get two versions of a program, one for 32-bit and one for 64-bit. I had this exact situation with the Data Protection Manager client and wanted to automate deployment through group policy. I therefore created the script below. Just change the actions to meet your needs.

@echo off<br>echo Detecting OS processor type<br><br>if "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto 64BIT<br>echo 32-bit OS<br>\\savdaldpm01\ProtectionAgents\RA\3.0.7558.0\i386\DPMAgentInstaller_x86 /q<br>goto END<br>:64BIT<br>echo 64-bit OS<br>\\savdaldpm01\ProtectionAgents\RA\3.0.7558.0\amd64\DPMAgentInstaller_x64 /q<br>:END<br><br>"C:\Program Files\Microsoft Data Protection Manager\DPM\bin\setdpmserver.exe" -dpmservername savdaldpm01.savilltech.net