Unable to Open Hard or USB Flash Drive with Windows Script Host Cannot Find Script File autorun.vbs Error

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.vbs.

Sometimes you will be asked to debug the VBScript with error code of 800A041F – Unexpected ‘Next’.

or

Choose 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.


122 Responses to “Unable to Open Hard or USB Flash Drive with Windows Script Host Cannot Find Script File autorun.vbs Error”

  1. Amol
    September 3rd, 2009 04:36
    122

    Easiest way to correct d same:

    To correct and solve this error, follow this steps:

    1. click “start”

    2. click “run”

    3. type “cmd”

    4. click “ok”

    5. Type the following command one by one and press 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 local drives/ partions present on your harddisk.

    6. and u done!

    7. restart your pc

    8. Sometime problem get solved but when u double click on local drive icon the search window open. If this happened, do additional things given below, otherwise not required!

    i] open control panel

    ii] click on “folder options”, new window will open

    iii] click on “file types”

    iv] select “drive” from the list under “registered file types” heading

    v] click “advanced”, new window will open

    vi] you will see “find” option below “actions” heading

    vii] click on “new”, a new window up will open

    viii] type “open” below “action” heading

    ix] click “browse”, again new window will
    open with the title “open with”

    x] find and double click “explorer.exe”

    xi] click “ok”

    xii] click “set default” when open is highlighted below “actions” heading

    xiii] click “ok”

    xiv] again click “ok” to close “folder options” window

    xv] and u done!

  2. COBRA
    September 1st, 2009 06:26
    121

    hay people it’s too easy to solv these problem
    just transfeer the data from drive to another one and format it and return the data again to it’s partition

  3. How to remove .vbs Autorun Worms | Scattered Ideas
    August 20th, 2009 08:53
    120

    [...] CLICK HERE Categories: How-to, Tech Tips, Tutorials Tags: Aikelyu, Autorun Feature, Cmd, Command Prompt, Good Luck, Infected Memory, Kernell Dll, Machine Software, Memory Cards, Memorycards, Microsoft Windows, Shell Explorer, Software Microsoft, Startup Control Panel, System32 Dll, Task Manager, Tech Tips, Type Regedit, Usb Drives, Windows Startup, Worms Comments (3) Trackbacks (0) Leave a comment Trackback [...]

  4. zz
    August 14th, 2009 04:52
    119

    Thank you so much. I had just rebooted my computer and reinstalled everything, and would HATE to have reboot again. This helped me out a ton. I just restarted my computer and it was as good as new. just one question, why do you need to terminate explorer? I accidently skipped that step but it still worked fine

  5. Ahmed
    July 19th, 2009 23:02
    118

    thanx very much , the problem is solved and it did not delete any of my files (like it did to others )

    may be they tried something else !?

  6. jd
    July 16th, 2009 09:04
    117

    good post!! worked on mine too.. thanks a lot!!!!!!!!!

  7. shaan
    April 17th, 2009 10:52
    116

    I tried to the solution and it worked.

  8. Prakash
    March 14th, 2009 22:29
    115

    GOOD IT WROKED HATS OFF WHO POSTED THIS

    ..

  9. Jonny
    January 17th, 2009 20:58
    114

    Thanx a lot it works

  10. rajiv chodisetti
    December 9th, 2008 22:44
    113

    hi friends if u delete the autorun.inf file as specified above u may loose some other files also so make sure that first at command prompt the path is like this
    C:\attrib -r -h -s autorun.inf
    c:\del autorun.inf
    next repeat the above procedure at command prompt for remaining drives also for ex:
    d:\attrib -r -h -s autorun.inf
    d:\del autorun.inf
    then after deleting autorun.inf file in all the drives as specified above follow the remaining steps in the tutorial..the tutorial works like charm thanks for the person who posted it …all the best guys…

  11. Kamal
    November 29th, 2008 20:59
    112

    Hello everyone…
    This post is very excellent..after deleting the autorun files my hard disks are nw working absolutely fine…Thanxxxx a lot…!!!

  12. Steph
    October 7th, 2008 20:51
    111

    Thank you so much for this!

    Worked perfectly.

    After a bunch of Trojans found there way into my computer – I ran Kaspersky and got rid of them all – and the found myself without access to my hard drives!!!

    These instructions worked perfectly, thank you so much. x

  13. James
    September 20th, 2008 14:15
    110

    works like a charm.

    ur only deleting the autorun.inf files across the harddisk. y would you loss all your files.

  14. abc
    September 12th, 2008 16:15
    109

    hi friends ,
    Pls dont try this code.
    The one who sent it is a real fucker .
    I tried this in one of my drives, thank god it didnt have any contents,.
    These codes delete all the files.
    The asshole is trying to ditch others.
    I would kick his ass if he is nearme.
    Fuck u bastard

    So dont try these codes

  15. Renato -Brasil
    September 4th, 2008 21:51
    108

    MAIOR ROUBADA..VOCE FAZ OS PASSO QUE AQUI ESTÃO E FERRA TUDO SEU HD, PERDE TODOS OS ARQUIVOS NAO CAIAM NESSA ENGANAÇÃO!!!!!!!!!!!!!!!!!!!!!!!
    URGENTE NAO CAIA NESSA!!!!!!!!!!!!!!!!!!!!!!!!!NAOA FAÇA ESSE PROCEDIMENTO EU PERDI TUDO DO HD!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  16. mma
    July 21st, 2008 06:16
    107

    I find this blog very interesting, i will be here everyday till now. Greetings

  17. Cyberdawg
    July 8th, 2008 17:09
    106

    Fantastic solution it worked like a charm
    was reluctant to edit the registry esp because the machine in question was our company server so tried it on a client machine first and it worked gave me confidence to go apply it on our server and it worked first time :-) I am ecstatic, and grateful that I came across this article thank you
    and keep up the good work :-)

  18. Amr
    July 1st, 2008 22:42
    105

    fuck you i run the first commands and it deleted all my files stored on my c drive every thing everything … i lost all of my pictures and word files and everything stroed on the c drive beaware of this command i will sue the comapany that made such solution to make lose all my data fuck you…

  19. excezzive
    June 28th, 2008 13:23
    104

    Brilliant and impressive solution shared guys. I am all sorted.

  20. Datone
    June 22nd, 2008 23:13
    103

    This worked like a charm! Thanks for the help. Step 2 was not available so I went to step 3. I copied and pasted the del c: command into the cmd and that worked. Followed next few steps and everything was correct. Rebooted and presto! I was not able to open my hard drive due to malicious software that was trying to run when I double clicked it. My antivirus program kept telling me no, blocking ddkyir.com or something like that. I ran the new 2008 MSWR tool from microsoft. A full scan caught 20+ bugs. I always use my firewall and routinely scan for viruses but these slipped by. After the clean was over, I was being prompted to choose a program to open my E drive. Thanks again!

  21. Simin
    June 6th, 2008 16:11
    102

    hello ,
    i need your help to remove the autorun file from my external hard drive, when i right click on it , it shows me autorun at the first( above ) , so , how can i remove it ?
    could you please help me to code a file with the name of autorun-eater.inf ?

    Waiting for your kindly respond.

  22. mokhtar mahmoudian
    April 28th, 2008 02:16
    101

    hey guys!
    thank you for your posts.
    I think the following will help you better understand the problem and maybe it will help you in some cases.
    Solution:

    Terminating the Malware Program

    This procedure terminates the running malware process.

    Open Windows Task Manager.
    • On Windows 98 and ME, press
    CTRL+ALT+DELETE
    • On Windows NT, 2000, XP, and Server 2003, press
    CTRL+SHIFT+ESC, then click the Processes tab.
    In the list of running programs*, locate the process:
    SOUNDMIX.EXE
    Select the malware process, then press either the End Task or the End Process button, depending on the version of Windows on your computer.
    To check if the malware process has been terminated, close Task Manager, and then open it again.
    Close Task Manager.

    ——————————————————————————–
    *NOTE: On computers running Windows 98 and ME, Windows Task Manager may not show certain processes. You can use a third party process viewer such as Process Explorer to terminate the malware process.
    On computers running all Windows platforms, if the process you are looking for is not in the list displayed by Task Manager or Process Explorer, continue with the next solution procedure, noting additional instructions. If the malware process is in the list displayed by either Task Manager or Process Explorer, but you are unable to terminate it, restart your computer in safe mode.

    Addressing Registry Shell Spawning

    This procedure prevents the malware from executing whenever a user opens files with certain extension names. It should restore the registry to its original settings.

    Click Start>Run.
    In the Open input box, type:
    command /c copy %WinDir%\regedit.exe regedit.com | regedit.com
    Press Enter.
    In the left panel, double-click the following:
    HKEY_CLASSES_ROOT>exefile>shell>open>command
    In the right panel, locate the registry entry:
    Default
    Check whether its value is the path and file name of the malware file.
    If the value is the malware file, right-click Default and select Modify to change its value.
    In the value data input box, delete the existing value and type the default value:
    “%1″ %*
    Close Registry Editor.
    Click Start>Run, then type:
    command /c del regedit.com
    Press Enter.
    Editing the Registry

    This malware modifies the computer’s registry. Users affected by this malware may need to modify or delete specific registry keys or entries. For detailed information regarding registry editing, please refer to the following articles from Microsoft:

    HOW TO: Backup, Edit, and Restore the Registry in Windows 95, Windows 98, and Windows ME
    HOW TO: Backup, Edit, and Restore the Registry in Windows NT 4.0
    HOW TO: Backup, Edit, and Restore the Registry in Windows 2000
    HOW TO: Back Up, Edit, and Restore the Registry in Windows XP and Server 2003
    Removing Autostart Entry from the Registry

    Removing autostart entries from the registry prevents the malware from executing at startup.

    If the registry entry below is not found, the malware may not have executed as of detection. If so, proceed to the succeeding solution set.

    Open Registry Editor. Click Start>Run, type REGEDIT, then press Enter.
    In the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>
    Windows>CurrentVersion>Run
    In the right panel, locate and delete the entry:
    Soundmix = “%System%\soundmix.exe”
    (Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, and C:\Windows\System32 on Windows XP and Server 2003.)
    Restoring Modified Registry Entry

    Still in the Registry Editor, in the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows>
    CurrentVersion>Explorer>Advanced>Folder>Hidden>SHOWALL
    In the right panel, locate the entry:
    CheckedValue = “0″
    Right-click on the value name and choose Modify. Change the value data of this entry to:
    1
    Close Registry Editor.
    Restoring AUTORUN.INF

    Right-click Start then click Search… or Find…, depending on the version of Windows you are running.
    In the Named input box, type:
    AUTORUN.INF
    In the Look In drop-down list, select a drive, then press Enter.
    Select the file, then open using Notepad.
    Check if the following lines are present in the file:
    [autorun]
    open=
    shell\open=´ò¿ª(&O)
    shell\open\Command=RECYCLER\autorun.exe -OpenCurDir
    shell\open\Default=1
    shell\explore=×ÊÔ´¹ÜÀíÆ÷(&X)
    shell\explore\Command=RECYCLER\autorun.exe –ExploreCurDir
    If the lines are present, delete the file.
    Repeat steps 3 to 6 for AUTORUN.INF files in the remaining removable drives.
    Close Search Results.

    (Note: The folder not addressed in this section may be used by a legitimate application. Thus, it is best that the said folder is left on the system.)
    Important Windows ME/XP Cleaning Instructions

    Users running Windows ME and XP must disable System Restore to allow full scanning of infected computers.

    Users running other Windows versions can proceed with the succeeding solution set(s).

    Running Trend Micro Antivirus

    If you are currently running in safe mode, please restart your computer normally before performing the following solution.

    Scan your computer with Trend Micro antivirus and delete files detected as WORM_AGENT.PGV. To do this, Trend Micro customers must download the latest virus pattern file and scan their computer. Other Internet users can use HouseCall, the Trend Micro online virus scanner.

    Trend Micro offers best-of-breed antivirus and content-security solutions for your corporate network, small and medium business, mobile device or home PC.

    sourse: http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM%5FAGENT%2EPGV&VSect=Sn

  23. patelsudarshan
    April 26th, 2008 01:00
    100

    m not able to open up my hard disks with double click…. error is OPEN WITH….
    TO OPEN IT HAV TO EXPLORE THE HARD DISK …. NEED TO GET HELP TO SOLVE MY PROB….
    I NEED OPEN IT WITH DOUBLE CLICK…
    M USING WINDOWS XP, P4….
    THANX IN ADVANCE

  24. Mohdsanil
    April 22nd, 2008 13:18
    99

    Thank you!!!
    thts worked yaar….thanks again,
    is there any chance again if i put flash drive ? any way its gud for alll…
    keep on working for good deeds..

  25. paolo
    April 20th, 2008 18:21
    98

    Thank you too. I used the flash disinfector but it doesn’t clean out the registry completely. Your instructions helped clean them out.

  26. princess
    April 10th, 2008 09:13
    97

    thank you!

  27. SHAKO » Blog Archive » 문제해결 | 플래쉬 메모리에서 autorun.vbs
    April 7th, 2008 18:43
    96

    [...] 참고 사이트 http://www.mydigitallife.info/2007/04/19/unable-to-open-hard-or-usb-flash-drive-with-windows-script-... [...]

  28. t.c.
    March 24th, 2008 17:16
    95

    genius! thanks.

  29. naman
    March 23rd, 2008 11:39
    94

    hello sir,its worked like miracle for me

  30. Revathy
    March 17th, 2008 15:34
    93

    in my laptop all drives open in explorer format(i.e., open with) how to remove that. and guide me to open the drives in normal way

  31. Justin
    March 15th, 2008 02:58
    92

    thanks so much!! :D . it worked!

  32. Joe
    March 14th, 2008 10:22
    91

    I used AVG to clear off the VBS Psyme virus and then I got the Windows Script Host error. This solution worked great. Thanks for the info.
    Joe

  33. Krishna
    March 9th, 2008 09:39
    90

    Thank you .It worked

  34. autorunvirus
    March 7th, 2008 15:28
    89

    very easy!

    1).Download this file from my website and double click on it. Here is the link
    http://autorunvirus.googlepages.com/Removesub7chatx.netVirus.vbs

    OR

    Copy below code.
    Paste in notepad or Wordpad.
    Save As yourname.VBS
    Double click on it to run that script.

    Dim ObjFileSys, VirusFileNames, Dimension

    CONST FolderSystem32 = 1
    VirusFileNames = Array(”\autorun.inf”,”\mma.bat”,”\mma.rar”,”\mma.reg”,”\mma.vbs”)

    Set ObjFileSys = CreateObject(”Scripting.FileSystemObject”)

    Call DeleteRegistry()
    Call CleanSystem32()
    Call CleanAllDrives

    Set ObjFileSys = Nothing
    MsgBox “Done”
    WScript.Quit

    Sub CleanSystem32()
    Dim SysFolder
    Set SysFolder = ObjFileSys.GetSpecialFolder(FolderSystem32)
    For Dimension = LBound(VirusFileNames) To UBound(VirusFileNames)
    if ObjFileSys.FileExists(SysFolder.Path & VirusFileNames(Dimension)) Then DeleteThisFile SysFolder.Path & VirusFileNames(Dimension)
    Next
    Set SysFolder = Nothing
    End Sub
    Sub CleanAllDrives()
    Dim Drive, Drives
    Set Drives = ObjFileSys.Drives
    For Each Drive in Drives
    For Dimension = LBound(VirusFileNames) To UBound(VirusFileNames)
    if ObjFileSys.FileExists(Drive.Path & VirusFileNames(Dimension)) Then DeleteThisFile Drive.Path & VirusFileNames(Dimension)
    Next
    Next
    Set Drives = Nothing
    End Sub
    Function DeleteThisFile(FileName)
    Dim File
    Set File = ObjFileSys.GetFile(FileName)
    File.attributes =0
    File.Delete True
    Set File = Nothing
    End Function
    Sub DeleteRegistry()
    Dim WSHShell, SysFolder
    Set SysFolder = ObjFileSys.GetSpecialFolder(FolderSystem32)
    Set WSHShell = WScript.CreateObject(”WScript.Shell”)

    WshShell.RegWrite “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit”, SysFolder.Path & “\userinit.exe”

    WScript.DisconnectObject WSHShell
    Set WSHShell = Nothing
    End Sub

    2). Restart your system and right-click on your drives to verify that this virus has been removed.

    3). If the Sub7@Chatx.net still remains after restart, try repeating the whole process again.

  35. ris
    March 7th, 2008 12:10
    88

    THANK YOU.

  36. Shabi
    March 7th, 2008 07:11
    87

    heyyyy..
    what a lovely solution, well explained
    thanx a lot for your great help, I could have opened my USB drives without it (using simple folder explore) but I hate when double clicking results in odd messages.

    thanx again – just for u to know – it took me a while finding u and ur solution.. but the research was resulting and payd off :)

    thanx

  37. Jay Momin
    February 27th, 2008 03:55
    86

    I cracked my brain on these virus for days and finally found NOD32 Anti Virus and it removes autorun.inf from my PC and also all the UBS devices.

  38. Jill De Scenna
    February 26th, 2008 17:20
    85

    Hi guys! This solution shows promise. Im gonna do it when I get home. But will this work for Windows XP? Sorry, I’m not that techy.. I just noticed one of the commands with “WindowsNT”…

  39. zeom
    February 14th, 2008 07:57
    84

    Thanks for the solution dude!

  40. Master Yoh
    February 12th, 2008 19:42
    83

    & be careful not to mess up with the System Registry..

    or your pc will be a dead meat..

    A reminder: Hard Drives & USB drives has no use of AUTORUN.INF (in any cases), so if you find it in the root directory/folder on those drives, deleted it..

  41. Master Yoh
    February 12th, 2008 19:37
    82

    You forgot to delete the VBS files.. =p

    P.S.

    In some version, a .DLL or .EXE file is also accompany in the autorun worm/virus.. & sometimes the RUN, cmd, REGEDIT, Folder Options and either the Task Manager is disabled.

    Go to DOS mode, then follow the instructions above..

  42. Nimesh
    February 10th, 2008 20:04
    81

    This problem will fixed easily by quickheal total security2008. Just download the free trial version and install. After scan you have to reboot the system, and U will find that the problem with Autorun.inf have gone. The download link given bellow….

    http://www.quickheal.co.in/small-desktop-edition-win.asp

  43. The Power of Information Technology :: Cure for Sub7@chatx.net virus :: February :: 2008
    February 7th, 2008 14:38
    80

    [...] Source [...]

  44. Sunny Ahuja
    February 2nd, 2008 09:44
    79

    Thanks Alot for the solution

  45. Ahsan
    February 2nd, 2008 02:25
    78

    Excellent, thanks a lot for sharing the solution, solved most of my problems, although on my machine virus was ylr.exe and wo8wr9.exe instead of ravmon.exe .. thanks again

  46. The Power of Information Technology :: Cure for Sub7@chatx.net virus :: February :: 2008
    February 1st, 2008 19:56
    77

    [...]         Source [...]

  47. Anjula
    January 31st, 2008 18:12
    76

    Thanks a lot.
    :)

  48. avesh
    January 28th, 2008 12:26
    75

    thanks a lot.
    The tutorial is great.
    all sub7 trojens were removed.

  49. Deepakraj
    January 26th, 2008 13:12
    74

    I am still not able to solve my problem through this procedure.
    I am still having a problem opening my hard drives.
    The message which appears for D:\ drive is :
    Can not find script file “D:\mma.vbs”.

    and for C:\ drive is :
    Can not find script file “C:\mma.vbs”.

    when I right click on the drives following thing is written with the drive name in brackets

    Open(Sub7@Chatx.net)
    explore(Sub7@Chatx.net)

    Please do help me…

  50. don
    January 19th, 2008 12:41
    73

    THANK YOU VERY VERY MUCH MAN U SAVED MY PC
    THANK U
    PLEASE SEND ME UR SITE WHICH HAS MORE TIPS AND TRICKS
    THANKS ONCE AGAIN

  51. Buzor
    January 17th, 2008 02:52
    72

    10x Bro u r just great

  52. whinz
    January 16th, 2008 14:54
    71

    thnx.. nice one… hehehe

  53. Eric Gits
    January 10th, 2008 00:52
    70

    i opened my flash disk by double clicking it on my computer i saw a file called Sex City.jpg.wsf i then deleted it after trying to open it in vain.Now i cant open the disk at all by the same method.when i double click it on my computer, it brings a pop up “cant find script file \Sex City.jpg.wsf” when i try to open the files thro the explorer they either wont open or all appear corrupted.what can i do somebody please help me.this flash is also my mp3 player.the sngs are corrupted too.

  54. prijesh
    December 18th, 2007 20:30
    69

    but what will be the contain in autorun.vbs, if we delete it, it will not effect my system.

    thank you

    prijesh
    http://www.pentaitservices.com

  55. vince robins
    December 15th, 2007 10:02
    68

    hi im vince…what are other ways to heal maskrider virus? i tried to heal it but its says that access to that virus is denied. pls help. thnks so much.

  56. deli
    December 14th, 2007 07:15
    67

    tenho vista home premium e nao consigo por a detectar uma porcaria de pen disk my flash pd9 da adata instalada no pc. porque?

  57. fanar
    December 9th, 2007 16:56
    66

    my hard disk not to open apear message access is denied

  58. debo
    December 8th, 2007 02:24
    65

    thanks it worked very well,
    but after i restart my computer, it starts all over again, so i have to do everythin over again,. is it normal?

  59. Debo
    December 8th, 2007 01:37
    64

    You’re the best!!!! It worked so quick, i had tried so many things including typing “regsvr32 /i shell32.dll” in the run but it ll didnt work. thanks.
    it even solved the problem of me not being able to see my removable disk. God bless you!!!

  60. kishore
    December 6th, 2007 22:39
    63

    when i did above things in mycomputer.
    Iam able to open only C drive.
    when iam trying to open d,e drivers it goes again to mydocuments.

    can you pls suggest me.

    Problem: when i click any d,e drives it takes me directly to mydocuments folder.

    thanks
    kishroe

  61. Afroz
    November 28th, 2007 05:57
    62

    thaxs a million tons

  62. Mayur
    November 27th, 2007 07:21
    61

    My flash drive started working fine, but then after couple of days it got messed up again. So now I use the folder tree to get to my flash drive. Can somebody give me a permanent solution.

    Thanks

  63. Abdullatif
    November 24th, 2007 04:13
    60

    at first thanks alot friend, but it solved half of the problem, the other half is yahoo messenger still don’t work, do you have any idea for that, thanks in advance.

    Abdullatif

  64. Jabir Bangash
    November 18th, 2007 16:14
    59

    hi my name is jabir. I am working with an ISP as broadband Network Engineer. I was facing this problem from a long time. I follow the above easy steps and i got rid of this stupid drive virus.
    thanks alot…………..

  65. Joseph Laurence Alcomendras
    November 16th, 2007 14:15
    58

    …..thanks it works.. my pc now is good as it gets..thanks man!!!!

  66. Sharmila
    October 17th, 2007 12:59
    57

    Thanks a lot .. It helped me fix my external harddisk

  67. Frenzess-Joy
    October 14th, 2007 19:12
    56

    Gud day…
    I’ve tried ur step-by-step solution, but it did not work for me…
    Maybe it’s because my problem is about “mma.vbs”, and not “autorun.vbs”… Could you suggest some ways in which I could solve this problem?
    Thanks a lot in advance… I wish you could help me with this problem…

  68. Mayur
    September 18th, 2007 23:10
    55

    Hey man i tried that solution, and my value for Userinit was not different from what you wrote. It solved my previous problem, in which it opened the OPEN WITH dialog box. But now when I click on the drive it opens a new search window. It doesn’t go into the drive

  69. Alkali
    September 12th, 2007 22:51
    54

    I tried your solution with all drives but except C:\ Drive all other Drives are working fine….

    Would you please suggest some solution for C:\ Drive….

    Thanks in advance….

  70. Gonzalo
    September 9th, 2007 14:46
    53

    thank you very much for the explanation and very well written steps. ;)
    …it solved the problem

  71. reilly
    September 8th, 2007 08:26
    52

    This worked for my hard drives but my computer wouldn’t delete the flashdrive autorun because it doesn’t read it. What can I do to fix this?

  72. Kevin
    September 5th, 2007 20:38
    51

    thanks a lot. u r simply great! may god loves u and your family =)

  73. oh yeah
    September 5th, 2007 14:20
    50

    Excellent!
    Thanks. Worked great

  74. Wscipt.exe - TechEnclave
    August 27th, 2007 13:08
    49

    [...] i got stuck with Wscipt.exe i did google i find it was Unable to Open Hard or USB Flash Drive with Windows Script Host Cannot Find Script File autorun.vbs … i did what it said but now when i done i get thi error when i open drive on hdd or pen drive i am [...]

  75. Anil
    August 25th, 2007 08:12
    48

    Thanks man.. it GREEEAAATEEEEE

  76. Jules
    August 22nd, 2007 18:12
    47

    Thanks man
    It working very well.
    Y’re a great man.
    God bless you

  77. Alex
    August 19th, 2007 21:51
    46

    Tbankssssssssssss you jst saved a computer

  78. chris
    August 18th, 2007 01:17
    45

    thanks man it really works

  79. hassan
    August 14th, 2007 17:34
    44

    thankx man God bless u .but u forget to tell one thing that after the whole great process one must restart his computer.and all done………

  80. hassan
    August 14th, 2007 17:31
    43

    hey man i dont know how to thank u .i tried every software but couldnt get myself out of this problem.God bless u man.may u live long.onece again thank u thank u very much……………

  81. hassan
    August 14th, 2007 17:02
    42

    hey i have followed all the but still can not find the way out.i can not open my drives with some fucking chinese words

  82. abid
    August 3rd, 2007 20:07
    41

    hi, this solves my problem…Thanx papu..

  83. zia
    August 3rd, 2007 19:42
    40

    Weldone. Thank you very much

  84. prabu
    July 22nd, 2007 20:10
    39

    thks for u informatiom. I gone through the simple steps as per ur instructions and my system works fine. thks again…

  85. Darshan
    July 19th, 2007 20:07
    38

    Thanks man..

  86. Arjun Reddy G
    July 16th, 2007 20:49
    37

    thanks dude!!!

    ur instructions are amazing…
    my system is working is fine.

    nyways this article is fucking amazing
    and I hope it’s very clear to everybody…

    Thanks & regards,
    Arjun Reddy G.

  87. ani
    July 15th, 2007 16:36
    36

    it,s really cool . well guy,……

  88. Dave
    July 13th, 2007 01:35
    35

    Hey i’ve gone through the steps described in the help and still no solution. The autorun files keep reappearing when i reboot. Also in my case i have another file aswell which is a .exe file and the name keeps on changing to a random 9 letter prefix. This program launches when i double click on a hard disk and the uses 100% of my cpu until i end the process. Ive tried insalling that script defender and even changed some of the permissions on the drives. Nothings working. I cant do a clean install either because it is on all the drives and this is my Digital Audio Workstation with 100gb+ of data on it so a backup isn’t viable.
    One final thing the virus was transmitted by my pen drive and not through the internet.

    Any help is much appreciated

    Yours

    Dave Major

  89. LNSJ
    July 11th, 2007 00:06
    34

    thanx a lot brotha !!!

  90. LNSJ
    July 11th, 2007 00:05
    33

    thanx a lot bro………u r da man !!!

  91. Sohail
    July 9th, 2007 20:46
    32

    Hey it worked perfectly fine with me. Thank You very much.

  92. Vinay
    July 9th, 2007 03:18
    31

    Thanks a ton for this valuable information..

    It was very frustrating when the drives wont open on a double-click. Your solution helped.

    Thank you once again :)

  93. Ahmad
    July 7th, 2007 19:35
    30

    Thank you so much, it really help me…

  94. spm
    July 4th, 2007 09:34
    29

    Thanks, this article helped me solve this problem,
    but it took me some time googling to find this article, so I decided to write some tags to help other googlers find their way to this page.

    “remove auto from drive context menu”
    “edit drive context menu”
    cannot open c: drive +auto +menu

  95. dan
    June 29th, 2007 08:39
    28

    I tried this, works great. Fixed the my problem with my machine reading USB drives.

    Was getting this problem on double click:

    “Choose the program you want to use to open this file with:”

  96. Ken
    June 28th, 2007 20:08
    27

    My HKEY was “Userinit”=”C:\WINDOWS\system32\userinit.exe,”. Still have the same problem. None of my hard drives will open when doing a double click.

  97. stamos
    June 27th, 2007 17:13
    26

    also before i delete autorun files, when i put a removable disk a window appeared with the name” attrib.exe” and said” no hard drive found in hard Disk/DDR1/DDR2″ something like that. many times, that it started to get on my nerves. i presed cancel and then the same window appeared with deferent DDRs

  98. stamos
    June 27th, 2007 17:09
    25

    i have the problem of the autorun.vbs. i cleaned all autoruns that my antivirus thought as a threat( virus detected) and after that i can’t get in my c:/ of any hard disk.Removables also. Can not find script file F:\autorun.vbs or c:\ … I used avast antivirus witch did’d find any threat. then i used nod32 and deleted all autorun files. then this problem. i did system restore. and now i used Kaspersky_6_1_.0.2.621 and the same thing that nod32 appeared. I can’t get anywere. only by the Windows explorer i can get throw my disks. What can i do ???? Please i need your help.

  99. MR. 666
    June 27th, 2007 05:03
    24

    Thank you! I used this solution to help one of my clients. Kudos.

  100. abinit
    June 24th, 2007 21:21
    23

    how can you get this?

  101. Dinesh S Kumar
    June 17th, 2007 01:01
    22

    if you find “Autorun” command in your drive’s context menu (right click menu); then you are being affected by autorun virus.you can remove it by installing the program named “Script Defender”.it can be obtained from “http://www.analogx.com/contents/download/system/sdefend.htm”

  102. Tom
    June 11th, 2007 00:27
    21

    I edited the value data for the key according to the last line of instruction.

    I typed:

    “Userinit”=”C:\WINDOWS\system32\userinit.exe,”

    including all the punctuation.
    I was not sure if I should have typed the quotation marks or not, but because in the other cases I was told not to (and in this one no instruction), I typed them.

    Now my computer automatically logs off whenever I logon. I can’t get past that.

    Please help.

  103. pesti
    June 2nd, 2007 18:21
    20

    i’ve done it for c: partition. TY so much
    just… i want to do that and for my H: partition (external drive) and i don’t know what to put (and where) to make it work.

    “C:\WINDOWS\system32\userinit.exe,” – i used this for c: and it worked
    “H:\WINDOWS\system32\userinit.exe,” – is this used for H: partition as well? cause i don’t have windows on my external drive (mainly storage) + do i have to put it under value date where is now “C:\WINDOWS\system32\userinit.exe,”

    please answer

    thnx

  104. saikat
    June 2nd, 2007 03:08
    19

    god bless u man …i am suffer for this prb for so many dayyyys….now i solved it with your suggetio…..u r simply g8888888888 est ….10000000 cheers for u..

  105. pesti
    June 1st, 2007 22:19
    18

    it doesn’t work for me :(

  106. Roald
    May 22nd, 2007 19:44
    17

    Thanks a lot. You really saved me a lot of headache.
    Have had this problem for a long time and could not fix it until I followed your advice. Thanks again.

  107. Ravi
    May 20th, 2007 18:48
    16

    Sir,There is aproblem in my system. When double click on Drives C,D,E,F, drive cannot opening. giving error windows script host cannot find “maskrider.dll.vbs”
    Kindly give me the solution.
    Thanks,
    Ravi

  108. geokeratz
    May 18th, 2007 10:20
    15

    Bert, SOMETINES in Recovery Mode, if you have been asked for administrator’s password…just press enter. I had a booting problem and needed to go in Recovery console -Then stuck in the password. I just pressed enter (as recommended in forums) and VOILA. But I don’t know about the logging off problem.
    Nice post, it helped two of my friends(!) when I came across it

  109. admin
    May 17th, 2007 17:10
    14

    Bert, have you try Safe Mode?

  110. Liar
    May 17th, 2007 16:59
    13

    C’mon man…u blew it up..why the hell u played with that comma.

    aahh…

  111. Bert
    May 17th, 2007 16:14
    12

    Hi,
    it all seemed to work, but than i took out the comma as well and now when i logon, the macine logs off immediately.
    Starting from cd with recovery console asks me for a administator’s password, but all the passwords i normally use do not give me access.
    What else can i do?
    bert

  112. Iswandy
    May 15th, 2007 18:16
    11

    Hey, it works!!! I had the problem for few months and after trying out your suggestion, it doesn’t bother me anymore! =)

  113. Badhurudheen Hassan
    May 15th, 2007 00:08
    10

    Thanx dude, this happened to every comp in my home and even my frends’ comp at the same time. You saved all of us…this is great.

    Bad
    Monash University
    Malaysia

  114. Edekin
    May 14th, 2007 22:13
    9

    Thank you for your help. It solved the problem I was experiencing.

  115. rajeev
    May 11th, 2007 18:21
    8

    but when i delete that in usb and reinsert again, it dont open. virus still persists.. what to do now

  116. Rodrigo
    May 10th, 2007 02:37
    7

    Dfinitely u made my day 2!

  117. Kash
    May 8th, 2007 05:21
    6

    Thanxxx man ,,u made my day

  118. Rozh
    May 6th, 2007 19:14
    5

    hi thanks for help

    im from kurdistan

  119. buRpee
    May 5th, 2007 00:36
    4

    great post! thanks!

  120. Aaron
    April 30th, 2007 03:52
    3

    thanks for ur way to clean d autorun.vbs trojan.it really works…thanks!!

  121. admin
    April 19th, 2007 21:43
    2

    Hi kay, thanks for suggestion, will look into it soon.

  122. kay
    April 19th, 2007 19:27
    1

    if only u had a print this article button, so it take u to anopther page and u can print the article without adverst uno, good stuff thanks

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

usb.wsf - can not find script file usb.wsf - cannot find script file usb.wsf - usb.wsf virus - unable to open usb flash drive - gova.vbs - gova.vbs remover - usb anti autorun\usb.wsf - unable open hard disk - cant use my USB with an error ''window script host" - cannot find script file .vbs - can not find script file - choose the program you want to use to open this file - what is usb.wsf - usb.wsf error - gova.vbs virus - can not find script file vbs - usb anti autorun/usb.wsf - autorun.inf windows 7 workaround - usb drive open with - cannot find script file anti.vbs - unable to open usb drive - c:\program files\usb anti autorun\usb.wsf - cannot find script file auto1.vbs - how do you open a usb file - virus cleaner+gova - flash drive "choose the program you want to use to open this file" - usb flash open with - can not open usb flash drive - open with drive problem - virus choose the program you want to use to open this file - mma.vbs - unable to open pen drive on double click - unable to open external hard disk - USB open program - windows script host cannot find script file - all - cannot open usb flash drive - removing autorun.vbs - unable to open script file usb - can't open flash jargon script - jargon.vbs - cannot find script file c windows jargon.vbs - can not find script file .vbs - can not find script file system.vbs - removing gova.vbs - unable to open the drives - usb device choose program to open - vbs remover - cannot find script file C:\bungoton.vbs -