Author Topic: How to use the command-line to shutdown Avast protection until next reboot ?  (Read 5317 times)

0 Members and 1 Guest are viewing this topic.

Offline tlee

  • Jr. Member
  • **
  • Posts: 79
Hello,

Does anyone know how to use command-line to stop Avast protection temporarily until next boot ?

Since, i want to use the scripts language to do automation in Win7 such as Local Disk Defragment.

Thanks !

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67247
I don't think it can be such a command as the malware could do the same ::)
The best things in life are free.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 86126
  • No support PMs thanks
Absolutely, no way they are going to have something like that too easy to mis-use and leave a user unprotected.

@ tlee
What is wrong with running your local disk defrag with avast running, I don't disable avast when using either the windows defrag or Puran Defrag. Why not use puran defrag and you can defrag on boot.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 21.11.2500 (build 21.11.6809.528) UI 1.0.683/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline tlee

  • Jr. Member
  • **
  • Posts: 79
Thanks!

Does it no critical side-effect while turning on Avast protection in defragment progress?

Since, i want to write the script for stop un-used process, execute windows defragmen and important data backup after off-duty every day and let the PC shutdown itself automatically.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 86126
  • No support PMs thanks
I haven't turned off avast for defragging in all of the time and avast versions (and different defrag tools) that I have had in over 7 years without problem.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 21.11.2500 (build 21.11.6809.528) UI 1.0.683/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline Para-Noid

  • Avast Evangelist
  • Starting Graphoman
  • ***
  • Posts: 6711
  • Trust only what you test yourself!
I'm still trying to understand why anyone would want to turn off avast to do maintenance on their pc.  ???

As with the others I never do nor have I foreseen any reason to do so. If you feel the need you can right click on the tray icon to disable the resident shields. But...why?  ???
Dell Inspiron, Win10x64--HP Envy Win10x64--Both systems Avast Free v17.9.2322, Comodo Firewall v8.2 w/D+, MalwareBytes v3.0, OpenDNS, Super Anti-Spyware, Spyware Blaster, MCShield, Unchecky, Vivaldi Browser and, various browser security tools.

"Look before you leap!" Use online scanners before you click on any link.

Dch48

  • Guest
The only reason I could see to shut down Avast while defragging is to minimally speed up the defrag. I doubt if you would notice the difference though. I always leave it on.

FigVam

  • Guest
Hello,

Does anyone know how to use command-line to stop Avast protection temporarily until next boot ?

Since, i want to use the scripts language to do automation in Win7 such as Local Disk Defragment.

Thanks !
If it were so simple, guess what virus-makers would do?  ;)  

Offline Asyn

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 73495
    • >>>  Avast Forum - Deutschsprachiger Bereich  <<<
Does it no critical side-effect while turning on Avast protection in defragment progress?

No.
Win 8.1 [x64] - Avast PremSec 22.1.6864.IBC [UI.688] - EEK - Firefox ESR 91.5 [NS/uBO/PB] - TB 91.5.0
Avast-Tools: Secure Browser 97.1 - Cleanup 21.4 - SecureLine 5.15 - Driver Updater 21.4 - CCleaner 5.88
Avast Wissenswertes (Downloads, Anleitungen & Infos): https://forum.avast.com/index.php?topic=60523.0