thigley986
2009-12-26, 21:31
My goal is to install & run Spybot SD using a script that must run under Local System.
I am using a script to install Spybot and run a scan. The script must run under Local System. The installation completes, but does not install SpybotSD.exe. When I attempt to run the scan under Local System, it cannot locate the necessary SpybotSD.exe file. Strangely, when run from a user session, the program will run the scan despite the file not being in the directory (perhaps it is being dynamically generated?). Help?
===
if not exist "c:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" goto install
goto Scan
:Install
c:\maint_downloads\spybotsd162.exe /verysilent /nocancel /noicons
c:\maint_downloads\spybotsdincludes.exe /S
:Scan
"%ProgramFiles%\Spybot - Search & Destroy\SpybotSD.exe" /taskbarhide /autoupdate /autocheck /autofix /autoclose /immunize
:End
I am using a script to install Spybot and run a scan. The script must run under Local System. The installation completes, but does not install SpybotSD.exe. When I attempt to run the scan under Local System, it cannot locate the necessary SpybotSD.exe file. Strangely, when run from a user session, the program will run the scan despite the file not being in the directory (perhaps it is being dynamically generated?). Help?
===
if not exist "c:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" goto install
goto Scan
:Install
c:\maint_downloads\spybotsd162.exe /verysilent /nocancel /noicons
c:\maint_downloads\spybotsdincludes.exe /S
:Scan
"%ProgramFiles%\Spybot - Search & Destroy\SpybotSD.exe" /taskbarhide /autoupdate /autocheck /autofix /autoclose /immunize
:End