How can I run a SEP scan as SYSTEM?
I need to be able to run a SEP scan from a Windows Service, whether or not any users are logged on. Unfortunately, any attempts to run DoScan.exe under the SYSTEM account fail (I have tried this with my service, PSExec, and Task Scheduler). DoScan fails very quickly with exit code 2.
How can I accomplish this? Is there another executable I can run to start a scan? Is there a way to get DoScan to work under the SYSTEM account?
I'm using Windows 7 and SEP 12.1