Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: Jorolat on June 12, 2009, 08:21:46 AM

Title: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 12, 2009, 08:21:46 AM
Hi ya,

I left my computer on overnight to upload a video, but when I got up this morning the avast! (home edition) icons were missing from the tray.

When I tried to start avast! manually, I got the following error message:

"Error basInitLibrary - initialization of basic library failed! Check out INI file or install program, please. Error: 126"

I downloaded avast! again, but couldn't uninstall the existing version,I just got, "Uninstall failed".

avast! automatically updates itself so I'm pretty sure I've got the latest of everything.

I also tried 2 system restores (I got Windows XP Home) and now I'm stuck.

Any help would be appreciated - as you may well imagine! :)

John Latter / Jorolat
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: .: L' arc :. on June 12, 2009, 08:43:28 AM
-= You may try to Repair avast installation via Add or Remove Programs --> Avast! Antivirus --> Change/Remove --> Scroll down and select Repair..

-= If it fails, Avast! Removal Tool (http://www.avast.com/eng/avast-uninstall-utility.html) can be used..

-= Please notify us if all the steps failed so we can continue to try our best to help solve the problem..
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 12, 2009, 08:54:52 AM
-= You may try to Repair avast installation via Add or Remove Programs --> Avast! Antivirus --> Change/Remove --> Scroll down and select Repair..

-= If it fails, Avast! Removal Tool (http://www.avast.com/eng/avast-uninstall-utility.html) can be used..

-= Please notify us if all the steps failed so we can continue to try our best to help solve the problem..

Thank you for your reply, Fenrir, I have to go offline soon so I'll let you know how I got on later.

John Latter
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: igor on June 12, 2009, 10:40:36 AM
That's strange... sounds like some avast! files were removed, avast! itself teminated... I'd suspect some malware maybe?
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 12, 2009, 11:02:46 AM
-= You may try to Repair avast installation via Add or Remove Programs --> Avast! Antivirus --> Change/Remove --> Scroll down and select Repair..

-= If it fails, Avast! Removal Tool (http://www.avast.com/eng/avast-uninstall-utility.html) can be used..

-= Please notify us if all the steps failed so we can continue to try our best to help solve the problem..

Hi Again, Fenrir. I tried the repair tool, but ended up having to use the Avast! Removal Tool.

Everything went OK with the installation although it was very slow (or seemed so to me).

After I re-booted there was a VB Generator (I'm not sure if that's the right name) icon in the tray, but nothing else.

I clicked on the merge icons option and nothing happened except the first icon disappeared.

When I tried to start Avast! using the desk-top short-cut, I got the same error message as before :(

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 12, 2009, 11:03:19 AM
That's strange... sounds like some avast! files were removed, avast! itself teminated... I'd suspect some malware maybe?

I do hope not, igor!

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: .: L' arc :. on June 12, 2009, 11:39:33 AM
-= Seems like we have to follow Igor's response..

-= Download Malwarebytes Antimalware (http://malwarebytes.org), install, update & run a scan.. It would be nice if the result would be posted..

-= You may also consider downloading TrendMicro Hijack This (http://download.cnet.com/Trend-Micro-HijackThis/3000-8022_4-10227353.html) & post a log file [attaching it in your post would be better]..

-= Do you have any other antivirus(es) before/alongside avast..?
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 12, 2009, 02:52:25 PM
-= Seems like we have to follow Igor's response..

-= Download Malwarebytes Antimalware (http://malwarebytes.org), install, update & run a scan.. It would be nice if the result would be posted..

-= You may also consider downloading TrendMicro Hijack This (http://download.cnet.com/Trend-Micro-HijackThis/3000-8022_4-10227353.html) & post a log file [attaching it in your post would be better]..

-= Do you have any other antivirus(es) before/alongside avast..?

Okey-doke, Fenrir, thank you very much for the links and help :)

I'll download them now, but may not be able to post until tomorrow.

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 12, 2009, 05:51:57 PM
Er, despite good intentions, I did click on remove and all but one were deleted immediately.

I had to reboot in order to remove last one, but no pop-up or anything has said whether it was successful or not.

Here's the 2nd report from before reboot:

Memory Modules Infected:
(No malicious items detected)

Registry Keys Infected:
HKEY_CLASSES_ROOT\minibugtransporter.minibugtransporterx (Adware.Minibug) -> Quarantined and deleted successfully.
HKEY_CLASSES_ROOT\TypeLib\{3c2d2a1e-031f-4397-9614-87c932a848e0} (Adware.Minibug) -> Quarantined and deleted successfully.
HKEY_CLASSES_ROOT\Interface\{04a38f6b-006f-4247-ba4c-02a139d5531c} (Adware.Minibug) -> Quarantined and deleted successfully.
HKEY_CLASSES_ROOT\CLSID\{2b96d5cc-c5b5-49a5-a69d-cc0a30f9028c} (Adware.Minibug) -> Delete on reboot.
HKEY_CLASSES_ROOT\minibugtransporter.minibugtransporterx.1 (Adware.Minibug) -> Quarantined and deleted successfully.

Registry Values Infected:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs\C:\Program Files\Common Files\Real\WeatherBug\MiniBugTransporter.dll (Adware.Minibug) -> Quarantined and deleted successfully.

Registry Data Items Infected:
HKEY_CLASSES_ROOT\regfile\shell\open\command\(default) (Broken.OpenCommand) -> Bad: (C:\Program Files\ScriptSentry\ScriptSentry.exe "%1" %*) Good: (regedit.exe "%1") -> Quarantined and deleted successfully.

Folders Infected:
(No malicious items detected)

Files Infected:
C:\Program Files\Common Files\Real\WeatherBug\MiniBugTransporter.dll (Adware.Minibug) -> Quarantined and deleted successfully.
c:\program files\BtHook.dll (Spyware.OnlineGames) -> Quarantined and deleted successfully.

*****

I'll now try Hijack-this

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 12, 2009, 05:58:57 PM
Wow, Hijack-this was really fast!

Anyway, I've attached the logfile ('fingers crossed' that these and the earlier results will fix the problem!).

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: mkis on June 12, 2009, 06:05:32 PM
Looks fairly standard routine you've gone through, John.
Your computer should be clean again for now. All things going well.

However, the following suggests that you have some weaknesses in your security, which should really be sorted out once your up and running, so that this kind of thing doesn't happen again.

Quote
I left my computer on overnight to upload a video, but when I got up this morning the avast! (home edition) icons were missing from the tray.

Don't hesitate to ask, and the forum will help you put together an airtight defense.


Edit - sorry I posted same time as your HjT came through. Someone will attend to it before long.
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 12, 2009, 06:14:25 PM
Looks fairly standard routine you've gone through, John.
Your computer should be clean again for now. All things going well.

However, the following suggests that you have some weaknesses in your security, which should really be sorted out once your up and running, so that this kind of thing doesn't happen again.

Quote
I left my computer on overnight to upload a video, but when I got up this morning the avast! (home edition) icons were missing from the tray.

Don't hesitate to ask, and the forum will help you put together an airtight defense.


Thanks, mkis, I'm really pushed for time at the moment, but is there anything I ought to do about the Hijack-this report?

During its scan, a pop-up said I had loads of entries beginning with "O1" and I should consider deleting my Hosts file.

Presumably it is safe to do that, only I've forgotten where its hidden (I'm sure I'll find it somehow).

The offer on help in putting together an airtight defense sounds pretty good :)

I just tried the shortcut to Avast! and I'm still getting the original error. I didn't really expect to work - I suppose I have to uninstall and reinstall again?

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: DavidR on June 12, 2009, 06:22:36 PM
This is strange as I wasn't aware of any such HJT function to alert in this way, I though it just gathered data and 'you or others' analysed that data.

The O1 entries redirect liveadvert.com to livetechnology.com (that is where the IP addresses are.
I would fix 'all the O1 Hosts entries in HJT,' I don't know if that also clears the entries within the hosts file.

HOSTS file redirect a common malware tactic to block AV sites making it difficult to remove malware - 127.0.0.1 check your HOSTS file using notepad or a text editor of your choice, C:\WINDOWS\system32\drivers\etc\hosts or do a search for HOSTS to find it if not there.
 
Once open you are looking for those entries that are listed in the HJT log and delete those lines. Also look for other entries with avast.com on the line, you may well see other AV sites, post the contents of the hosts file. http://en.wikipedia.org/wiki/Hosts_file (http://en.wikipedia.org/wiki/Hosts_file)
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: mkis on June 12, 2009, 06:22:44 PM
Dont delete your hosts file.

There are some things you need to do. But I would prefer that someone advised on your HjT log first. I'm not an expert on these logs, but at first glance looked like a fairly heavy infestation of spyware type malware but maybe something a bit deeper not helping things.

Edit - okay you got some help. If you look at my profile below, you will see that I protect my hosts file from intrusions.
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 12, 2009, 06:52:05 PM
Thank you for the replies, chaps :)

I've just about had time to read them, but now I have to go. I'll be back tomorrow.

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 13, 2009, 08:20:31 AM
[PS: My hosts file is too long to post in one go so I've split it into two (correctly, I hope)]

Hi ya,

I used HJT to delete the liveadvert.com entries and then a whole new lot of O1 entries appeared when I re-ran HJT.

I started to delete these, but when I looked at the Hosts file itself, it said they had been inserted by Spybot which I last ran 18 months ago (I had forgotten about this program).

I could put back the Spybot entries I've deleted, but I don't know if I should or not. I'm guessing that the reason all the entries have the same date is because Spybot put them there.

Er, I'm not sure what to do about the Hosts file (which I'll attach) - and should I try uninstalling/re-installing Avast! yet?

John

Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 13, 2009, 08:22:07 AM
Here's the 2nd half of my hosts file ('phew').

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: mkis on June 13, 2009, 10:19:55 AM
John I think you need to clear your hosts file anyway and let it reset from default.

I havent come across this kind of thing before so I'm going to run a temporary plan of attack to you and I think you should perhaps wait for a second opinion as there may be different ways to sort out the problem. My way is a basic fix-it by starting your hosts protection off all over again with mvps. I'm not going to bother looking at whats in there or what may be trying to take over if that is the case. Seems was doing an okay job back when you were also using Spybot.

This how you set up again with mvps.

Go to site --

http://www.mvps.org/winhelp2002/hosts.htm  (http://www.mvps.org/winhelp2002/hosts.htm)

This is the text you're looking for -- (where the blue color denotes hyperlinks)

Quote
   To view the HOSTS file in plain text form. (597 kb) (opens in browser)
Note: The text version also makes a terrific reference for determining possible unwanted sites
Download: hosts.zip [right-click - Select: Save Target As] [Updated May-11-2009]

This download includes a simple batch file (mvps.bat) that will rename the existing HOSTS file to HOSTS.MVP then copy the included updated HOSTS file to the proper location. For more information please see the readme.txt included in the download.

You will want to download hosts.zip from the page. Extract files from the zip package and and follow directions on the readme text document closely.

You might also look at using Hostman, which should return your hosts file to the state it was in back in the days when you also had Spybot.

Here is the logic behind protecting against intrusion of your hosts file

http://forum.avast.com/index.php?topic=43658.msg365399#msg365399 (http://forum.avast.com/index.php?topic=43658.msg365399#msg365399)

But for now, just hold on a moment and see if we have another opinion because I 'm not sure whether the hosts file issue is the cause of your problem or just another effect. In the event you run with mvps for hosts file protectoin then you can run another HjT scan and see what is brought up this time.
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: YoKenny on June 13, 2009, 10:32:08 AM
I recommend HostsMan and its browser speedup proxy HostsServer:
http://www.abelhadigital.com <== I use 3.2.70 Beta6 release and it works fine

I do not use Spybot S&D's HOSTS file as it does not go through the rigorous maintenance that hpHosts and MVPS HOSTS file do.

Sun Java is downlevel and has security exposures so go to Add/Remove Programs and uninstall all Sun Java installs.

Download and install Java Runtime Environment 1.6.0.14:
http://filehippo.com/download_java_runtime

Install User Profile Hive Cleanup Service to help with slow log off and unreconciled profile problems:
http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=1B286E6D-8912-4E18-B570-42470E2F3582&displaylang=en

Run Secunia Online Software Inspector to find other vulnerable applications:
http://secunia.com/vulnerability_scanning/online
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 17, 2009, 09:28:24 AM
I've downloaded and installed HostsMan, but when I tried re-installing Avast! I still get the same error :(

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: mkis on June 17, 2009, 09:42:03 AM
Did you previously have a different AV program on your computer, Symantec / Norton, McAfee, TrendMicro, something like that ? Something that was set for updates?

Is anything showing in Add/Remove Programs in Control Panel relating to any of these?

How is your computer running other than this problem with re-install avast?
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Lisandro on June 17, 2009, 01:50:55 PM
I've downloaded and installed HostsMan, but when I tried re-installing Avast! I still get the same error :(

John
With HostsMan, did you "overwrite" the hosts file instead of "merge"?
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: Jorolat on June 17, 2009, 02:51:07 PM
Did you previously have a different AV program on your computer, Symantec / Norton, McAfee, TrendMicro, something like that ? Something that was set for updates?

Is anything showing in Add/Remove Programs in Control Panel relating to any of these?

How is your computer running other than this problem with re-install avast?
I did have a TrendMicro anti-virus once (if I remember correctly), but that was a long time ago and there's no sigh of it or anything else in Add/Remove.

When I first tried to uninstall Avast!, I also tried a System Restore, but it didn't work (I tried switching it off/rebooting/switching it on, but it was no use).

Also, Windows Media Player has stopped playing more than 18 seconds of a video, but that happened a day or two after my Avast! problems began.

I've downloaded and installed HostsMan, but when I tried re-installing Avast! I still get the same error :(

John
With HostsMan, did you "overwrite" the hosts file instead of "merge"?

I clicked on mvps.bat and it backed up the original hosts file and replaced it with a 596 KB hosts file which was in the hosts.zip folder.

Thank you for both your help :)

John
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: DavidR on June 17, 2009, 02:56:13 PM
- McAfee has an uninstall tool that you could run to ensure any possible remnants are removed.
http://download.mcafee.com/products/licensed/cust_support_patches/VSCleanupTool.exe (http://download.mcafee.com/products/licensed/cust_support_patches/VSCleanupTool.exe) Or http://majorgeeks.com/McAfee_Consumer_Product_Removal_Tool_d5420.html (http://majorgeeks.com/McAfee_Consumer_Product_Removal_Tool_d5420.html)
 
2007 version - http://download.mcafee.com/products/licensed/cust_support_patches/MCPR.exe (http://download.mcafee.com/products/licensed/cust_support_patches/MCPR.exe)
 
Also see - How do I uninstall SecurityCenter? http://ts.mcafeehelp.com/faq3.asp?docid=71525 (http://ts.mcafeehelp.com/faq3.asp?docid=71525)

It may be worth doing a clean reinstall:
Download the latest version of avast http://www.avast.com/eng/download-avast-home.html (http://www.avast.com/eng/download-avast-home.html) and save it to your HDD, somewhere you can find it again. Use that when you reinstall. Ensure that you scroll down and select the avast direct download link for the English version and not Cnet as that is for an on-line installation (not what you want to do). - Direct download for avast Home, English version, http://files.avast.com/iavs4pro/setupeng.exe (http://files.avast.com/iavs4pro/setupeng.exe).
Download the avast! Uninstall Utility, find it here (http://www.avast.com/eng/avast-uninstall-utility.html) and save it to your HDD.
Title: Re: Avast doesn't start, Error 126, Can't uninstall - Help, please!
Post by: mkis on June 18, 2009, 03:07:13 AM
Quote
I left my computer on overnight to upload a video, but when I got up this morning the avast! (home edition) icons were missing from the tray.

When I tried to start avast! manually, I got the following error message:

Stick with it Jorolat. It looks as if a nasty sneaked in or actioned while computer was on but left unattended. Sometimes it takes a while and a few runs to reverse the damage so you're back on right foot, and you may not be far off now. I am speaking from experience. There is an new VPS update on the way, so pay to look over defence you put in place and go through boot scans again to see what progress has been made. Perhaps uninstall / re-install avast following info given in forum on best ways to do this.

Also, if use Hostman with mvps, did you see to go to Run--type 'services.msc' (without quotations)--go down list to DNS Services--click to open editor and set for disabled.  This is not causing your problem but is usual practice when using Hostman.