As I've been rejected support (Gold Business Support) by McAfee due to running a 3rd party script (which I don't think is the problem here) I came here to get some help and hope that someone has an idea what's wrong?
I've been having some issues with script deployment using McAfee EPO, which deploys the files but fails the install with an unknown error (which is very helpful).
Anyway a little overview on what I am trying to achieve, in our company we have around 130ish odd Laptops that are currently off our domain (purposely) so group policy is a no. I been tasked to get those laptops Automatic Updates enabled via a script and deployed via McAfee EPO as it's the only link to those Laptops.
I have now created 5 different scripts each of them are different, but do the same thing changing a registry key value from 1 to 4. Simple! And all 5 scripts work perfectly on my test laptop locally.
Packaging the script up using "ePO.Endpoint.Deployment.Kit.9.6.0" and uploading it to the Master Repository to create a new Task all works well, until you run the task on that specific Laptop and all I get is failed to install the .zip file.
Now when running cmtrace.exe to look at the live "masvc_PXXXX.log" while deploying the task these error messages appear, the same time I receive the message on the McAfee Agent Monitor on the laptop "Error occurred while installing WINUPDAT1009.zip".
2017-01-23 14:13:40.198 masvc(1788.1876) Updater.Info: Script Event msg iEventId "0" iSeverity "4" iProductId "VIRUSCAN8800" iLocale "0000" iUpdateType "DAT" iUpdateState "8" iUpdateError "0" iNewVersion "8416.0000" iDateTime "20170123"
2017-01-23 14:13:40.199 masvc(1788.1876) policybag.Warning: returning default policy for section=AGENT\CONFIGURATION , key=AgentVersion , value=5.0.0
2017-01-23 14:13:40.436 masvc(1788.1876) Updater.Info: Script Event msg iEventId "0" iSeverity "0" iProductId "" iLocale "0409" iUpdateType "" iUpdateState "17" iUpdateError "0" iNewVersion "" iDateTime ""
2017-01-23 14:13:44.742 masvc(1788.1876) Updater.Info: Script Event msg iEventId "0" iSeverity "0" iProductId "EPOAGENT3000" iLocale "0409" iUpdateType "N/A" iUpdateState "1" iUpdateError "0" iNewVersion "N/A" iDateTime "N/A"
Hope someone can make sense out of these errors or are relating to the problem?
This is my Script which works perfectly fine locally.
File name: AutoUpdateEnabled.bat
:: Set path to current product folder
for %%x in (%*) do Set /A argC+=1
:: Get software package source directory and set as variable SRCDIR
for /f "delims=" %%a in ('cd') do @set SRCDIR=%%a
if %argC%==0 GOTO INSTALL
if %1==uninstall GOTO UNINSTALL
%comspec% /c %systemroot%\regedit.exe /s "%SRCDIR%\AutoUpdateEnabled.reg
Calls the reg file: AutoUpdateEnabled.reg
Windows Registry Editor Version 5.00
These are the steps I done to package those two files up.
Run the ePO Endpoint Deployment Kit, select folder with those two files in file in the remaining field in seen in screenshot and click build package.
On ePO upload it into the Master Repository and create a task with that deployment.
Hope someone can spot something I am doing wrong as I've been working on this for the last two weeks straight, and am at the point of running out of things to try.