looking for a way to automate 2-3 virus scanners

Post your handy scripts here, or any requests for help in creating a script.
Forum rules
1. Try to give more than you take, when possible.
2. Always wrap code in
Code: Select all
 tags
so it doesn't wrap the lines, and for the one-click select all feature.

looking for a way to automate 2-3 virus scanners

Postby jessebarto » Wed May 15, 2013 12:46 pm

subject says it all. does anyone know of a way or any tools to use to automate 2-3 virus/malware scanners. im in and out of the office a lot and this would help cover a lot of ground while im gone. thanks!
jessebarto
 
Posts: 70
Joined: Fri May 10, 2013 12:46 pm

Re: looking for a way to automate 2-3 virus scanners

Postby GEGeek » Wed May 15, 2013 12:50 pm

This might fit the bill - Read the help section on the site. There are many bat files you can play with.
http://www.multi-av.thespykiller.co.uk/
Hope this is what you were looking for.
Mike
GEGeek - I don't reinvent the wheel, I just link to it.
Image
http://www.gegeek.com
GEGeek
 
Posts: 158
Joined: Wed Feb 13, 2013 8:20 am
Location: NJ

Re: looking for a way to automate 2-3 virus scanners

Postby jessebarto » Wed May 15, 2013 1:00 pm

is this somthing i can set to run the scanners and walk away for a couple hours?
jessebarto
 
Posts: 70
Joined: Fri May 10, 2013 12:46 pm

Re: looking for a way to automate 2-3 virus scanners

Postby GEGeek » Wed May 15, 2013 1:07 pm

Wasn't designed for that but I'm sure looking at the batch files they use you could come up with something.
Depends on how important this is to you and how much work you are willing to invest.
Mike
GEGeek - I don't reinvent the wheel, I just link to it.
Image
http://www.gegeek.com
GEGeek
 
Posts: 158
Joined: Wed Feb 13, 2013 8:20 am
Location: NJ

Re: looking for a way to automate 2-3 virus scanners

Postby Marshall » Wed May 15, 2013 1:12 pm

If I can come up with something I will jesse, but I have to wonder...what will you do if a scan hit's a false positive, and deletes it automatically.

Crippling Windows, or a client app that is critical to their business?
Help Me With My Computer Tech
IT Services & IT Consulting Services In Southern IL and St. Louis MO
User avatar
Marshall
 
Posts: 509
Joined: Thu Feb 14, 2013 3:14 am

Re: looking for a way to automate 2-3 virus scanners

Postby jessebarto » Wed May 15, 2013 1:17 pm

i have backups on all the computers i work on. i tend to do a lot of virus cleanups all in all, and i manage lots of networks that require me to be onsite often and it puts me in a bind when my bench is full. was basically just looking for 2-3 scanners that i can let run one after another until i get back which is 1-3 hours most times. was hoping for spybot to be my ace in the hole but it does not want to go automatically. wants me to update, install, and start the scan manually. any ideas? really just looking for somthing i can use in conjunction with a2 so i may leave my office for extended periods of time. thanks
jessebarto
 
Posts: 70
Joined: Fri May 10, 2013 12:46 pm

Re: looking for a way to automate 2-3 virus scanners

Postby GEGeek » Wed May 15, 2013 1:33 pm

As another quick fix solution you might want to consider creating a recovery partition that will restore the system from a boot up menu option. I've done this on a few machines and it works great. http://www.rmprepusb.com/tutorials/clonezilla
Just another option for you. It's not for all machines. You always get the boot up menu no matter how infected they are. Could buy you some time until you can get onsite to effect repairs.
Mike
GEGeek - I don't reinvent the wheel, I just link to it.
Image
http://www.gegeek.com
GEGeek
 
Posts: 158
Joined: Wed Feb 13, 2013 8:20 am
Location: NJ

Re: looking for a way to automate 2-3 virus scanners

Postby Marshall » Wed May 15, 2013 2:11 pm

Consider pulling the drives, so that you can have an AV dedicated computer perform multiple scan's on all of the drives based on schedules.
Please note though that scanning with multiple tools at once can at times cause problems, so your experiences may vary when doing so.

Also consider developing a d7 PE Environment that you can pop cd's into your systems and perform your removal tasks there.

As far as automating it so that you can keep the systems running while you're out of the office, I totally feel your pain there.

What has helped me the most thus far is to automate all of my pre-removal procedures so that if I'm running a Quick Removal, everything up to the actual tool like Malwarebytes, SAS, etc. run's auto no input required. This excludes d7s MalwareScan. Once the Mbam scan kick's off I know that I'll have an 1-2hrs waiting on it to finish. SAS can be about the same, although I feel like it finishes faster than Malwarebytes (I don't have a way to automate it for you, sorry).

I would suggest that you start your primary scan with an AV tool that you know will take the bulk time up front..like Emsisoft a2cmd, Avast aswMBR, or ClamAV...Some Command Line Scanners are listed below...

Avira Command Line Scanner http://www.avira.com/en/download/product/avira-command-line-scanner-scancl
--alldrives
--allhard
--allremote
--dmse
--nombr
--allboot
--boot=str
--fixallboot
/x, --smartextensions
e, --extensionlist
/a, --allfiles
--exclude=str
--showall
/z, --scanarchive
--help


F-Prot
- Usage of Command Line options is covered here: http://www.f-prot.com/support/windows/fpwin_faq/445.html

AVG (may not work with AVG 2013 Command Line Scanner in Safe-mode) read more here: http://www.avg.com/ww-en/faq.pnuid-1285111443
AVG scan can be also started from the commandline (both in Windows and DOS environment) without user interface. This can be used to call and execute the scan from other applications (e.g. Windows Scheduler, Winrar, ...).
AVG scan executable file is located in the installation folder under name avgscana.exe or avgscanx.exe (Default installation folder is C:\Program Files\AVG\AVG10). The avgscan?.exe needs to be started with parameters to specify setting for the scan. You can get list of all parameters by starting it with the /Help parameter or see the following list:
/SCAN - starts scan. You need to specify path to be scanned. e.g. /SCAN=path;path/
/COMP - starts scan of the whole computer
/HEUR - toggles use of heuristic analysis
/EXCLUDE - will exclude path or files from scan e.g. /EXLUDE=path;path/
/@ - specifies path to text file that contains parameters for scan
/EXT - specifies extensions to be scanned e.g /EXT=EXE,DLL/
/NOEXT - exludes extensions from scan e.g. /NOEXT=JPG/
/ARC - toggles archives scanning
/CLEAN - toggles automatic healing
/TRASH - move infected files to the Virus Vault
/QT - starts only Quick test
/LOG - generates a scan result file
/MACROW - toggles macros reportiong
/PWDW - toggles password-protected files reporting
/ARCBOMBSW - toggles archive bombs (repeatedly compressed archives) reporting
/IGNLOCKED - Ignores locked files
/REPORT - saves report to a file specified file
/REPAPPEND - append to the report file
/REPOK - report uninfected files as OK
/NOBREAK - do not allow CTRL-BREAK to abort
/BOOT - enables MBR/BOOT check
/PROC - toggles active processes scanning
/PUP - toggles "Potentially unwanted programs" reporting
/REG - toggles registry scan
/COO - toggles Tracking Cookies scan
/? - displays help on this topic
/HELP - displays help on this topic
/PRIORITY - sets scan priority - Low, Auto or High
/SHUTDOWN - shutdowns computer upon scan completion
/FORCESHUTDOWN - forces computer shutdown upon scan completion
/ADS - toggles scan of Alternate Data Streams (NTFS only)
/HIDDEN - reports files with hidden extension
/INFECTABLEONLY - scans files with infectable extensions only
/THOROUGHSCAN - enables thorough scanning
/CLOUDCHECK - checks for false positives
Help Me With My Computer Tech
IT Services & IT Consulting Services In Southern IL and St. Louis MO
User avatar
Marshall
 
Posts: 509
Joined: Thu Feb 14, 2013 3:14 am

Re: looking for a way to automate 2-3 virus scanners

Postby Nick » Wed May 15, 2013 5:43 pm

also, d7 can fully automate a2cmd and MSSE/Windows Defender already. I can easily add fprot (though imho their usefulness expired years ago), avira, avg, whatever.
Author of d7x and other PC technician's tools. http://www.d7xTech.com

Image
User avatar
Nick
Site Admin
 
Posts: 2792
Joined: Mon Nov 19, 2012 7:54 pm


Return to Automation / Scripting / Batch Files