Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: HellcatM on March 12, 2012, 01:07:11 AM

Title: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 12, 2012, 01:07:11 AM
I'm having a different issue with a corrupt Avast install.  My father was having an issues with his computer where Yahoo messenger wouldn't connect and Windows updates wouldn't install.  I was trying to fix that when I noticed he had some Windows updates.  I tried to install them but kept getting an error.  I ran malwarebytes which found nothing then superantispyware which found a few but nothing major.  Also some of his icons went blank.  I saw the update for Avast so I went to update it and it seemed to update fine.  I went to reboot the system and the screen went blank and wouldn't boot into Windows.  I booted into safe mode and ran iobit uninstaller to uninstall Avast and it looked like it uninstalled fine.  I booted back into Windows no problem.  I uninstalled Yahoo messenger.  I also found the Avast uninstall utility and ran it for Avast 7, rebooted then 6 (thinking maybe there was some stuff left over).  I rebooted again, tried installing Avast 7 which seemed to install fine, opened it to look at it and the Protection Status tab was blank.  I rebooted and the screen went blank again.  So again booted into safe mode and ran the uninstall utility and again it seemed to uninstall fine.  I rebooted into Windows again and noticed a few things.  Windows Defender was disabled and Avast didn't uninstall completely leaving some locked folders.  I tried to unlock them with file assassin with no luck then tried lock hunter also with no luck.  I tried to install another anti-virus and it wouldn't install.   I tried installing Windows updates again with no luck then tried Fixit utilities got an error with them as well.  When I installed Avast again Windows Defender was enabled.  And before anyone asks I did try system restore but the restore latest restore point was the day before and when I ran it it didn't fix the issue.  I ran a couple online anti-virus' which found nothing.

I'm guessing he got a virus but either the damage is done and can't be fixed or I have to delete the rest of Avast.  From Defender being disabled when Avast is uninstalled and re-enabled when Avast is installed it makes me think some of my issues have to do with Avast.  Not being able to install updates or run Microsoft Fixit Utilities may not be Avasts problem.  I'm not sure if I have to reinstall Windows or if there is something I haven't thought about.  The only reason I haven't re-installed Windows is because there are a few programs he uses he can't find the disks for.

If anyone can come up with any ideas I'd be happy.

Thank you,
Robert
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: marc-d-l on March 12, 2012, 02:31:34 AM
Download and save this removal tool http://files.avast.com/files/eng/aswclear.exe and a fresh copy of avast 7 then reboot into safe mode and run the tool for all versions of avast you have used in the past, once completed reboot back into normal mode and install your fresh copy of avast.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: Pondus on March 12, 2012, 02:42:01 AM
he/she already did

Quote
So again booted into safe mode and ran the uninstall utility and again it seemed to uninstall fine. 
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: norel on March 12, 2012, 04:56:39 AM
Can you uninstall Avast from Add/Remove Programs or Programs and Features without going into safe mode? If so, do that, then before rebooting delete the leftover files if it'll let you. When you do it that way you'll have to disable Avast's self-protection in Settings>Troubleshooting. After that, disable the Avast service through the Services dialog (services.msc). I would probably disable Windows Defender too, but that's up to you.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: UserA789 on March 12, 2012, 06:32:15 AM
OP... check out my post on the file 'rescache.hit'.  What files/directories aren't being deleted for you?

This seems to be a strange grouping of coincidence, as with v6 I had something similar (as far as Windows Defender and Avast shuttin down).
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 12, 2012, 07:01:10 PM
OP... check out my post on the file 'rescache.hit'.  What files/directories aren't being deleted for you?

This seems to be a strange grouping of coincidence, as with v6 I had something similar (as far as Windows Defender and Avast shuttin down).

I'll check those when I'm there next time.  That may be a few days.  What did you do to fix the issue?  I thought maybe the files were from v6 that weren't properly deleted or written over from v7?  But when running the aswclear program I tried v6, v7 and 32.  These files just won't delete.  I even logged into safe mode with command prompt and tried to delete them that way with no luck.  I did turn off the Windows Defender service.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 13, 2012, 01:46:32 PM
The folders that can't be deleted are in the appdata and def folders under C:\avast\avast software.  I'm not even able to access those folders.  It says I don't have permission, but even turning off UAC doesn't work.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: CraigB on March 13, 2012, 02:03:02 PM
The folders that can't be deleted are in the appdata and def folders under C:\avast\avast software.  I'm not even able to access those folders.  It says I don't have permission, but even turning off UAC doesn't work.
Try signing in with an administrators account then you should be able to delet them.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 13, 2012, 08:17:31 PM
I wrote in my main post I logged in to safe mode which is administrator.  I even logged into safe mode command prompt.  I still can't delete them.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: CraigB on March 13, 2012, 08:31:00 PM
If you run this script http://media.askvg.com/downloads/2009/01/windows-7-registry-tweaks.zip it will add a take ownership to the right click context panel in windows 7, which means you can then right click on the file you wish to delet and take ownership then you'll be able to delet, if your not running win7 dont run the script and you'll have to take ownership of the file manually.

To uninstall the script and restore default settings http://media.askvg.com/downloads/2009/01/restore-default-windows-7-settings.zip

This is what the script adds http://www.askvg.com/collection-of-registry-tweaks-for-windows-7/
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: skay_baltimore on March 13, 2012, 10:37:19 PM
If you run this script http://media.askvg.com/downloads/2009/01/windows-7-registry-tweaks.zip it will add a take ownership to the right click context panel in windows 7, which means you can then right click on the file you wish to delet and take ownership then you'll be able to delet, if your not running win7 dont run the script and you'll have to take ownership of the file manually.



This is what the script adds http://www.askvg.com/collection-of-registry-tweaks-for-windows-7/
Very cool tweak. Thanks.

Reading through the list of the other changes that this tweak makes, I Googled "Take Ownership in Win 7" and found a tweak that only adds the "Take Ownership" option to the context menu in W.E. without making any other changes. It also has the uninstall registry file in case you want to undo the tweak. Here's the link for that solo option tweak, in case anyone is interested:

http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: norel on March 14, 2012, 01:17:36 AM
You might try Dr. Delete. I know you said you already tried File Assassin, but it might be worth a try. I've used it on some pretty tough ones.  :)

http://www.docsdownloads.com/dr-delete-1.htm

The download link is halfway down. It says "Click Here To Download - .zip file - 139 kb." At the top where it says "Dr. Delete Download" isn't a link.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 14, 2012, 03:13:47 AM
Some good suggestions.  Next time I'm at my fathers place I'll try them and let you know if any worked.  I REALLY don't want to re-install Windows.  Luckily his computer is running ok otherwise.  I just told him to be extra careful because he doesn't have an AV.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: mchain on March 14, 2012, 08:23:56 AM
Some good suggestions.  Next time I'm at my fathers place I'll try them and let you know if any worked.  I REALLY don't want to re-install Windows.  Luckily his computer is running ok otherwise.  I just told him to be extra careful because he doesn't have an AV.

No such thing as "being extra careful". 

No internet connectivity until he installs Avast!.  It only takes a second or two for all hell to break loose.  You will not know what hit you without protection.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: Fl_Gulfer0069 on March 14, 2012, 05:00:37 PM
Will this work on games that will not uninstall from the Uninstall area? It won't let me remove any game I install before the new avast update installed itself.
(Internet Security 7.0.1407)
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: skay_baltimore on March 14, 2012, 05:22:40 PM
Will this work on games that will not uninstall from the Uninstall area? It won't let me remove any game I install before the new avast update installed itself.
(Internet Security 7.0.1407)
I'm not sure. As an alternative, have you tried Revo uninstaller in safe mode?
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: CraigB on March 14, 2012, 06:18:43 PM
Will this work on games that will not uninstall from the Uninstall area? It won't let me remove any game I install before the new avast update installed itself.
(Internet Security 7.0.1407)
No it wont, it only works on files.
You also need to update your avast to 7.0.1426 wich may cure your uninstalling problem, if not try uninstalling your games via safe mode and as a last resort use revo.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: UserA789 on March 14, 2012, 06:41:33 PM

What did you do to fix the issue?
Listened as nobody answered the direct question, continually trying to falme me, until I emailed VLK himself.  After that, got told there aint much one can do.  Peraonlly, I think, probably due to its new found fame, Avast is being jack't at every angle... to inlucde the forum.  Its getting like this with most forums you try and bring real issues to as well, so Im not to upset here.

But as of yet, no one... to inlcude the Avast Tech Support... has givenm an answer that leaves me with another choice than re-formatting.  I also have issue with alot of software being suggested, some not even from the originating sites ??? , either way iut'd be nice to see seom real progress happen in this area of folders/files that wont delete.  From what Im hearing on other threads, I dont even dare call iYogi for support.

It seems, on the forum, the answer lies with other vendors, as no method that Avast produces can do it.  Its really starting to feel like this ship has been overrun.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 14, 2012, 07:28:16 PM
Will this work on games that will not uninstall from the Uninstall area? It won't let me remove any game I install before the new avast update installed itself.
(Internet Security 7.0.1407)
No it wont, it only works on files.
You also need to update your avast to 7.0.1426 wich may cure your uninstalling problem, if not try uninstalling your games via safe mode and as a last resort use revo.

Revo free won't work on 64bit programs so I suggest Iobit uninstaller.  It does the same thing as Revo but also is 100% free and works on 64bit programs.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 14, 2012, 07:34:26 PM

What did you do to fix the issue?
Listened as nobody answered the direct question, continually trying to falme me, until I emailed VLK himself.  After that, got told there aint much one can do.  Peraonlly, I think, probably due to its new found fame, Avast is being jack't at every angle... to inlucde the forum.  Its getting like this with most forums you try and bring real issues to as well, so Im not to upset here.

But as of yet, no one... to inlcude the Avast Tech Support... has givenm an answer that leaves me with another choice than re-formatting.  I also have issue with alot of software being suggested, some not even from the originating sites ??? , either way iut'd be nice to see seom real progress happen in this area of folders/files that wont delete.  From what Im hearing on other threads, I dont even dare call iYogi for support.

It seems, on the forum, the answer lies with other vendors, as no method that Avast produces can do it.  Its really starting to feel like this ship has been overrun.

Well if none of these ideas work and if I end up re-installing Windows I probably won't use Avast until I hear the issue is fixed.  Installing an AV and having issues when trying to upgrade and not being able to uninstall in hope to fix the issues is just as bad as having a virus. 
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: CraigB on March 14, 2012, 07:35:54 PM
Iobit  :o no way any iobit product come's anywhere near my system, then again i wouldn't install Revo either ;D
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: skay_baltimore on March 14, 2012, 08:15:50 PM

What did you do to fix the issue?
Listened as nobody answered the direct question, continually trying to falme me, until I emailed VLK himself.  After that, got told there aint much one can do.  Peraonlly, I think, probably due to its new found fame, Avast is being jack't at every angle... to inlucde the forum.  Its getting like this with most forums you try and bring real issues to as well, so Im not to upset here.

But as of yet, no one... to inlcude the Avast Tech Support... has givenm an answer that leaves me with another choice than re-formatting.  I also have issue with alot of software being suggested, some not even from the originating sites ??? , either way iut'd be nice to see seom real progress happen in this area of folders/files that wont delete.  From what Im hearing on other threads, I dont even dare call iYogi for support.

It seems, on the forum, the answer lies with other vendors, as no method that Avast produces can do it.  Its really starting to feel like this ship has been overrun.
I know it's a work around, but did you consider using that reg tweak that allows you to right click on a folder and take ownership (the one I posted...that only tweaks that one thing, not the one that does like 6 or 7 tweaks)? It'd be a lot less hassle than doing a full OS re-install.

(And even aside from using it to delete that troublesome folder, it's nifty to have to get into otherwise inaccessible Win 7 folders.)
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 14, 2012, 10:16:05 PM
I'm going to try all the new suggestions next time I'm in the area to look at my fathers computer.  I hope one of them works.  I'll keep the forum informed either way so if anyone else has the same issue they can hopefully fix it.

Thank you again
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 17, 2012, 12:52:13 AM
If you run this script http://media.askvg.com/downloads/2009/01/windows-7-registry-tweaks.zip it will add a take ownership to the right click context panel in windows 7, which means you can then right click on the file you wish to delet and take ownership then you'll be able to delet, if your not running win7 dont run the script and you'll have to take ownership of the file manually.

To uninstall the script and restore default settings http://media.askvg.com/downloads/2009/01/restore-default-windows-7-settings.zip

This is what the script adds http://www.askvg.com/collection-of-registry-tweaks-for-windows-7/

Well that got rid of the avast folders but I still can't install Avast properly or do Windows update.  I tried to delete everything in the registry that had to do with Avast but couldn't delete Avast real-time shield.  I think that may be the issue why when I install Avast the real-time shield protection status is blank and maybe even has something to do with the black screen on reboot.  I'm guessing it tries to over write these files and entries and since it can't it just leaves them be without an error on installation and since they're older versions of the files they're not compatible with the new version of Avast.  Then again if I could delete all locked (well now registry entries) theirs no saying that that will fix the problem, its just my theory.

 I don't think this has anything to do with not being able to do Windows updates though.  Whatever virus my father got I think deleted some files and I looked up the 8000fff error and none of the fixes work.  I tried to register the windows update files by

Method 6: Register the Windows Update files
Register the Windows Update files. To do this, follow these steps:

    Open an administrative Command Prompt window.
    At the command prompt, type the following command:
    REGSVR32 WUPS2.DLL /S
    REGSVR32 WUPS.DLL /S
    REGSVR32 WUAUENG.DLL /S
    REGSVR32 WUAPI.DLL /S
    REGSVR32 WUCLTUX.DLL /S
    REGSVR32 WUWEBV.DLL /S
    REGSVR32 JSCRIPT.DLL /S
    REGSVR32 MSXML3.DLL /S
    Try to install updates again.

some of them failed.  Could be these files are missing.  I wonder if I can just copy them from my home machine and put them on his machine?  Couldn't be that easy could it?  Maybe I'll just save a copy of his system32 folder and try it and see if that works.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: norel on March 17, 2012, 05:21:58 AM
The Avast Real-Time Shields are associated with the Avast Service. If the service is stopped, the shields quit working and if the service is running you can't uninstall anything. That's why I suggested earlier you first disable the Avast self-protection module then disable the Avast Service just to make sure it's off. I don't know if you tried it, but since you can't delete that real-time shield entry I'd be suspicious of a glitch having to do with the service. I may be way off but at this point it would be easier to try that before reformatting.
Title: Re: Avast won't totally uninstall...leaves locked folders.
Post by: HellcatM on March 19, 2012, 07:03:10 PM
Here is my problem.  Since uninstalling Avast the service doesn't show up so I can't uninstall it.  SO with that in mind do you think re-installing Avast (even though it won't install properly) to stop the service will fix my issue?