I have two policies linked to an OU with all of our user's PC's. They are linked in the following order:
Computer Settings Disabled.
Logon script with batch file that will find the older Barracuda Outlook Add-in(220.127.116.11) and uninstall it using "msiexec /x" command
Assigned Software to install the Latest Barracuda Outlook Add-in 18.104.22.168
Logon Script with Batch file to install latest Barracuda Outlook Add-in(22.214.171.124) at logon using "msiexec /i /quiet"
I already tested the logon Scripts and they are working. I confirmed that my Test PC is having all the Policies applied by using gpresult /r.
The problem is that it takes a LONG time for the Add-in to install. After gpupdate /force, and a reboot and a login, it can take up to 5 minutes for it to install. If i were to open outlook anytime before these 5 minutes are up, it would corrupt the install of the Add-in and then i would have to manually uninstall /reinstall to force it.
When i have pushed older versions of the Outlook Add-in in the past, it would never take this long using the same senario.
Now I have notice that on every PC, when i run RSOP.MSC, I can still see the Older Barracuda Add-in ver. 3.6 still listed in Computer Configuration/Software Settings/Software Installation:
I have tried opening up gpedit.msc on the local machine and it is not showing up at all in the local policy. But for some reason it does in RSOP.msc
Its very strange and NO-Where in my domain/GPO's is the older add-in (126.96.36.199) software assigned to any policy.
I have a feeling that this is whats causing all the slow installation issues.
any ideas for me?
Below you will find both scripts just so you can determine if its the way the scripts are written thats causing the issue or not:
(Barracuda Uninstall Older version(188.8.131.52)script)
call :GetFileVersion FileVersion "C:\Program Files (x86)\Barracuda\Message Archiver\Outlook Add-In\BmaSearch.exe"
" goto Uninstall
call :GetFileVersion FileVersion "C:\Program Files\Barracuda\Message Archiver\Outlook Add-In\BmaSearch.exe"
" goto Uninstall
echo BmaSearch.exe not found in a version that needs uninstalling.
echo Uninstalling Barracuda Add-In ...
msiexec.exe /x "\\mydomain.local\SysVol\Q
:GetFileVersion <ByRef Variable> <Path>
if not exist "%__FilePath%" (
wmic.exe DataFile WHERE Name='%__FilePath:\=\\%' GET Version /format:list >"%TempFile%"
for /f "delims=" %%a in ('type "%TempFile%" ^| find.exe "="') do (
for /f "tokens=1* delims==" %%u in ("%%a") do set __FileVersion=%%v
echo '%~2': %__FileVersion%
Barracuda Install Latest Outlook Add-in (184.108.40.206)
REM check if Barracuda Add-In is already installed
if exist "C:\Program Files (x86)\Barracuda\Message Archiver\Outlook Add-In\BmaSearch.exe" (
) else (
if exist "C:\Program Files\Barracuda\Message Archiver\Outlook Add-In\BmaSearch.exe" (
REM INSTALL ADDON
msiexec /i \\mydomain.local\SysVol\Qp
Yes i have already opened up a case with barracuda but i doubt they will be any help here since its clearly a GPO/Microsoft issue