How to initiate Boot-Time scan through CMD

I was wondering how can i run Boot-Time scan without need of running avast! GUI (in case if some virus blocks GUI startup).

This thread might help. Technical gets very technical towards the end.

http://forum.avast.com/index.php?board=2;action=display;threadid=4297

Aha thanks,but unfortunately there is nothing about Boot-Time scan :-\ Actually this is for my tweak tool for avast! so its somehow very important to me (and also useful in case of some serious system infection).

RejZor the boot time scanning must be configured at the Windows Registry.
Probably you must check HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager dnd the value BootExecute.
You must add a reference to aswBoot.exe after the ‘autocheck autochk *’ value usually there.
Take care, I did not test this way before…
You will make the dirty work. If it works, will you add to your great tweak tool? ;D

Ofcorse i’ll add it! This will be solution for all infections where avast! cannot run because some virus kills it immediatelly when its detected in memory. VPS and Core update function is already implimented in my tweak tool so you can update avast! even if its not running. If i manage to add this than hehe it will be a very good day ;D

Ok i got all required resources! Now comes the fun part (scripting :wink: ). I think new version of tweak tool should be ready today with new boot-time scan function.

Argh grrrrr >:(
I ran into some problems. Everything went fine,atleast no bootsequenco lockup nothing,but Boot-Scan was not performed

I made full mechanism to control boot-time scan,but i think i’ll need short filenames for registry entry and i don’t know where to read one. The only one that i can read is longname full path of avast! installation directory (which i used for almost all functions of my tweak tool),but here its useless.

In my Home version installation I have the picture…
I’m affraid that, sometime in the past, in this computer I installed my Pro key and then changed it to Home (in order to use the Pro in my work computer…).
Does this help?

No need to do any registry changes. Look for the “sched.exe” program located in the avast program folder – that seems to be exactly what you’re looking for…

RejZor, seems that Vlk solved your problem… For me, it works perfectly.
You must add the parameter /A:* to enable all local disks or /D to disable.

Aha,so i just link up my tweak tool with with sched.exe and give it and required switch? Hehe i made a very complicated script to change registry value for BootExecute and everything stopped with short filenames which i was unable to make.
Thx Vlk,ill try that.

Vlk,can you help me out with product identification in registry? For avast! Pro is av_pro,but i don’t know for home edition. I tried av_home but i think its not the right. Also ill need it for server edition. This sched is under work and should be ready soon.
Thank you very much for this info.

Ok sweet :slight_smile: You can find my latest External Control tweak under General section of this forum or in my signature.
Boot-Time Scan option finally implimented! :slight_smile: :slight_smile: :slight_smile:

Thanks RejZor… You’re always helpfull :slight_smile: