Author Topic: How to initiate Boot-Time scan through CMD  (Read 10703 times)

0 Members and 1 Guest are viewing this topic.

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9411
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
How to initiate Boot-Time scan through CMD
« on: May 14, 2004, 09:35:49 PM »
I was wondering how can i run Boot-Time scan without need of running avast! GUI (in case if some virus blocks GUI startup).
Visit my webpage Angry Sheep Blog

JAM-Computers

  • Guest
Re:How to initiate Boot-Time scan through CMD
« Reply #1 on: May 14, 2004, 10:38:14 PM »
This thread might help.  Technical gets very technical towards the end.

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

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9411
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How to initiate Boot-Time scan through CMD
« Reply #2 on: May 14, 2004, 10:57:24 PM »
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).
Visit my webpage Angry Sheep Blog

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67185
Re:How to initiate Boot-Time scan through CMD
« Reply #3 on: May 16, 2004, 01:28:14 AM »
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
The best things in life are free.

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9411
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How to initiate Boot-Time scan through CMD
« Reply #4 on: May 16, 2004, 08:56:30 AM »
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
Visit my webpage Angry Sheep Blog

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9411
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How to initiate Boot-Time scan through CMD
« Reply #5 on: May 16, 2004, 09:16:28 AM »
Ok i got all required resources! Now comes the fun part (scripting ;) ). I think new version of tweak tool should be ready today with new boot-time scan function.
Visit my webpage Angry Sheep Blog

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9411
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How to initiate Boot-Time scan through CMD
« Reply #6 on: May 16, 2004, 10:41:14 AM »
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.
Visit my webpage Angry Sheep Blog

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67185
Re:How to initiate Boot-Time scan through CMD
« Reply #7 on: May 16, 2004, 08:30:36 PM »

Can you check what its written under this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\ALWIL Software\Avast\4.0\Product

I need the string that is under Product key so i can add proper detection for avast! in my tweak tool. I have avast! Pro,so i have a bit different value than in Home Edition and i cannot see which one. Here is where your help comes in handy ;)
Thanks
Raz

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?
The best things in life are free.

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11655
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:How to initiate Boot-Time scan through CMD
« Reply #8 on: May 17, 2004, 04:53:47 AM »
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...
If at first you don't succeed, then skydiving's not for you.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67185
Re:How to initiate Boot-Time scan through CMD
« Reply #9 on: May 17, 2004, 02:13:51 PM »
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.
The best things in life are free.

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9411
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How to initiate Boot-Time scan through CMD
« Reply #10 on: May 17, 2004, 03:39:08 PM »
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.
Visit my webpage Angry Sheep Blog

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9411
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How to initiate Boot-Time scan through CMD
« Reply #11 on: May 17, 2004, 04:28:12 PM »
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.
Visit my webpage Angry Sheep Blog

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9411
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How to initiate Boot-Time scan through CMD
« Reply #12 on: May 17, 2004, 08:02:19 PM »
Ok sweet :) You can find my latest External Control tweak under General section of this forum or in my signature.
Boot-Time Scan option finally implimented! :) :) :)
Visit my webpage Angry Sheep Blog

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67185
Re:How to initiate Boot-Time scan through CMD
« Reply #13 on: May 18, 2004, 04:35:10 AM »
Ok sweet :) You can find my latest External Control tweak under General section of this forum or in my signature.
Boot-Time Scan option finally implimented! :) :) :)

Thanks RejZor... You're always helpfull  :)
The best things in life are free.