This entry was posted on Friday, December 21st, 2007 at 8:53 pm and is filed under Software, Tips. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Site Search:
December 21, 2007

In some situation especially when anti-virus program has cleaned, healed, disinfected or removed a worm, trojan horse or virus from computer, there may be error happening whenever users try to open or access the drive by double clicking on the disk drive icon in Explorer or My Computer window to try to enter the drive’s folder. The problem or symptom happens in hard disk drive, portable hard disk drive or USB flash drive, and Windows will prompt a dialog box with the following message:
Windows Script Host Can not find script file autorun.vbsSometimes you will be asked to debug the VBScript with error code of 800A041F - Unexpected ‘Next’.orChoose the program you want to use to open this file with:
In this case, the “Always use the selected program to open this kind of file” option is grayed out.
The symptom occurs because when autorun.vbs is created by trojan horse or virus. The virus normally loads autorun.inf file to root folder of all hard drive or USB drive, and then execute autorun.bat file which contains script to apply and merge autorun.reg into the registry, with possible change to the following registry key to ensure that virus is loaded when system starts:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Userinit=userinit.exe,autorun.exe
Finally, autorun.bat will call wscript.exe to run autorun.vbs.
When antivirus or security software detected the autorun.vbs file as infected, the file will be deleted or removed or quarantined. However, other files (autorun.*) and registry value still referring to autorun.vbs, and this document no longer exists, hence the error when users double click to open a drive folder.
To correct and solve this error, follow this steps:
1. Run Task Manager (Ctrl-Alt-Del or right click on Taskbar)
2. Stop wscript.exe process if available by highlighting the process name and clicking End Process.
3. Then terminate explorer.exe process.
4. In Task Manager, click on File -> New Task (Run…).
5. Type “cmd” (without quotes) into the Open text box and click OK.
6. Type the following command one by one followed by hitting Enter key:
del c:\autorun.* /f /s /q /a
del d:\autorun.* /f /s /q /a
del e:\autorun.* /f /s /q /a
c, d, e each represents drive letters on Windows system. If there are more drives or partitions available, continue to command by altering to other drive letter. Note that you must also clean the autorun files from USB flash drive or portable hard disk as the external drive may also be infected.
7. In Task Manager, click on File -> New Task (Run…).
8. Type “regedit” (without quotes) into the Open text box and click OK.
9. Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
10. Check if the value name and value data for the key is correct (the value data of userint.exe include the path which may be different than C drive, which is also valid, note also the comma which is also needed):
“Userinit”=”C:\WINDOWS\system32\userinit.exe,”
If the value is incorrent, modify it to the valid value data.
NOTE: This is very helpful those infected with the Sub7.net/mma.vbs Virus and UST Scandal virus.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
read comments (3)





February 7th, 2008 at 8:50 am
Tnx. So stressful to double click your disk and find “cannot find mma.vbs” staring you at the face. Now it’s gone. Tnx again, really tnx!
December 14th, 2009 at 5:35 pm
Hey … I stumbled on your site by mistake. I was looking in Google for Accounting software that I had already purchased when I found your site, I have to say your site is really informative, I just love the theme, its amazing!. I don’t have the time at the moment to fully read your entire site but I bookmarked it and also signed up for your RSS feed. I’ll back in a day or two. thanks for a nice site.
December 18th, 2009 at 2:54 pm
Hey - whats up. Thanks for the blog. I’ve been digging around looking some info up for shool, but i think i’m getting lost!. Yahoo lead me here - good for you i guess! Keep up the good work. I will be coming back over here in a few days to see if there is updated posts.