How to disable Avast until reboot
Moderator: DosItHelp
-
- Posts: 34
- Joined: 17 Feb 2017 02:28
How to disable Avast until reboot
I have ground to a halt in my attempt to use Macro Express or Autohotkey in a batch file to do 'the subject'. There is probably an optimal program to handle this, but I don't know which it is, and in desperation am asking this forum for whatever will progress my pursuit of a solution - as I would expect to use the solution in a batch file anyway. 64xWin10ProV1909.
Re: How to disable Avast until reboot
I think it would be better to ask the Avast Forum for this how to disable it.
saso
saso
-
- Posts: 34
- Joined: 17 Feb 2017 02:28
Re: How to disable Avast until reboot
As I wrote - I have ground to a halt because I've not had a response from Avast.
The MANUAL procedure is simple and effective, but I have been unable to translate that into viable code.
KillTask and a command line trigger 'access denied' and
"C:\Program Files\End Process\EndProcess" "C:\Program Files\Avast Software\Avast.exe" probably fails because there is no 'Avast.exe' in that folder.
The MANUAL procedure is simple and effective, but I have been unable to translate that into viable code.
KillTask and a command line trigger 'access denied' and
"C:\Program Files\End Process\EndProcess" "C:\Program Files\Avast Software\Avast.exe" probably fails because there is no 'Avast.exe' in that folder.
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: How to disable Avast until reboot
I don't have Avast installed, but assuming the executable is called avast.exe, it should be as simple as
and running that as an Administrator (to prevent the "Access Denied" error). Of course, if there are additional processes, you'll need to taskkill those as well.
Code: Select all
taskkill /f /im avast.exe
-
- Posts: 34
- Joined: 17 Feb 2017 02:28
Re: How to disable Avast until reboot
I have found a better explanation why "C:\Program Files\End Process\EndProcess" "C:\Program Files\Avast Software\Avast.exe" fails :
1. Should probably be C:\Program Files\End Process\EndProcess.exe
2. My C:\ has NO \Program Files\End Process\
3. Avast.exe if it existed, would not NOT specific for the Systray Icon.
4. Even if the code were correct, access would probably be denied, until I know how to code for 'as admin'.
1. Should probably be C:\Program Files\End Process\EndProcess.exe
2. My C:\ has NO \Program Files\End Process\
3. Avast.exe if it existed, would not NOT specific for the Systray Icon.
4. Even if the code were correct, access would probably be denied, until I know how to code for 'as admin'.
-
- Posts: 128
- Joined: 23 May 2016 15:39
- Location: Spain
Re: How to disable Avast until reboot
aren't those procceses (or at least one of them) services?
in that case you need
or
in that case you need
Code: Select all
sc stop ""ServiceName"
Code: Select all
net stop "ServiceName"
-
- Posts: 34
- Joined: 17 Feb 2017 02:28
Re: How to disable Avast until reboot
That looks like a fruitful suggestion - I tried ending the avast service manually, but was denied access. I'm puzzled why access is given to the mouse-clicking method, but not another. Neither of those lines by themselves in a batch file, affected the AvastService status or anything in the context menu of the Avast systray icon - nor did they trigger an error message. Where to from here - a REALLY accurate recording (for replay) of mouse clicks ? - I have found that method not reliable.
P.S.The effective mouse method also leaves the AvastService unchanged.
P.S.The effective mouse method also leaves the AvastService unchanged.
Re: How to disable Avast until reboot
I suppose that this is technically an answer to your question.
How bad would an anti-malware product be if a script was able to turn it off, (until it had completed tasks unhindered by that anti-malware product)?
How bad would an anti-malware product be if a script was able to turn it off, (until it had completed tasks unhindered by that anti-malware product)?