-
Notifications
You must be signed in to change notification settings - Fork 23
Using with McAfee ePO
Rob Gresham edited this page May 12, 2015
·
1 revision
When using with McAfee ePO use the following script style to ensure it works correctly.
@echo off :: Set path to current product folder
pushd "%~dp0"
:: Get software package source directory and set as variable SRCDIR
SET SRCDIR= for /f "delims=" %%a in ('cd') do @set SRCDIR=%%a %compsec% "%SRCDIR%\program.exe" /12345
Exit /B 0
To test it as SYSTEM account: Download PSEXEC.exe from systinternals and open a system prompt: psexec.exe /s /i cmd.exe the dos prompt that opens runs as local system (try the whoami command).