Restart avast! after shutting it down.

Hello!

I’ve a question : For example, i want to quit completly avast. I right click on “a” ball, then “Stop Resident Protection”… It stops the protection, and then I open the task manager to end manually the “ashDisp.exe” to make the “a” ball disappear.
But now, without any avast! service running, i can’t restart it (resident protection) : I go to the Task Manager > New Task > “C:\Program Files\Alwil Software\Avast4\ashDisp.exe”… The 2 icons reappear, but when I right click again on “a” and do “Enable Resident Protection”, It doesn’t work (does nothing) or displays a message “The subsystem AAVM has detected an RPC error…”

So, what should i do to restart avast! without restarting Windows or the computer?
Thanks!

Er…

I think i’ve found the solution by myself, one more time! ::slight_smile: ;D
Enable C:\Program Files\Alwil Software\Avast4\ashDisp.exe in the Task Manager.
Then, I go to the Control Panel, Administration Tools, Services and Click on “Avast! Antivirus Service”. Then on the left i click on “Enable Service”… And all went fine !

Why don’t you provide a fast way to reactivate correctly avast! when it’s completly shutted down (for example, when no avast! service is running, a double-click on the avast! antivirus desktop/Start menu icon should re-enable the resident protection. before loading avast! GUI. It could be great!)

Thanks Myself :smiley:

What is it that you are trying to achieve by disabling avast! ?
e.g. why are you stopping resident protection ?

The ashdisp.exe is just the icon and interface to the providers and doesn’t do any scanning as such. So it shouldn’t be using large amounts of resources or getting in the way of other resource intensive applications/games, etc.

To answer to your question, DavidR, I only want to shutdown avast completly because when my computer starts, sometimes the “i” icon doesn’t appears near to avast! “a” icon… By shutting down and restart AshDisp.exe and the Avast! Services the TWO icons will reappear and the antivirus will work without RPC Error.

Since the i (VRDB) icon is infrequently used (default setting generate every 21 days), so it doesn’t rotate unless the VRDB generation is in progress.

You may find that it is better to merge the two icons, that way it shouldn’t be lost (why it is is another issue). When the VRDB is generating the i icon will automatically appear and merge when it has finished.

So the i icon is a little redundant when the VRDB isn’t being generated.

I know i’m not a ALWIL software programmer :stuck_out_tongue: but i’ve got a little suggestion : Why don’t you provide a fast way to reactivate correctly avast! when it’s completly shutted down (for example, when no avast! service is running, a double-click on the avast! antivirus desktop/Start menu icon should re-enable the resident protection. before loading avast! GUI. It could be great!) ::slight_smile:

The fast way is via the avast icon, Start On-Access protection, but you killed that too.

The avast services as far as I’m aware are not completely stopped (as you are finding) but still enabled though not in use using resources, completely shutting down the services can cause problems and may require a reboot to resolve, hence why avast has the Stop/Start On-Access protection in the avast icon interface.

Although if your only reasoning for this is to ensure that the i icon doesn’t go walk about, then I would suggest trying to find out why and you won’t have to go through this Stop/Start issue. Merging the icons should also achieve this.

Hi,

Figured I would post here as the problem I have is related to this…

I have made a batch file to turn off the services and tasks that I dont require when playing online games etc… All works well untill I get to Avast! … using "Taskkill /F /IM ashServ.exe /T … Etc etc I can kill all the proceses no problem (net stop dont seem to work as the process names are not reconised) …

So when I come to renable Avast I can start the tray icon using start C:\PROGRA~1\ALWILS~1\Avast4\ashDisp.exe and also the updater using net start aswUpdSv

But no matter what I seem to do I cant start the actual “ashServ.exe” it says it has started but none of the resident protection is re-enabled…

The only way it seem to do this is go into the services and start it again from there…

Now since this is the case XP knows exactly what other services it needs in able to start it properly, So why wont it tell me? lol

Thats the background on what im trying to do here… So basicly the question is this,

What other parameters do I need to pass onto ashServ.exe / or what other of its own services does it depend on in order for it to start correctly?

Any help would be grately appriciated Thanks…

P.s and here was me thinking killing the proceses should realy have been the hard thing to do not starting them again :wink:

avast is not intended to be killed by the taskkill or net stop commands.
Maybe you can stop/disable it but restarting will bring you trouble.
I just suggest you disable through the system tray icon (if you’re sure you won’t be infected while gaming).

But no matter what I seem to do I cant start the actual "ashServ.exe" it says it has started but none of the resident protection is re-enabled.... The only way it seem to do this is go into the services and start it again from there....
Yes, this seems to be the only way... when it works...
What other parameters do I need to pass onto ashServ.exe / or what other of its own services does it depend on in order for it to start correctly?
There isn't such parameters... the problem could not be the services, but the low level (device) drivers that an antivirus uses...

Okies thanks for the quick response :slight_smile:

Yes it is just the resident scanner that’s not actualy getting called by the looks of it “low level” workings as you refered to…

Seems like I will have to log the process threads etc when starting it back up via services just to see exactly what is happening, And see if I can figure somthing from there … Way I look at it is if XP can start the blooming thing correctly without a restart why cant I ::slight_smile:

If I do happen to figure this out then I will post my findings.

And thanks again for taking the time to read my ramblings and reply.

You’re welcome… feel free to come back, ask for help and better, share your experience and knowledge :wink: