Author Topic: Can't delete Virus Chest entry.  (Read 468 times)

0 Members and 1 Guest are viewing this topic.

Offline x3style

  • Newbie
  • *
  • Posts: 2
Can't delete Virus Chest entry.
« on: May 10, 2021, 02:33:51 PM »
Hi,

I've got an entry in the virus chest I can not remove. Any other extra entries can be removed and works as intended.

I've read that this problem dates back to 2018 and it still is occurring.

Any idea how i can clean this up in the most non-intrusive and least destructive way? I tried removing the entry from the index.xml but it wont let me, i assume Avast itself is blocking me from doing so. Is there an easy way to turn it off to allow me to clear the bugged file?

Offline Pondus

  • Probably Bot
  • ****
  • Posts: 37181
Re: Can't delete Virus Chest entry.
« Reply #1 on: May 10, 2021, 03:44:55 PM »
repair  >>  https://support.avast.com/en-ww/article/Repair-Antivirus/

then restart and try again


Offline x3style

  • Newbie
  • *
  • Posts: 2
Re: Can't delete Virus Chest entry.
« Reply #2 on: May 10, 2021, 04:30:20 PM »
I managed to figure it out.

For anyone else looking to fix this in an elegant way. If your file gets stuck in the virus chest.

The virus chest seems to basically be an XML file where the binary is stored in text xml format under C:\ProgramData\AVAST Software\Avast\chest\index.xml
You can open this file and see the entries of all the files added to the virus chest. Sometimes as with mine it gets for some reason stuck there and you will be unable to remove it using the interface.

So what you need to do is remove the entry associated with your particular file from the index.xml.


The index.xml being an Avast system file will be protected by the Avast Self Protection mechanism.

This in turn can be disabled temporarily to allow you to edit the file by going to MENU->Settings->Troubleshooting -> Enable Self-Defense [Turning off the Avast protections only won't unlock the index.xml ::)][Turning this option off puts your Avast at risk of tampering so be sure you know what you are doing before turning it off. Then again what we're trying to do is tampering with the Avast files to fix a stuck entry so.

Once it's off open a text editor as admin, either Notepad or Notepad++ if you want something fancy.
Edit out the whole XML block out not just the Binary part. Save the file. Restart the Self-Defence, Turn on all Protections back on.

No Reinstall/Repairs or Restarts required.

Simple, elegant, tailored to the use case! :)