I need to run Symantec Endpoint Protection scans on Windows 7 systems using the SYSTEM account. I know that I can run DoScan.exe to manually run a scan, and this works fine using a regular user account. Unfortunately, when I try to run DoScan as SYSTEM, the application exits immediately (exit code: 2) without running a scan.
Is there a way that I can get this to work, or another application besides DoScan.exe that I should be using?
Note: I'm using SEP 12.1 RU1
If you set up a scheduled scan within the SEP user interface, it should run as
SYSTEM
by default. This may not work in your case, because it sounds like you are trying to launch scans on demand via some kind of an external trigger.DoScan.exe
cannot be made to run asSYSTEM
.Fortunately, there is no particular reason why you need to run it under that account. I would suggest setting up a service account (e.g.
svc_sep
) with local administrator privileges. If you're on a domain, you can makesvc_sep
a member of the local Administrators group on each computer automatically, by using a Restricted Groups policy.I believe PSExec has the -s switch, which allows you run the remote process as System account.
Example:
Does running a scan require network access? Try running DoScan as
NETWORK SERVICE
instead ofSYSTEM
.