Friday, July 30, 2010

Off-Topic: Windows Script Host Error

Hi all! This may be out of topic in my blog but recently I got plagued by the Windows Script Host error about the xhv.vbs missing. Desktop and laptops were all infected at the same time.

Anyway, the error message is popping up every time I boot up because the xhv.vbs went missing since my AV (Avast! -- thank you Avast!) have quarantined and removed it from the original location (C:\WINDOWS\xhv.vbs). Since it has been removed Windows Script Host (wscript.exe) keeps on searching for it in the same place.

I got frustrated and irritated at the same time so I searched the Internet and found several solutions but none helped. So just this morning (July 30, 2010 around 6:00 A.M.), I started to battle again the irritating startup message that's been popping up for the third day.

Finally, I succeeded. *Whew*

Here’s what I did:

     1. Go to Start->Run then type regedit on the textbox;
     2. Back-up registry using the File->Export..;
     3. Search for the xhv.vbs and landed here:

          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\autoMe

     4. Select the entire autoMe folder on the left pane and delete it;
     5. Confirm delete key and all subkeys. What this will do is delete the entry in the msconfig about the starting the “wscript.exe xhv C:\WINDOWS\xhv.vbs”;
     6. Restart;

Hopefully the pop-up message regarding the C:\WINDOWS\xhv.vbs is missing reported by the Windows Script Host goes *POOF* upon next restart or boot up.

Hope this helps!