Cannot delete "Avast Software" registry key

Hello!

I decided to remove Avast from my Windows 7 Ultimate pc.

First I used Avast’s uninstall utility.

Then I searched the entire computer (C and D drives) for anything ‘avast’ and deleted 151 files.

Then I searched the registry and deleted anything ‘avast’.

But there’s one registry key I cannot delete:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AVAST Software

I also found an Avast Software folder sitting in,
File explorer → Program Files → Common Files → Avast Software
and deleted it.

And still I cannot delete that registry key.

I found an Avast Software folder sitting in Task Scheduler under Task Scheduler Library.

When I tried to delete it I got an error:
“The directory is not empty”

But, there’s nothing to the right, in the middle section of Task Scheduler for this Avast Software folder, where its tasks would be listed:


https://i.postimg.cc/MGYDJS6c/Empty-AVAST-Software-folder-from-Task-Scheduler.png

When I right-clicked the Avast Software folder and tried to “Display All Running Tasks” I got,
“Task Scheduler service is not available. Verify that the service is running.”

I checked Services: Task Scheduler is started.

Now I’m stumped.

(again, this is all leftover from first using Avast’s uninstall tool)

So, how to:

  1. Remove the Avast Software folder from Task Scheduler and,

  2. Remove the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\AVAST Software key ?

Any suggestions are much appreciated!
Thanks!

@ drffcc
I saw this early this morning and I was hoping one of the Avast Team might jump in as this is very strange and certainly not normal. So much so that I haven’t seen this reported in the forums before.

Did you not use the standard uninstall from Control Panel - Programs & Features - Avast Antivirus - Uninstall ?
Whilst running the uninstall utility should have done the job (not sure how this might have impacted if you were using a non standard installation location).

Did the uninstall utility boot the system into safe mode to carry out the uninstall ?

The reason I ask as it would appear that Avast Self Defence module could stop/protect against removal of some of the things you mentioned. But it should have been clear that it was the Avast Self Defence module blocking.

As Static_Syn, mentioned it could also be a permissions issue (Admin Rights).

Yes, I used regedit with admin rights.

No, I’m not an A+ techie by any means.

Just a guy who digs and has “on the job” learning and experience.

But a jack-of-all, master-of-none nonetheless.

My first move was to use Avast’s uninstall utility, not the Control Panel, and no, it did not boot into Safe Mode.

I have gone into Safe Mode and tried deleting the key - can’t.

If it didn’t boot into safe mode it would be trying to uninstall avast whilst it is running and is most likely to the avast self-defence module. That said it ‘should’ have mentioned/sought permission to reboot into safe mode.

Avast doesn’t run in safe mode, so it shouldn’t be blocking the delete action for the registry key. You could try booting into safe mode and running the uninstall utility from there.

In Windows 10 the entry for the avast task manager is a hidden one, I can see a task for the Avast Emergency Update check, but not on my win10 system. I don’t know if this would be the same for win7, if so I guess the error message “The directory is not empty” would confirm that.

Please use AvRegLink.exe tool to remove the registry link: http://public.avast.com/~hnanicek/AvRegLink.exe

Execute as Administrator:
AvRegLink.exe delete “SOFTWARE\WOW6432Node\AVAST Software”

It’s not working anymore.

I just temporarily imported an old registry hive into my new computer so that I could extract some of its records. When I was done I tried to delete those entries, but it was a pain because the old permissions were also imported which was all wonky (several were system-only, most were read-only). After messing with half a dozen registry editors I finally got all of them deleted EXCEPT for one named AVAST Software, located at Computer\HKEY_USERS\DEAD_COMPUTER\Wow6432Node\AVAST Software.

Clicking on the key displays an “Error Opening Key” message with “Access is denied”. When I try to change permissions, there are NO users listed, and when I go into advanced permission settings the owner is “Unable to display owner.” I can neither change the permissions nor change the owner (“Access is denied”).

The last editor I’ve tried was AvRegLink.exe which has failed with the following errors:

`AvRegLink.exe delete: "Computer\HKEY_USERS\DEAD_COMPUTER\Wow6432Node\AVAST Software"` `Unable to open link key! err=2` `AvRegLink.exe query: "Computer\HKEY_USERS\DEAD_COMPUTER\Wow6432Node\AVAST Software"` `Unable to open link key! err=2`

One article said that if the above doesn’t work, you should manually create another key then create a link over the Avast key:

`AvRegLink.exe create "Computer\HKEY_USERS\DEAD_COMPUTER\Wow6432Node\AVAST Software" "Computer\HKEY_USERS\DEAD_COMPUTER\killit"` `Unable to open/create source key! err=87`

Technically this isn’t hurting anything, since no program should automatically be looking in Computer\HKEY_USERS\DEAD_COMPUTER, but it’s nonetheless a broken registry entry, so I’d rather get rid of it.

P.S. Your crappy CAPTCHA is damn near impossible for a HUMAN to read.

See Reply #6.

PS: Captcha is only needed for your first 3 posts. (Spam protection)