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