Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: salvatore27 on May 11, 2020, 04:06:47 PM

Title: PC shutdown problems
Post by: salvatore27 on May 11, 2020, 04:06:47 PM
Windows 7, Avast Premium Security
Since I installed the program update on May 4, 2020, the system is very slow when shutting down the PC.
If I go to the Event Viewer / System and look for events that occurred during shutdown, I find an error reporting "Avast Antivirus service was not shut down properly after receiving a system shutdown check".
If, before shutting down the computer, I deactivate the main protections "files, behavior, web, e-mail) until the next restart, then the computer will shut down normally in a few seconds.
Title: Re: PC shutdown problems
Post by: info2433 on May 14, 2020, 11:36:40 AM
I'have  the same problem, and seems to be related with network connection. If all connection are deactivated before, shutdown is realized normally.
The problem occurs during avast service shutdown.
Title: Re: PC shutdown problems
Post by: Asyn on May 14, 2020, 12:35:46 PM
- Which Avast..? (Free/Pro/IS/Premium)
- Which version/build of Avast..?
- OS..? (32/64 Bit..? - which SP/Build..?)
- Other security related software installed..?
- Which AV(s) did you use before Avast..?
Title: Re: PC shutdown problems
Post by: cc2cc2 on May 14, 2020, 01:47:49 PM
Same issue, take few minutes to shutdown my PC.
W7 x64
Avast Free 20.3.2405 build 20.3.5200.561 (4 May 2020)
Title: Re: PC shutdown problems
Post by: bob3160 on May 14, 2020, 02:41:01 PM
Same issue, take few minutes to shutdown my PC.
W7 x64
Avast Free 20.3.2405 build 20.3.5200.561 (4 May 2020)
It's been reported to Avast.
Title: Re: PC shutdown problems
Post by: TheOwner on May 14, 2020, 02:47:59 PM
Same for me! I already told this in main thread in 20.3 version but without answer. For me never happened during PC restart, but happen every shutdown. I am also on Win 7 64bit.
Title: Re: PC shutdown problems
Post by: salvatore27 on May 14, 2020, 06:03:56 PM
W7 x64
Avast Premium Security
Update 4/05/2020
Ver 20.3.2405
Buld 20.3.5200.561
Title: Re: PC shutdown problems
Post by: jaroslav.nix on May 15, 2020, 10:23:33 AM
Thank you for reporting. It might be known bug, which is going to be fixed in the upcoming 20.4. release (internal tracking number AV-22446), but it can be also something new. Could you please try to help us to analyze the issue and install xperf tool. The 64-bit version for Windows 7 can be downloaded from:
http://public.avast.com/~nix/users/xperf/xperf_x64.msi

after installation, please run the tool via command (in elevated command prompt):
"c:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\xbootmgr.exe"  -trace shutdown -numRuns 1 -traceFlags DiagEasy+DISPATCHER+Profile+SYSCALL -stackwalk Profile+CSwitch+ReadyThread

The install folder will probably differ, this is example for Windows 10. This command will reboot you computer twice and create new file with ETL file extension. Please ZIP it and share the file with us via FTP:
https://support.avast.com/en-sg/article/FTP-file-upload

and let us know the uploaded file name. Thank you.
Title: Re: PC shutdown problems
Post by: salvatore27 on May 16, 2020, 05:03:12 PM
Thank you jaroslav.nix, I followed your instructions.
I opened a ticket 10761840 on Avast support and uploaded the ETL file to the Incoming folder.
The file name is 10761840.7z.
I hope the problem will be solved with the next Avast update.
Title: Re: PC shutdown problems
Post by: jaroslav.nix on May 18, 2020, 01:20:14 PM
Thank you for the log.

I am still not 100% sure its really the same issue as we were able to reproduce locally. Could you please try to install latest beta version of AV 20.4.:
https://forum.avast.com/index.php?topic=234203.0

and let us know if the problem disappear?

If not, please try to disable the Avast self-defence (settings -> trouble shooting) and then try to stop the avast service from elevated CML line via command:
net stop "avast! Antivirus"

wait a bit and if the service is not stopped, please try to create a dump of it via Task manager (right mouse click).  Then please ZIP the dump flle and upload it to the FTP server and again, let us known the file name. Thank you and sorry for inconveniences.
Title: Re: PC shutdown problems
Post by: jaroslav.nix on May 18, 2020, 01:26:22 PM
Even better would be the full computer memory dump (from the frozen stopping of avast service), because we see some 3rd party drivers (e.g.  McAfee Endpoint Encryption) in the logs, so it might be also connected to some conflict with 2rd party sw. You can let the computer got to BSOD and create the full dump via this procedure:
https://support.avast.com/en-my/article/Windows-complete-memory-dump
Title: Re: PC shutdown problems
Post by: jaroslav.nix on May 19, 2020, 11:06:03 AM
There is one more/easier way how to stop avast service, you can user this command (again in elevated command prompt):
sc.exe control "avast! antivirus" 255
and if the service won't stop in couple of second (so you induce the same issue as with the shutdown), please create a dum file via command
sc.exe control "avast! antivirus" 254

The dump file fill be located in avast program data directory, e.g.:
"c:\ProgramData\AVAST Software\Avast\log" (on Windows 10, there is "Documents and Settings\..." on Window 7
Title: Re: PC shutdown problems
Post by: bob3160 on May 19, 2020, 01:33:15 PM
@ jaroslav.nix,
Is there also an easy command to restart the service?
Thanks
Title: Re: PC shutdown problems
Post by: jaroslav.nix on May 19, 2020, 02:15:05 PM
Actually there is not direct command for restart, you would need to do it via combination of commands:
sc.exe control "avast! antivirus" 255 (this command is asynchronous unfortunately)
sc.exe query "avast! antivirus" (and wait till the svc is stopped)
sc.exe start "avast! antivirus" (for new start of the svc)
Title: Re: PC shutdown problems
Post by: jaroslav.nix on May 19, 2020, 02:16:44 PM
But please keep in mind the stop (command 255) will require user consent dialog, so this can't be easily scripted by "bad guys".
Title: Re: PC shutdown problems
Post by: bob3160 on May 19, 2020, 02:36:11 PM
But please keep in mind the stop (command 255) will require user consent dialog, so this can't be easily scripted by "bad guys".
Thanks, It restored the service with one exception.
The system tray icon still indicates a problem.

Title: Re: PC shutdown problems
Post by: jaroslav.nix on May 19, 2020, 02:43:56 PM
you are right, same for me ;-) I will report as a "bug" internally
Title: Re: PC shutdown problems
Post by: Kristian46 on May 19, 2020, 02:48:56 PM
Windows 7, Avast Premium Security
Since I installed the program update on May 4, 2020, the system is very slow when shutting down the PC.
If I go to the Event Viewer / System and look for events that occurred during shutdown, I find an error reporting "Avast Antivirus service was not shut down properly after receiving a system shutdown check".
If, before shutting down the computer, I deactivate the main protections "files, behavior, web, e-mail) until the next restart, then the computer will shut down normally in a few seconds.

same here shutting down takes more time on my end, i have the same OS too, tho i havent tried to deactivate avast components
Title: Re: PC shutdown problems
Post by: salvatore27 on May 20, 2020, 08:24:42 AM
Thank you Jaroslav. I installed Beta 20.4 version, but the shutdown is always slow.
So I used the command sc.exe control "avast! antivirus" 255 and in this case the pc shuts down normally in 30 seconds.
I will use this method to solve the problem until it is solved.
Unfortunately I don't have much time these days to help you with the dumps.
Thanks anyway
Title: Re: PC shutdown problems
Post by: Kristian46 on May 20, 2020, 10:34:37 AM
Same issue, take few minutes to shutdown my PC.
W7 x64
Avast Free 20.3.2405 build 20.3.5200.561 (4 May 2020)

same OS here windows 7 x64 , same issue, about a week since this problem started whenever i shutdown it takes 1 and half minutes and now i noticed today when i was to reboot pc now it was doubled by minute now it takes 2 minutes... so i decided to turnoff avast shields control permanently and shut down was back to 5 to 7 seconds normal,i hope this major problem will resolve soon,i was thinking soon it might get to the point of BSOD during shutdown, so i turn avast off for the meantime
Title: Re: PC shutdown problems
Post by: jaroslav.nix on May 20, 2020, 01:22:12 PM
I have tried (once more) on my VM with Windows 7 x64 and it works just fine (unfortunately for the analysis). Could you guys (one of you with the issue) please get the crash-dump with the Ctrl+ScrollLock trick at the moment when the computer is shutting down for about a minute:
https://support.avast.com/en-my/article/Windows-complete-memory-dump

And share it with us via the FTP server.

Or if you don't have time to experiment, please try to ZIP and upload the logs for avast service:
"c:\ProgramData\AVAST Software\Avast\log\AvastSvc.log"

and let us know the name of uploaded file. Thank you.
Title: Re: PC shutdown problems
Post by: flashman on May 23, 2020, 05:57:27 AM
Same issue, take few minutes when reboot or shutdown.

Win7 x86 SP1 with latest update
Avast Free v20.3.2405 is very slow when shutting down the PC.
I try the Beta version.
Avast Free v20.4.2408 (build 20.4.5273.561) is the same problem.

Avast 20.1 and 20.2 reboot or shutdown normally.
Title: Re: PC shutdown problems
Post by: chris.. on May 23, 2020, 01:28:16 PM
I had already posted it a few days ago here but my message was deleted because I was replying to David_27 who was HS on this topic ...There are also 2 French users who have this problem of slow reboot, but both of them are using W8.1 and not W7.
Guy Pépin (https://forum.avast.com/index.php?topic=233938.msg1546041#msg1546041) & GEGEPING (https://forum.avast.com/index.php?topic=233938.msg1545997#msg1545997) or here (https://forum.avast.com/index.php?topic=234041.0) in english.
Title: Re: PC shutdown problems
Post by: Asyn on May 23, 2020, 01:40:09 PM
There are also 2 French users who have this problem of slow reboot, but both of them are using W8.1 and not W7.
Guy Pépin (https://forum.avast.com/index.php?topic=233938.msg1546041#msg1546041) & GEGEPING (https://forum.avast.com/index.php?topic=233938.msg1545997#msg1545997) or here (https://forum.avast.com/index.php?topic=234041.0) in english.
Hi Chris, in case they're willing to help, please see instructions in Reply #20 from Jaroslav. Cheers
Title: Re: PC shutdown problems
Post by: oro_cell on May 26, 2020, 01:14:02 AM
Hi,

I'm experimenting a shutdown issue after Avast last update, also a French user using W7 ultimate. Shutting down is a fast process that usually takes 10 seconds max, but now it takes several minutes. I tried different things to shut it down faster like a defrag and chek disc but it won't change a thing. Last thing I though to do it to verify online if other users had the same issue and here I am.

I'm on the free version 20.3.2405 (build 20.3.5200.574)
Title: Re: PC shutdown problems
Post by: p.l.kleczek on May 29, 2020, 09:08:57 PM
I'm experiencing probably the same issue - it takes approx. 3 minutes for my OS to shut the Avast Antivirus service.

- Version of AIS: 20.3.2405 Free (build: 20.3.5200.574)
- OS: Windows 7 Pro EN 64-bit SP1 (6.1; Build 7601: Service Pack 1)
- Other security related software installed: Zone Alarm, Windows Defender
- Which AV(s) did you use before Avast: none
Title: Re: PC shutdown problems
Post by: TheOwner on June 07, 2020, 03:12:36 PM
Still not fixed in 20.4.2410
My PC sometimes delay restart/shutdown to many minutes with error in "Windows event viewer" Avast service was not properly shutdown.

Win 7 64bit, Avast free
Title: Re: PC shutdown problems
Post by: aileron369 on June 09, 2020, 08:53:25 AM
having the same problem...
windows 7 x64
tried other antivirus
avira - ok (but hard to uninstall)
panda - ok
avg - having same problem like avast , it's take 3min or longer to shutdown/restart
Title: Re: PC shutdown problems
Post by: jaroslav.nix on June 09, 2020, 11:01:41 AM
Guys, thank you very much for reporting, could someone with the problem please try to help us to analyse the issue and follow the steps mentioned here:

I have tried (once more) on my VM with Windows 7 x64 and it works just fine (unfortunately for the analysis). Could you guys (one of you with the issue) please get the crash-dump with the Ctrl+ScrollLock trick at the moment when the computer is shutting down for about a minute:
https://support.avast.com/en-my/article/Windows-complete-memory-dump

And share it with us via the FTP server.

Or if you don't have time to experiment, please try to ZIP and upload the logs for avast service:
"c:\ProgramData\AVAST Software\Avast\log\AvastSvc.log"

and let us know the name of uploaded file. Thank you.
Title: Re: PC shutdown problems
Post by: DPX on June 09, 2020, 10:38:38 PM
Similar problem for me. I'm using Win 7 Pro x64 (all updates) and Avast Premium Security 20.4.2410 (build 20.4.5312.577). No other antivirus or anti-malware software installed now or at any earlier date.

Whenever I reboot, the system hangs for a very long time (at the "shutting down" screen) and eventually reboots. Fortunately, there's no slow down or hanging when I shut down, although the Event ID warnings/errors listed below still occur.

Shutting down shields (all or any combination) has no effect whatsoever on the slow reboot and hang time. I tried this with both Self-Defense mode on and off, so that has no effect either. Both Silent Mode and Hardened Mode are switched off.

Interestingly enough, I found that if I switched the Program Compatibility Assistant Service (in services.msc) from "automatic" to "disabled," the error (Event ID 7043) didn't appear in Event Viewer; the warning (Event ID 1530) was still recorded, however. Reboot time wasn't decreased, so there was no point in keeping PCAS set to "disabled."

Here are the full results in Event Viewer:

Event ID 1530 (User Profile Service)
DETAIL - 3 user registry handles leaked from \Registry\User\S-1-5-21-4097084660-844498693-2369078883-1000:
Process 1364 (\Device\HarddiskVolume3\Program Files\AVAST Software\Avast\AvastSvc.exe) has opened key \REGISTRY\USER\S-1-5-21-4097084660-844498693-2369078883-1000
Process 1364 (\Device\HarddiskVolume3\Program Files\AVAST Software\Avast\AvastSvc.exe) has opened key \REGISTRY\USER\S-1-5-21-4097084660-844498693-2369078883-1000

Event ID 7043 (Service Control Manager)
The Avast Antivirus service did not shut down properly after receiving a preshutdown control.
Process 1364 (\Device\HarddiskVolume3\Program Files\AVAST Software\Avast\AvastSvc.exe) has opened key \REGISTRY\USER\S-1-5-21-4097084660-844498693-2369078883-1000\Software\Microsoft\Windows\CurrentVersion\Explorer
Title: Re: PC shutdown problems
Post by: weixtop on June 10, 2020, 03:56:48 PM
Windows 7 SP1, Avast free 20.4.2410 (ver. 20.4.5312.577), system shutdown takes 4 minutes, it hasn't been solved so far :'(
Title: Re: PC shutdown problems
Post by: NON on June 11, 2020, 11:50:02 AM
Guys, read reply #28 from jaroslav.nix and follow his steps, that will help Avast guys to solve the issue.
Title: Re: PC shutdown problems
Post by: LLIR on June 13, 2020, 03:05:19 AM
One month passed, a new version (20.4) was released, and the problem has not yet been resolved. Now, due to the Avast, the shutdown time of my computer is five minutes. Amazing!  :(

Avast Free 20.4.2410 / Windows 7 SP1 x64
Title: Re: PC shutdown problems
Post by: bob3160 on June 13, 2020, 06:12:29 PM
One month passed, a new version (20.4) was released, and the problem has not yet been resolved. Now, due to the Avast, the shutdown time of my computer is five minutes. Amazing!  :(

Avast Free 20.4.2410 / Windows 7 SP1 x64
So did you follow these instructions to help resolve the problem?
https://forum.avast.com/index.php?topic=234120.msg1549505#msg1549505 (https://forum.avast.com/index.php?topic=234120.msg1549505#msg1549505)

Title: Re: PC shutdown problems
Post by: salvatore27 on June 17, 2020, 09:28:26 AM
Problem solved definitively with version 20.5.2411 build 20.5.5366.561
Thank you all
Title: Re: PC shutdown problems
Post by: Asyn on June 17, 2020, 10:36:08 AM
Problem solved definitively with version 20.5.2411 build 20.5.5366.561
Thank you all
Good news, thanks for the feedback.
Title: Re: PC shutdown problems
Post by: chris.. on June 17, 2020, 12:53:49 PM
Problem solved definitively with version 20.5.2411 build 20.5.5366.561
Thank you all
You mean it's with the beta version?
That would mean that avast was able to find out what was wrong with the last two official releases.
It would be good because this concern was beginning to gain weight for more and more users, again a new one today on the French section.
The procedure given by jaroslav.nix for transmitting the information discourages users .
Title: Re: PC shutdown problems
Post by: salvatore27 on June 18, 2020, 11:25:08 PM
Yes, the beta version
Title: Re: PC shutdown problems
Post by: Wizzzzard on June 19, 2020, 09:51:23 AM
I was given this link by Asyn and told to read and post here.

I have installed the latest beta version 20.5.2412 and the issue is still occurring.

Event: 1530 Level: Warning Logged: 19/06/2020 12:06:10 PM

Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards. 

 DETAIL -
 3 user registry handles leaked from \Registry\User\S-1-5-21-569174153-657888036-2119141897-1000:
Process 2016 (\Device\HarddiskVolume2\Program Files\AVAST Software\Avast\AvastSvc.exe) has opened key \REGISTRY\USER\S-1-5-21-569174153-657888036-2119141897-1000\Software\Microsoft\Internet Explorer\EUPP Protected - It is a violation of Windows Policy to modify. See aka.ms/browserpolicy
Process 2016 (\Device\HarddiskVolume2\Program Files\AVAST Software\Avast\AvastSvc.exe) has opened key \REGISTRY\USER\S-1-5-21-569174153-657888036-2119141897-1000\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
Process 2016 (\Device\HarddiskVolume2\Program Files\AVAST Software\Avast\AvastSvc.exe) has opened key \REGISTRY\USER\S-1-5-21-569174153-657888036-2119141897-1000\Software\Microsoft\Windows\CurrentVersion\Explorer

This happens every single shutdown.

If this issue can't be resolved then my only option to resolve it is to uninstall Avast.
Title: Re: PC shutdown problems
Post by: DPX on June 19, 2020, 03:56:15 PM
Problem definitely not solved for me, but I haven't tried the beta version. In general, I tend to shy away from beta versions of software due to their potential for greater instability. That said, it doesn't look like the beta version fixed the issue for everyone anyway.

As for AvastSvc.log, where do I upload it? I can't attach it here because this board doesn't allow attachments that large. Is there somewhere specific I need to upload it to or could I just use Google Drive or Dropbox? Also, I know you guys asked for AvastSvc.log, but do you also want AvastSvc.log.old as well?
Title: Re: PC shutdown problems
Post by: Asyn on June 20, 2020, 07:08:33 AM
As for AvastSvc.log, where do I upload it? I can't attach it here because this board doesn't allow attachments that large. Is there somewhere specific I need to upload it to or could I just use Google Drive or Dropbox?
You can upload it here: ftp://ftp.avast.com/incoming/ (ftp://ftp.avast.com/incoming/)
Pick a unique name (and post it here), so the devs can find it. Thanks
Title: Re: PC shutdown problems
Post by: whatalifemate on June 21, 2020, 11:36:17 AM
Problem solved definitively with version 20.5.2411 build 20.5.5366.561
Thank you all
Good news, thanks for the feedback.

Hi, Where can I download Avast version 20.5.2411 build 20.5.5366.561 from? Couldn't find any link at all.
Title: Re: PC shutdown problems
Post by: Asyn on June 21, 2020, 11:42:29 AM
-> https://forum.avast.com/index.php?board=15
Title: Re: PC shutdown problems
Post by: whatalifemate on June 21, 2020, 06:38:16 PM
Thanks for the response.

But this Online installer installs the latest version, i.e, 20.5.2412 , NOT the 20.5.2411.

Still same problem! Getting painful.

Can you please either give me the link to an Offline installer or some Stable version of free Avast that doesn't have shutdown issue.
Title: Re: PC shutdown problems
Post by: DavidR on June 21, 2020, 07:11:27 PM
Thanks for the response.

But this Online installer installs the latest version, i.e, 20.5.2412 , NOT the 20.5.2411.

Still same problem! Getting painful.

Can you please either give me the link to an Offline installer or some Stable version of free Avast that doesn't have shutdown issue.

That is the latest Beta version 20.5.2412, the link you clicked doesn't specify the version and is just the on-line installer (that downloads the latest beta version link).  There is no off-line installation posted for the beta builds.
Title: Re: PC shutdown problems
Post by: whatalifemate on June 21, 2020, 07:30:35 PM
ok, then, since this is still buggy, where can i get offline installer of Stable version of free Avast?
Title: Re: PC shutdown problems
Post by: bob3160 on June 21, 2020, 08:02:33 PM
ok, then, since this is still buggy, where can i get offline installer of Stable version of free Avast?
You'll need to wait till the current beta gets released to the stable version or,
Install the beta which contains the fix via the links provided.
Title: Re: PC shutdown problems
Post by: whatalifemate on June 22, 2020, 12:26:55 AM
//Install the beta which contains the fix via the links provided.//

Where is the link? someone pointed me to the online installer link which only installed the latest version with the bug. i want an offline installer to 20.5.2411

A question: Isn't there any Stable version of free Avast at all?
Title: Re: PC shutdown problems
Post by: DavidR on June 22, 2020, 12:48:48 AM
//Install the beta which contains the fix via the links provided.//

Where is the link? someone pointed me to the online installer link which only installed the latest version with the bug. i want an offline installer to 20.5.2411

A question: Isn't there any Stable version of free Avast at all?

As I have said: "There is no off-line installation posted for the beta builds."

The only off-links in the forums are for the regular program update installation file. 

You would either have to go back to regular release of avast 20.4.2410 (which presumably you had a problem with) or wait for the regular program update release 20.5.xxxx when the beta session is closed.  Which hopefully shouldn't be too long.
Title: Re: PC shutdown problems
Post by: whatalifemate on June 22, 2020, 02:25:50 AM
Both regular ver 20.4.2410 and beta ver 20.5.2412 caused shutdown issue.

Couldn't find the offline installer for 20.5.2411 which is reported to be good.

I guess now I have to look for some other antivirus. Disappointed by Avast.
Title: Re: PC shutdown problems
Post by: jaroslav.nix on June 22, 2020, 08:03:55 AM
Guys, I am very sorry to hear you are still experiencing the issue with slow shutdown. Unfortunately our QA were not able to reproduce it in-house, so it is probably connected to some specific HW or combination/conflict of/with some 3rd party SW. Could you please try to provide a full memory dump as requested in:
https://forum.avast.com/index.php?topic=234120.msg1547400#msg1547400

and help us this way to analyse the issue. Thank you in advance, your help is much appreciated.
Title: Re: PC shutdown problems
Post by: chris.. on June 22, 2020, 12:47:33 PM
Both regular ver 20.4.2410 and beta ver 20.5.2412 caused shutdown issue.

Couldn't find the offline installer for 20.5.2411 which is reported to be good.

I guess now I have to look for some other antivirus. Disappointed by Avast.
I think you thought a little too much that the beta version 20.5.2411 solved the problem...
It's reported to be good only by salvatore27
and if it had been good for everyone with that beta, there's no reason why it shouldn't work with the later beta (2412)
The problem seems not to be solved, and the best way to solve it is to give the logs as requested by jaroslav.nix.
Title: Re: PC shutdown problems
Post by: bob3160 on June 22, 2020, 02:12:56 PM
"Couldn't find the offline installer for 20.5.2411 which is reported to be good."
You can't find what doesn't exist.
Title: Re: PC shutdown problems
Post by: DPX on June 22, 2020, 07:47:26 PM
As for AvastSvc.log, where do I upload it? I can't attach it here because this board doesn't allow attachments that large. Is there somewhere specific I need to upload it to or could I just use Google Drive or Dropbox?
You can upload it here: ftp://ftp.avast.com/incoming/ (ftp://ftp.avast.com/incoming/)
Pick a unique name (and post it here), so the devs can find it. Thanks
There are no buttons or options to upload the file. There's just a mostly-blank page that says "parent directory" under the heading of "Index of /incoming/". How do I upload the file directly from my browser?

I tried dragging-and-dropping a file called "DPX_AvastErrorSlowReboot.zip" but it's not showing up in the folder you gave me. In fact, all it did was download it for me, which isn't useful at all.

Guys, I am very sorry to hear you are still experiencing the issue with slow shutdown. Unfortunately our QA were not able to reproduce it in-house, so it is probably connected to some specific HW or combination/conflict of/with some 3rd party SW.
Nothing has changed other than Avast's update. All the other software and hardware has remained the same (at least on my machine), so it's only logical to conclude that the problem is Avast. Not to mention that the errors shown in Event Viewer clearly point to Avast being the problem.

So please... don't try to pass this off as a hardware or 3rd party software problem. It's not. The problem is Avast and it needs to be fixed. I've paid for my version and its subscription, and I won't put up with burning money by uninstalling Avast and going with something else.
Title: Re: PC shutdown problems
Post by: jaroslav.nix on June 22, 2020, 10:03:05 PM
As for the uploading, you can use either our FTP server (the "how-to procedure" is available on https://support.avast.com/en-us/article/FTP-file-upload/) or any other public sharing service (dropbox, google drive, one drive etc.) and share the link here.

And please I am sorry that it sounds I blame other (3rd party SW or HW), that was not my intention. I wanted to say it's probably some combination of some SW (or PC configuration/settings) and Avast AV of course. The bug might be in the Avast product of course as well as it might be some conflict, which happen only in combination with specific SW installed on the same machine, since we were not able to reproduce yet in our lab.

Thank you for understanding.
Title: Re: PC shutdown problems
Post by: LOR PAL on June 23, 2020, 04:47:28 AM
Hello, I also have the same problem, before I used Windows 8.1 and the shutdown was eternal. A couple of days ago I switched to Windows 7 Ultimate and I just tested beta 20.5 and it presents the same problem.
I have 2GB of RAM and a 1.60GB Intel Atom processor. It is underpowered but nothing like this ever happened to me. I only have problem with that computer. Because my Windows 10 x64 PC doesn't have that glitch.
I had to uninstall avast Free because it gave me errors when evaluating the system.
I hope they fix this because they were an avast user for years.

Regards.

The same problem with AVG Free.
Title: Re: PC shutdown problems
Post by: Hoai Nam on June 23, 2020, 12:06:11 PM
I have three computers running Avast and have the same problem. Sometimes, it took 3-4 minutes to shutdow. How can I make it shutdown faster?
Title: Re: PC shutdown problems
Post by: Asyn on June 23, 2020, 12:09:51 PM
Hi guys, if you're willing to help, see Reply #20 from Jaroslav.
Title: Re: PC shutdown problems
Post by: HVM on June 23, 2020, 12:43:53 PM
Windows 8.1 x86, same problem
I have uploaded the memory dump into Firefox send
https://send.firefox.com/download/95fb5c4a33c21e04/#d2F6atUTjoq3aHaTeUIqGA
Hope to resolve this issue soon
Title: Re: PC shutdown problems
Post by: jaroslav.nix on June 23, 2020, 01:28:49 PM
Thank you HVM for the dump, we will have look onto it and I will let you know our findings. Much appreciated. Thank you again.
Title: Re: PC shutdown problems
Post by: LOR PAL on June 23, 2020, 04:24:36 PM
Hi guys, if you're willing to help, see Reply #20 from Jaroslav.

I didn't find anything from that file. Also AVG also has the same problem.
On my Windows 7 computer I decide to switch to Pande Dome until there is something new. Until then I hope they solve it.
Title: Re: PC shutdown problems
Post by: DavidR on June 23, 2020, 06:42:37 PM
Hi guys, if you're willing to help, see Reply #20 from Jaroslav.

I didn't find anything from that file. Also AVG also has the same problem.
On my Windows 7 computer I decide to switch to Pande Dome until there is something new. Until then I hope they solve it.

I don't know what you were hoping to find.  The post in Reply #20 was asking people to send the log file or create a crash (when this happens) dump and again send the memory dump file so these can be analysed buy the Avast Team.
Title: Re: PC shutdown problems
Post by: LOR PAL on June 23, 2020, 09:07:20 PM
Hi guys, if you're willing to help, see Reply #20 from Jaroslav.

I didn't find anything from that file. Also AVG also has the same problem.
On my Windows 7 computer I decide to switch to Pande Dome until there is something new. Until then I hope they solve it.

I don't know what you were hoping to find.  The post in Reply #20 was asking people to send the log file or create a crash (when this happens) dump and again send the memory dump file so these can be analysed buy the Avast Team.

And I tell you there was no such log file. I was hoping that at least the beta version would fix the problem but not even that. And I repeat that it also happened with AVG which means that it is a major problem.
Anyway, it is not the first time that it happens, avast usually has bad performance streaks.
Regards.
Title: Re: PC shutdown problems
Post by: DavidR on June 23, 2020, 09:29:55 PM
If there is no log there, then the other request was to create a crash (when this happens) dump and again send the memory dump file so these can be analysed buy the Avast Team.

Doing that gives Avast a lot to work with as the the possible cause and fix it if they can.
Title: Re: PC shutdown problems
Post by: chris.. on June 24, 2020, 01:10:26 PM
If there is no log there, then the other request was to create a crash (when this happens) dump and again send the memory dump file so these can be analysed buy the Avast Team.

Doing that gives Avast a lot to work with as the the possible cause and fix it if they can.
I especially feel that these demands made by avast are too complicated. For many, it's much easier to move on if avast doesn't simplify its support and file upload.
I thought, reading the notes of the last release, that it would be simpler but obviously not.
Quote
Improved support - Our support team can now help you send them logs to diagnose problems.
What else did the latest version bring with the help of support?
Have you tried the procedure for creating a memory dump with the whole  procedure?
I have done it myself and I didn't even try to send the file to the ftp server: another obstacle to the simplicity of the support...So I understand that many ordinary users are resigned to it.
They probably don't care about performing complicated procedures to provide a simple debug file to avast, that's just my point of view. ;)
Title: Re: PC shutdown problems
Post by: nojunkAU on June 25, 2020, 01:13:31 PM
Avast is causing slow shutdown for me too.
Service logs uploaded to FTP as "{my registered email} avastsvc logs.zip"

Win7 64bit
Avast version 20.4.2410 (build 20.4.5312.580)
Title: Re: PC shutdown problems
Post by: jaroslav.nix on June 26, 2020, 02:37:31 PM
Hello guys, I might have some good news. We have been able to localize one of the possible reasons and fix it in our latest beta version 20.5.2414 (build 20.5.5402.561). Could you please try to reproduce the issue with shutdown slowdown with beta version announced at:
https://forum.avast.com/index.php?topic=235107.0

And many thanks to all of you who has provided us logs or dumps, it really helped us to analyze the issue. Thanks again.

Let me please know if the beta version works better or not. Thank you.
Title: Re: PC shutdown problems
Post by: GEGEPING on June 30, 2020, 08:53:53 AM
Hi,

For me on my Dell D630 Seven pro 64.

The shutdown took every time a long time.

But it wasn't the biggest problem.

Windows update told to me that there are update from windows component and Office 2013 pro.

I tried to update several time nothing error message, i resest wu nothing.

And last we i uninstall The last avast free version with the clean exe on safe mode and restart.

I tried to update and all available update has been installer successfully ;D

So i guess that something was wrong on the last release for my laptop.

I don't know if Seven is really supported by software product, but for antivirus some brand doesn't install on my pc either with light exe or full offline exe.

Now i run with another antivirus on my dell and still have avast free on my Asus I7 w8.1 64

Hope really that new stable version will correct the shutdown problem and other mentionned by user.

The shutdown problem is also present surely on 8.1 and 10 for me after quit all thinks and wait 3min.

If not the shutdown will take a long time, maybe release memory problem with avast component i don't know.

What i remember is that the last good avast working version was anterior  of may.

Even free or on subscription version.

Want to stay on avast, but not with such growing problem >:(

Thanks guys ;)

GG

Title: Re: PC shutdown problems
Post by: Bob283 on July 09, 2020, 07:23:43 AM
Win7 64bit
Avast version 20.4.2410 (build 20.4.5312.583)

Event 7043. The Avast Antivirus service did not shut down properly after receiving a preshutdown control.

I have a three minute delay before shutting down which is unacceptable. Has anything been done by Avast to rectify this issue please?

Bob
Title: Re: PC shutdown problems
Post by: Asyn on July 09, 2020, 07:32:13 AM
Win7 64bit
Avast version 20.4.2410 (build 20.4.5312.583)
Update to the latest version (20.5.2415): https://forum.avast.com/index.php?topic=235204.0
Title: Re: PC shutdown problems
Post by: NULL2 on July 15, 2020, 01:11:37 AM
Thank you for reporting. It might be known bug, which is going to be fixed in the upcoming 20.4. release (internal tracking number AV-22446), but it can be also something new. Could you please try to help us to analyze the issue and install xperf tool. The 64-bit version for Windows 7 can be downloaded from:
http://public.avast.com/~nix/users/xperf/xperf_x64.msi

after installation, please run the tool via command (in elevated command prompt):
"c:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\xbootmgr.exe"  -trace shutdown -numRuns 1 -traceFlags DiagEasy+DISPATCHER+Profile+SYSCALL -stackwalk Profile+CSwitch+ReadyThread

The install folder will probably differ, this is example for Windows 10. This command will reboot you computer twice and create new file with ETL file extension. Please ZIP it and share the file with us via FTP:
https://support.avast.com/en-sg/article/FTP-file-upload

and let us know the uploaded file name. Thank you.

Hi,

Avast  20.5.2415 -  extremely long shutdown even on double SSD on Windows 7 SP1.
See below screenshot from that perf tool https://pasteboard.co/JhG426U.png
(https://pasteboard.co/JhG426U.png)
Title: Re: PC shutdown problems
Post by: sinister2 on August 04, 2020, 07:13:33 PM
Just started getting the exact same problem here after installing the recent program update a few days ago (30th July update). Running Windows 7 64 bit and it's now taking about 4-5 minutes to shutdown PC.

Have restored complete drive from backup made a few weeks ago and it works fine and shuts down properly. Then to test I installed the Avast 30th July update and once again it takes 4-5 mins to shutdown, so the problem is 100% definitely down to the Avast update and nothing else.

I've rolled back to my backup again and this time have not installed the 30th July update and for now everything is OK again. Hopefully there's a fix for this and if I install an update in another month or so it will be OK.
Title: Re: PC shutdown problems
Post by: HVM on August 06, 2020, 03:45:03 AM
Avast Free Antivirus 20.6.2420(build 20.6.5495.588)
Windows 8.1 X86
No other security-related software installed

The problem is back,Moreover,shutdown and restart will encounter this problem

Download the complete dump file:https://cowtransfer.com/s/705d0cf0ca6346
Title: Re: PC shutdown problems
Post by: bob3160 on August 06, 2020, 03:38:59 PM
Avast Free Antivirus 20.6.2420(build 20.6.5495.588)
Windows 8.1 X86
No other security-related software installed

The problem is back,Moreover,shutdown and restart will encounter this problem

Download the complete dump file:https://cowtransfer.com/s/705d0cf0ca6346
I've alerted Avast. Let's see if that helps.
Title: Re: PC shutdown problems
Post by: assembler on August 08, 2020, 06:11:35 PM
i've a computer shop and i was installinmg Avast from about 14 years... and like now i'm forced to switch (every day) 1 or 2 computer to another product to "fix" the shutdown issue (that si affecting a lot of my customers from more than 4 months)
Title: Re: PC shutdown problems
Post by: HVM on August 09, 2020, 03:30:04 AM
Avast Free Antivirus 20.6.2420(build 20.6.5495.588)
Windows 8.1 X86
No other security-related software installed

The problem is back,Moreover,shutdown and restart will encounter this problem

Download the complete dump file:https://cowtransfer.com/s/705d0cf0ca6346
I've alerted Avast. Let's see if that helps.

Days passed without any reply :(
Title: Re: PC shutdown problems
Post by: bob3160 on August 09, 2020, 01:43:21 PM
Avast Free Antivirus 20.6.2420(build 20.6.5495.588)
Windows 8.1 X86
No other security-related software installed

The problem is back,Moreover,shutdown and restart will encounter this problem

Download the complete dump file:https://cowtransfer.com/s/705d0cf0ca6346
I've alerted Avast. Let's see if that helps.

Days passed without any reply :(
It's the weekend. Patience.
Title: Re: PC shutdown problems
Post by: av4me on August 16, 2020, 01:07:16 AM
ditto on this problem for the past week or two

except I've used avast long enough to remember this exact problem happening years ago

seems like their coders forget what they break every few years as the team changes and they repeat their mistakes

what is happening is they are trying to phone home (ping) and log that you are shutting down your machine (yes they collect data like this, how do you think the product is "free")

so something in your other firewall program is blocking that ping or trying to trigger a dialog if you want to allow that ping, or just never lets it happen at all

since the machine is in shutdown you can never see that dialog/block

then you have to wait for avast to timeout waiting for that ping because they have insanely long timeouts set for some inexplicable reason

basically we have to figure out which program is trying to ping and then set a manual rule in our firewalls to allow it, then the shutdown will take just a second or two again

or avast could just stop trying to phone home with so much tracking data

ps. the newest beta still does NOT fix the problem as of 8/15  20.7.2557
Title: Re: PC shutdown problems
Post by: DougCuk on August 19, 2020, 10:52:19 PM
I have just fixed this issue on one of my Win7x64 computers - by doing a complete uninstall using the AvastClear Uninstall Utility.

I have 4 computers in regular use with the same security software installed - but only one of them has suffered from the "Slow Shutdown" problem. The symptom being that Windows Shutdown is delayed because the Avast Antivirus Service takes almost 3 minutes to stop and generates a System Event Log error message:
"The Avast Antivirus service did not shut down properly after receiving a preshutdown control."
Logged as a Service Control Manager Error - Event ID: 7043.

I have two virtually identical Win7 computers but only one was exhibiting the "Slow Shutdown" problem.
So it seemed unlikely it was a specific software incompatibility as both machines are setup with identical software. It seemed more likely that there was a "corrupted" Avast setting (located either in a config file or in the registry) that was causing this problem. So a full uninstall and reinstall might eliminate the problem.

I usually try to avoid wiping my Avast setup as I have a lot of Exceptions configured to protect my utility collections getting quarantined as suspect. (Lots of Nirsoft tools and other snooping utilities). I used the "Backup Settings" option in Troubleshooting and took the risk that restoring this backup might re-import whatever "corruption" was causing the Slow Shutdown issue. Fortunately restoring the Settings Backup onto a new clean install proved OK - and Windows now shuts down in under 20 seconds again (and all my Exceptions and other tweaks are preserved).

On my system (Win7x64 - Intel i5-2500 3.3Ghz with 8GB RAM - WD Black 1TB HDD)
Without the Avast Antivirus Service active Shutdown only takes about 7 seconds
If the Avast Antivirus Service responds normally then Shutdown takes 14-19 seconds
When the Avast Antivirus Service gets stuck then Shutdown can take up to 3 minutes

I do not believe that any Avast "phone home" tracking is causing this problem - all my systems have the AvastUI program blocked from phoning home via an outgoing firewall rule - but disabling this made no difference to the problem. 

For me I was seeing this issue occasionally with v20.4 - just a few times a month - not at every shutdown.
It disappeared after the update to v20.5 and then started happening at every shutdown with v20.6
Title: Re: PC shutdown problems
Post by: vidok2004 on August 21, 2020, 09:09:28 PM
we are tired of this problem, and at home on the free version and at work on the paid version, we will use Kaspersky, let our lawyers decide how to get the money back for a disgusting product.
Title: Re: PC shutdown problems
Post by: DougCuk on August 22, 2020, 10:03:18 AM
vidok2004: I too was tired of this problem - so I decided to try and fix it - and it worked. And it is still fixed over two days later with at least 6 shutdowns completed - so the fix appears to hold. (See my previous post above.)

Yes it would be great if Avast could identify the cause and issue a corrective update - but in the mean time this issue does appear to be fixable by the end user without too much effort. Just backup your Avast settings, run the Avast Uninstall utility https://support.avast.com/en-ww/article/Uninstall-Antivirus-Utility/ (https://support.avast.com/en-ww/article/Uninstall-Antivirus-Utility/) - then reinstall Avast and restore your settings. Annoying but hardly difficult.

So far I have only seen this problem on 1 out of 4 computers - so it was not too disruptive - and of course if the problem returns then that WILL be an issue - but to threaten legal proceedings seems a little excessive.
Title: Re: PC shutdown problems
Post by: av4me on August 23, 2020, 02:12:37 PM
reinstall of 20.6 did NOT fix this for me, not at all in the slightest

see if your reinstall survives several more boots/shutdowns without the problem coming back

in fact 20.6 reinstall suddenly started a second problem on boot, I would constantly get AVLAUNCH "Bad Image" errors which are reported elsewhere on the forums

Avast is really screwing up bad since 20.4

so what I did was roll back to 20.4 - solved both problems

you can do this by downloading the 20.4 offline installer using the archive .org snapshot

http://web.archive.org/web/20200515163551/http://iavs9x.avg.u.avcdn.net/iavs9x/avast_free_antivirus_setup_offline.exe

Code: [Select]
http://web.archive.org/web/20200515163551/http://iavs9x.avg.u.avcdn.net/iavs9x/avast_free_antivirus_setup_offline.exe

(you can see it's a clean link to avast's CDN copy (they own avg) and http://files.avast.com/iavs9x/avast_free_antivirus_setup_offline.exe redirects to avcdn.net) so hopefully safe since Avast absolutely refuses to maintain an archive of their previous versions despite hundreds of requests over the year from so many people going through new version breakage

NOTE: you must force your PC offline to install 20.4 and not have it instantly upgrade back to 20.6 - right click on your network adapter or internet icon in your system tray and select disconnect and don't go back online until it's all uninstalled and reinstalled

I mean you'd think Avast would have a rollback feature after all these years but nope



Title: Re: PC shutdown problems
Post by: bob3160 on August 23, 2020, 02:18:58 PM
"I mean you'd think Avast would have a rollback feature after all these years but nope"
Which AV's have this feature? I can't think of any.
Title: Re: PC shutdown problems
Post by: DougCuk on August 23, 2020, 04:16:16 PM
AV4me:  My fix is still holding after 3½ days and about 12 shutdowns. (Shutdown in 14 to 19 seconds every time)
Sorry to hear a reinstall of v20.6 did not fix your problem - did you use the AvastClear Uninstall Utility?

I specifically used and recommended downloading the Uninstall Utility as this removes almost all Avast file and registry settings - whereas the standard Windows Uninstall will leave a lot of settings intact. From experience I have found that many installer scripts will just reuse these settings if present - instead of rewriting them from scratch - and the reinstall thus appears to have failed to correct the problem. Whereas in fact the "corrupted" setting has just survived the reinstall process. 
Title: Re: PC shutdown problems
Post by: bob3160 on August 23, 2020, 04:21:08 PM

If Repair doesn't fix the problem, try the following:
If your Avast settings are not the default settings and you want them restored after the Clean Install, follow this before removing Avast.
https://goo.gl/TXjM7h
Clean Install of Avast:
https://goo.gl/4Ptzkf
If you need additional help with the Clean Install, watch this:
https://youtu.be/p-h3myRD51A
Title: Re: PC shutdown problems
Post by: DougCuk on August 23, 2020, 05:30:51 PM
From my limited experience of fixing this issue on one PC here are a few observations:
1. The "Repair App" option in Settings->Troubleshooting does NOT fix this problem.
2. Using the "Backup Settings" and then "Restore Settings" onto a clean install is OK
3. I strongly suspect the standard Windows Uninstall doesn't clear the "corruption" (earlier posts in this thread?) 
4. You need to use the AvastClear Uninstall Utility to ensure a clean slate for a successful reinstall.

Bob3160: Couple of points:
Your links are all for older versions of the program with different menus
The "Backup Settings" option is now in the Settings->Troubleshooting menu
and no longer has any selection options - it is all or nothing (and content is encrypted).
I believe the recommendation is for best results the AvastClear should be run on the intact installation
- that is do not run the normal Windows Uninstall first as it removes useful clues the utility can use.

My exact sequence of steps was as follows:
1. Download the Avast Uninstall Utility https://support.avast.com/en-ww/article/Uninstall-Antivirus-Utility/ (https://support.avast.com/en-ww/article/Uninstall-Antivirus-Utility/)
1. Use the "Backup Settings" option in Troubleshooting (there are no selection options in current version)
2. Un-tick the "Enable Self-Defense" option in Troubleshooting
   (i.e. Disable the protection of Avast's own files and settings)
3. Run the Avast Uninstall Utility (AvastClear.exe) on the intact Avast installation.
   With Self-Defense disabled I opted to run AvastClear in normal mode (Safe Mode is offered & suggested)   
   System will reboot after the uninstall - which ensures the cleaned Registry is loaded.
4. Probably not essential but there was one extra cleanup step that I did - after the reboot.
    I deleted an Avast folder that was left behind - C:\Program Data\AVAST Software\   
5. Reinstall Avast free - I used the full Offline Installer.
6. Use the option in Troubleshooting to "Restore Settings" - which includes all Exclusions and Allow/Block selections.
Title: Re: PC shutdown problems
Post by: bob3160 on August 23, 2020, 06:04:24 PM
@DugCuk,
Thanks for pointing out the need to revise the instructions to Back-up and Restore
the Avast customized settings which I've done.
The rest of the instructions still remain in order to accomplish a clean install of Avast.



Title: Re: PC shutdown problems
Post by: Wizzzzard on August 25, 2020, 04:39:06 AM
I am very disappointed that there has not been any resolution to this stuck registry problem.

Today Avast decided to remove a dll file from Divx player "libGLESv2.dll" which has been on my computer for several years without issue and with no notification of doing so, it has taken me hours to fix it. :( Last time it was a vital dll file needed to run my raid array and caused Windows to be unbootable, I had to use another PC to put the dll back in windows.

Avast has never stopped or caught a real virus in all the years of using it, it has only ever caused issues and without a fix for the stuck registry I can't continue to use this broken software so I'm uninstalling it.

EDIT: Horray my computer now takes around 5 seconds to shutdown without Avast. It's a shame this was my only option.
Title: Re: PC shutdown problems
Post by: DougCuk on August 25, 2020, 10:03:28 AM
My fix for this issue worked on one of my customers computers yesterday (see my post above for all the steps).
The computer was working OK with v20.4 installed - but after it updated direct to v20.6 the "Slow Shutdown" bug hit - with a 3½ minute wait at Shutdown.

I checked the Event Log and sure enough it had a Service Control Manager Error (Event ID: 7043) in the System Log with the description "The Avast Antivirus service did not shut down properly after receiving a preshutdown control." Applied the fix and Shutdown went back to 20 seconds.
Title: Re: PC shutdown problems
Post by: DarkZero556 on September 23, 2020, 06:11:20 AM
I have just fixed this issue on one of my Win7x64 computers - by doing a complete uninstall using the AvastClear Uninstall Utility.

I have 4 computers in regular use with the same security software installed - but only one of them has suffered from the "Slow Shutdown" problem. The symptom being that Windows Shutdown is delayed because the Avast Antivirus Service takes almost 3 minutes to stop and generates a System Event Log error message:
"The Avast Antivirus service did not shut down properly after receiving a preshutdown control."
Logged as a Service Control Manager Error - Event ID: 7043.

I have two virtually identical Win7 computers but only one was exhibiting the "Slow Shutdown" problem.
So it seemed unlikely it was a specific software incompatibility as both machines are setup with identical software. It seemed more likely that there was a "corrupted" Avast setting (located either in a config file or in the registry) that was causing this problem. So a full uninstall and reinstall might eliminate the problem.

I usually try to avoid wiping my Avast setup as I have a lot of Exceptions configured to protect my utility collections getting quarantined as suspect. (Lots of Nirsoft tools and other snooping utilities). I used the "Backup Settings" option in Troubleshooting and took the risk that restoring this backup might re-import whatever "corruption" was causing the Slow Shutdown issue. Fortunately restoring the Settings Backup onto a new clean install proved OK - and Windows now shuts down in under 20 seconds again (and all my Exceptions and other tweaks are preserved).

On my system (Win7x64 - Intel i5-2500 3.3Ghz with 8GB RAM - WD Black 1TB HDD)
Without the Avast Antivirus Service active Shutdown only takes about 7 seconds
If the Avast Antivirus Service responds normally then Shutdown takes 14-19 seconds
When the Avast Antivirus Service gets stuck then Shutdown can take up to 3 minutes

I do not believe that any Avast "phone home" tracking is causing this problem - all my systems have the AvastUI program blocked from phoning home via an outgoing firewall rule - but disabling this made no difference to the problem. 

For me I was seeing this issue occasionally with v20.4 - just a few times a month - not at every shutdown.
It disappeared after the update to v20.5 and then started happening at every shutdown with v20.6

long time computer tech and after following your directions to the letter it still takes a full minute to shutdown.   Before updating to the latest Avast I had created a batch file with an icon that would use the sc.exe control "avast! antivirus" 255 along with some other shutdown commands in an administrative cmd.exe and it went from 4 minutes shutdown to about 10 to 15 seconds shutdown time.  Intel I7 and SSD's.   Now it is back to this BS.  I put up with the 4 minute shutdowns for over a month and now while it's a bit less this computer will shutdown in about 3 seconds without Avast.  A full 60 seconds to shutdown is not acceptable.   There should be a command that can be run from and admin command prompt that will allow shutdown the way it did on 20.4 (or whichever one that worked on).

 I have to shut down power to this computer - basically pull the plug on the power for reasons I won't go into and having to sit there and wait for this is beyond ridiculous.  One program should not have that level of control.   Sort of reminds me of what's going on in this country and Ben Franklin's quote: "Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety"  We're giving up a lot of liberty to Avast controlling our computer for a little safety!   

Avast was good for quite a while.   Too bad they screwed it up so badly.   Time to go looking for a new AV unless this gets fixed soon.
Title: Re: PC shutdown problems
Post by: DarkZero556 on September 23, 2020, 07:26:53 AM
av4me,  thanks for the link to the 20.4 version.   After doing another safe mode boot. an AvastClear uninstall again and then still even after that uninstall finding a ton of Avast crap in my registry which I then deleted and then installing 20.4 I can now shut down in 5 seconds after clicking the icon that runs the batch file in admin mode.   These are the commands in the batch file:
sc.exe control "avast! antivirus" 255
pause
shutdown /s /f /t 0

   You will want to pause a couple seconds and then click 'OK' on the Avast window that pops up asking if you want to shut it down - that's why there is a 'pause' in the batch file so you can do that and give Avast a couple seconds to popup and shutdown.  Then just tap any key to finish the shutdown.

   Still not thrilled about some things I see.   If I block all Internet access with my firewall I still saw access happening on my router upon shutdown with 20.7 and I believe there may be some with 20.4  but very little with the shutdown batch file I use above.   Makes you wonder what all is being collected.   And by who.   This program increased in size by 114 Megabytes in just the last couple months - about 25% bigger. 
Title: Re: PC shutdown problems
Post by: DougCuk on September 23, 2020, 04:42:07 PM
Are you sure your shutdown issue is primarily due to Avast? 
The commands you are using affect a lot more than just the Avast Service
- the shutdown command you are using says it " forces all running programs to close without warning".

The key identifier for the Avast "Slow Shutdown" issue is the System Event Log error message:
"The Avast Antivirus service did not shut down properly after receiving a preshutdown control."
Logged as a Service Control Manager Error - Event ID: 7043.
Were you getting this error?

This type of error is behind most Slow Shutdown problems - and is not restricted to Avast.
Have you found any other services (for other programs) reporting the same type of error?
If you were getting the Event ID: 7043 error - then all I can say is for me my fix has worked 4 times now on different computers.
Title: Re: PC shutdown problems
Post by: DarkZero556 on September 24, 2020, 01:32:22 AM
When I removed Avast, rebooted and used the program Private Firewall as a temporary AV (which warns of any and all changes - annoying but it works very well and is only 3.5 Megabytes versus 478 Megabytes for Avast!)  and then shutdown the computer shuts down in about 4 seconds.  So yes it is very related to Avast.  I've gone back to 20.4 and when issuing the Avast stop command in my batch file (sc control "avast! antivirus" 255) as mentioned it shuts down in about 10 seconds.   

When trying to do the same routine with 20.7 it takes a full 60 seconds to shutdown.   Using a normal shutdown from the Windows menu 'Shutdown' takes about 4 minutes with 20.7.   Also something quite unbelievable is that 20.7 actually blocks the computer from shutting down when holding down the power button.  Normally almost all computers will force a Windows shutdown if you hold down the power button for 5 seconds but I could not even force shutdown with the power button after holding it at least 30 seconds!   Avast has taken over way too much power!
Title: Re: PC shutdown problems
Post by: bob3160 on September 24, 2020, 12:17:14 PM
When I removed Avast, rebooted and used the program Private Firewall as a temporary AV (which warns of any and all changes - annoying but it works very well and is only 3.5 Megabytes versus 478 Megabytes for Avast!)  and then shutdown the computer shuts down in about 4 seconds.  So yes it is very related to Avast.  I've gone back to 20.4 and when issuing the Avast stop command in my batch file (sc control "avast! antivirus" 255) as mentioned it shuts down in about 10 seconds.   

When trying to do the same routine with 20.7 it takes a full 60 seconds to shutdown.   Using a normal shutdown from the Windows menu 'Shutdown' takes about 4 minutes with 20.7.   Also something quite unbelievable is that 20.7 actually blocks the computer from shutting down when holding down the power button.  Normally almost all computers will force a Windows shutdown if you hold down the power button for 5 seconds but I could not even force shutdown with the power button after holding it at least 30 seconds!   Avast has taken over way too much power!
If you're serious about getting to the actual cause of this problem, please do the following,

Submitting a support file to Avast
Instructions how to use it can be easily found at:
https://www.avast.com/en-us/faq.php?article=AVKB33#artTitle
Title: Re: PC shutdown problems
Post by: r@vast on September 24, 2020, 01:39:48 PM
When I removed Avast, rebooted and used the program Private Firewall as a temporary AV (which warns of any and all changes - annoying but it works very well and is only 3.5 Megabytes versus 478 Megabytes for Avast!)  and then shutdown the computer shuts down in about 4 seconds.  So yes it is very related to Avast.  I've gone back to 20.4 and when issuing the Avast stop command in my batch file (sc control "avast! antivirus" 255) as mentioned it shuts down in about 10 seconds.   

When trying to do the same routine with 20.7 it takes a full 60 seconds to shutdown.   Using a normal shutdown from the Windows menu 'Shutdown' takes about 4 minutes with 20.7.   Also something quite unbelievable is that 20.7 actually blocks the computer from shutting down when holding down the power button.  Normally almost all computers will force a Windows shutdown if you hold down the power button for 5 seconds but I could not even force shutdown with the power button after holding it at least 30 seconds!   Avast has taken over way too much power!


Hi,

Could you please provide us with the dump.
Please see this post:https://forum.avast.com/index.php?topic=234120.msg1547400#msg1547400
Title: Re: PC shutdown problems
Post by: sinister2 on September 25, 2020, 04:10:56 PM
I'm still running version 20.5 (2415) and the shutdown is OK. It was the following version  (20.6) that caused the huge shutdown delay for me.

20.5 is still getting virus definition updates (latest just installed today), so for now this is a good workaround for me.  Presumably at some point the virus definitions will no longer be updated unless the main program is updated too, but for now it's still OK.
 
At that point I'll probably try the complete clean uninstall method as mentioned above , but as that means a complete backup of my 120GB boot drive (and then restore if the shutdown problem is still present) I'm putting that off for as long as possible.
Title: Re: PC shutdown problems
Post by: DavidR on September 25, 2020, 05:29:44 PM
I'm still running version 20.5 (2415) and the shutdown is OK. It was the following version  (20.6) that caused the huge shutdown delay for me.

20.5 is still getting virus definition updates (latest just installed today), so for now this is a good workaround for me.  Presumably at some point the virus definitions will no longer be updated unless the main program is updated too, but for now it's still OK.
 
At that point I'll probably try the complete clean uninstall method as mentioned above , but as that means a complete backup of my 120GB boot drive (and then restore if the shutdown problem is still present) I'm putting that off for as long as possible.


Well the latest regular release is 20.7.2425, so in all honesty resolving an old program version isn't going to happen.

You should update to the latest version and see if the problem still exists, then there is something to investigate.

A clean reinstall of Avast doesn't require complete backup of your 120GB boot drive.  Even if there were to be a problem uninstall avast, yes and revert to the existing version, this assumes you have kept a copy of the off-line installation file or can get a copy of it.  Nothing else on your OS should change.

Sledge hammer to crack a nut comes to mind.
Title: Re: PC shutdown problems
Post by: sinister2 on September 25, 2020, 08:28:37 PM
so in all honesty resolving an old program version isn't going to happen.

Not sure what you mean here, there's nothing to be resolved in 20.5, it works fine and for now continues to receive definition updates.

Quote
You should update to the latest version and see if the problem still exists

It almost certainly will still exist, as they apparently haven't even acknowledged the problem yet, never mind claimed to have fixed it. Maybe 20.8 will fix it, or maybe not.

Quote
Even if there were to be a problem uninstall avast, yes and revert to the existing version, this assumes you have kept a copy of the off-line installation file or can get a copy of it.  Nothing else on your OS should change.

Maybe. But maybe not. Maybe the newer version makes some registry changes or puts a DLL down a system folder or whatever. No guarantee that simply re-installing the older version will revert everything to exactly the same condition and function as it had previously. Same with Windows restore point before an update or program installation, sometime works, sometimes doesn't. I've been using PC's for over 30 years and have seen stuff like that happen many times... only way to be 100% sure of restoring identical operation the first time would be to do a complete restore. I'm backing up with Acronis at least once a month anyway, so the only hassle is having to do the full restore.

If you think installing a new software version then re-installing a previous version restores exactly the same conditions as existed before the new install 100% of the time then you haven't been using PC's for very long. :)

I've already wasted hours tracking done this problem when I first posted about it after version 20.6 was released, I've no desire to waste further hours playing about going back and forward between different versions.

Title: Re: PC shutdown problems
Post by: DavidR on September 25, 2020, 09:55:17 PM
1.  If there is a problem in any version other than the current one, then essentially there is no fixing it, unless the problem still exists in the current version

2.  How will you know this if you first don't try it.

3.  I don't speculate. 

4.  I have only been using avast for over 16 years and computers very much longer than that, 1980s. 8086 and 8286 and window 3 come to mind.  So don't make assumptions, it pretty much like speculation, not based on fact.

5.  Me too, so I done here.
Title: Re: PC shutdown problems
Post by: sinister2 on September 26, 2020, 01:24:26 PM
Thank you for trying to help anyway, I appreciate that.

Hopefully we all get a solution for this shutdown problem soon, one way or another.
Title: Re: PC shutdown problems
Post by: bob3160 on September 26, 2020, 01:57:22 PM
Thank you for trying to help anyway, I appreciate that.

Hopefully we all get a solution for this shutdown problem soon, one way or another.
I'm on Windows 10 v2004 running Avast Omni v20.7.245 Build 20.7.5568.599
and I don't have any problems or delays with shutdown or re-starts.
Title: Re: PC shutdown problems
Post by: sinister2 on October 04, 2020, 12:56:20 PM
After a full backup to allow easy restoration of my fully working 20.5 version I updated to the latest version and the long shutdown delay returned as expected.

I then tried the complete uninstall util and full offline install of latest version as suggested by DougCuk and am happy to report that it's working fine with normal (under 20 secs) shutdown over last few days. So a big thanks to DougCuk , if you'd like to PM me your paypal address I'd be happy to send you something to buy a few beers, coffees, hot chocolates or whatever. :)

I'll outline exactly what I did as there are a few custom install specifics that may have made a difference to the success, where others have found this method didn't work for them.

1. Used the "Backup settings" option on Avast Troubleshooting page
2. Un-ticked the "Enable Self-Defense" option on Avast Troubleshooting page
3. Ran the Avast Uninstall Utility (AvastClear.exe) on the intact Avast installation
(As DougCuk did I ran this from normal mode even though safe mode was recommended)
4. After the re-boot I manually deleted the remaining C:\Program Data\AVAST Software\ folder including sub-folders
5. Ran the full offline installer of latest Avast version, with custom install:
(On first page, un-ticked the "Yes, Install Avast secure browser" option, then did customised install and selected only the basic features I needed, that is the first 3 options (File Shield, Behaviour Shield and Web Shield) and the very last option ("Do Not Disturb" mode). All other options were un-ticked.
6. With latest version now installed I went back to the Avast Troubleshooting page and selected "Restore Settings" to restore my settings saved in step #1
Title: Re: PC shutdown problems
Post by: av4me on October 24, 2020, 02:55:37 PM
can anyone suggest a safe/trustworthy place to down the 20.5 offline installer?

unfortunately IA archive didn't capture it, goes from 20.4 to 20.7

20.4 is no longer being allowed to get virus signature updates and I'm not going through the 20.6-20.7 update/shutdown hell until people confirm the newer versions no longer have the problem

really don't understand why avast poisoned the product like this, makes no sense
Title: Re: PC shutdown problems
Post by: rocksteady on October 25, 2020, 10:34:41 AM
Some of us use old versions on old OS like XP. A source for those has been File Puma.
You should be able to find 20.5 on there if you go:
https://www.filepuma.com/download/avast_free_antivirus_20.5-25985/download/
Title: Re: PC shutdown problems
Post by: av4me on October 29, 2020, 05:07:03 PM
both 20.8 and 20.9 beta still take 5+ minutes on shutdown

this is an absolute nightmare waste of time to constantly install, uninstall, disable modem and install old version

GIVE US 20.5 OFFLINE INSTALLER direct download link please!

my gosh this is ridiculous
Title: Re: PC shutdown problems
Post by: DavidR on October 29, 2020, 05:58:41 PM
both 20.8 and 20.9 beta still take 5+ minutes on shutdown

this is an absolute nightmare waste of time to constantly install, uninstall, disable modem and install old version

GIVE US 20.5 OFFLINE INSTALLER direct download link please!

my gosh this is ridiculous


There is very little chance of avast giving a link to old program versions.

There is nothing to stop you using filepuma.com https://www.filepuma.com/download/avast_free_antivirus_20.5-25985/
Why not avast 20.6 or 20.7 ?
They are also available at filepuma.com
Title: Re: PC shutdown problems
Post by: av4me on October 29, 2020, 11:06:27 PM
first you'd have to be pretty foolish to install a program with low level drivers from an unknown source without even a crc hash to validate it's not tampered with

secondly that's not the offline installer so it's useless, it phones home to avast and promptly upgrades itself on install so it doesn't remain 20.5

third any version over 20.5 is broken, that's when avast started tampering with things like switching from the ini to the registry and other big changes

I have 20.4 but 20.4 is now being blocked from getting signature updates so 20.5 is the last viable

unfortunately there is no safe place to download 20.5 offline installer, only avast could provide it at this point
Title: Re: PC shutdown problems
Post by: DavidR on October 30, 2020, 12:18:15 AM
Well we can only lead the horse to water, we can't make it drink.

Its your choice, but you won't get old versions direct from avast.

You don't only have CRC, the file as downloaded also has a sha1 and sha256 the digital signature has a digital signature from Avast.
Title: Re: PC shutdown problems
Post by: chris.. on October 30, 2020, 09:18:59 AM
unfortunately there is no safe place to download 20.5 offline installer, only avast could provide it at this point
We are never better served than by ourselves.  ;)
For someone as fussy as you seem to be, I find it strange that you are now discovering that avast does not offer the old versions and especially (knowing this) that you don't download the offline versions yourself when they are available.... at least some of them while you check that all is well with the new versions. :-\
Title: Re: PC shutdown problems
Post by: av4me on October 30, 2020, 04:53:36 PM
to be fair I've never downloaded the offline versions before because for years now Avast has been trouble free, I've barely ever thought about it

it only went sideways this year

however, some good news to report, the very very newest 20.9 beta, not the one from last week but build 5730, finally seems to solve the shutdown problem, it's now back to seconds instead of many minutes

but predictable, unfortunately, there is a new problem with 20.9, any GUI popup or attempt to bring up the menu immediately freezes the GUI and access to the rest of windows desktop until I use control-alt-delete to start the task manager

I'll use the 20.9 beta thread for that problem though, I guess technically this one is "solved"

ps. spoke too soon, had another 5+ minute shutdown earlier today on 20.9
Title: Re: PC shutdown problems
Post by: Pierogi on October 31, 2020, 10:37:56 PM
Today, for the first time on version 20.8, i had this kind of "shutdown" problem. But i'm only like 70 percent sure it was caused by Avast program. Everything was working fine till few hours ago i had to turn off my PC and it stopped on "shutdown" windows screen. After about 9 minutes of waiting i decided to restart it manually, then i looked into event viewer and i found no messages related to crashed Avast, but i saw that when message appeared about shutting "aswbIDSAgent", nothing more occurred, and there was supposed to be an entry about "Avast Antivirus" and other programs closing, so i suppose it got lagged because it was trying/could not close Avast properly.
Title: Re: PC shutdown problems
Post by: gggmot on January 22, 2021, 08:26:03 PM
I have WIN 10. Once in a while my computer would shut down after scanning.
Y- I reinstall avast a BUNCH of times + repair!


Premium Security
20.10.2442 (build 20.10.5824.624)
210122-2
1.0.591