PDA

View Full Version : Spybot Command Line



goddessdawnie
2008-10-21, 22:59
I'm attempting to run Spybot in a batch file. I want it to update, immunize, scan, fix errors, then close.

What is wrong with this command?

"C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /autoupdate /autoimmunize /autofix /taskbarhide /autoclose

It just hangs. If I take out the /taskbarhide so I can see what it's doing, it updates then opens the program and sits there. Doesn't immunize and doesn't scan.

I tried the following in a BATch file:

"C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /autoupdate /autoclose
"C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /autoimmunize /autoclose
"C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /autofix /autoclose

That updated, then opened the program and sat there till I closed out
Immunized, then opened the program and sat there till I closed out
Finally scanned, fixed, and prompted me with the items fixed. I still had to close out manually.

What am I doing wrong? Is there an easier way to do this? I need it to update, immunize, and scan without user input, because it's to be run automatically overnight.

Thanks,

Dawn

md usa spybot fan
2008-10-22, 05:45
goddessdawnie:

To scan add the /autocheck parameter. See:
Are there any command line parameters?
http://www.safer-networking.org/en/faq/30.html

PepiMK
2008-10-22, 20:08
And you can use SDUpdate.exe directly for updates, no need to go through the main executable :)
Command line parametes for SDUpdate.exe (http://wiki.spybot.info/index.php/Category:Command_line_parameters_%28Spybot_-_Search_%26_Destroy_-_Updater%29)