There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Hardware
Tag Cloud
audio bios blue screen boot bsod computer connection crash dcom dell driver drivers email error excel firefox freeze google hard drive hardware hijackthis internet keyboard laptop logon logs off macro malware microsoft motherboard network networking problem ram recovery router screen slow software sound trojan usb userinit.exe virus vista wifi windows windows 7 windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Hardware >
Choose the program you want to use to open this file

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
raja_ramgopal's Avatar
Computer Specs
Junior Member with 2 posts.
 
Join Date: Sep 2007
08-Sep-2007, 02:11 AM #1
Post Choose the program you want to use to open this file
Hi....

I have a problem while opening a drive. when ever i am trying to open a drive with double click it results with a new window(Choose the program you want to use to open this file). This should appear only when i do the right click and select "open with" but, it is appears when ever i do double click.

so, please help me out from this.
Goku's Avatar
Computer Specs
Senior Member with 1,468 posts.
 
Join Date: May 2007
Location: India
Experience: Intermediate
08-Sep-2007, 11:35 AM #2
Welcome to TSG Ramgopal

Here is some information that will be useful to you:

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.
Original Article

Try the suggested solution and see if it works for you or not. Good Luck.
raja_ramgopal's Avatar
Computer Specs
Junior Member with 2 posts.
 
Join Date: Sep 2007
10-Sep-2007, 10:11 PM #3
Smile Thanks
Thank you mu dear, for your quick responce.

Regards,
RamGopal.P.S.,
+91-9885436863.
Sweetu4312's Avatar
Junior Member with 1 posts.
 
Join Date: Apr 2008
Experience: B/w Intermediate and Advanced
14-Apr-2008, 11:17 PM #4
Smile Thank you!!
Thanks a lot. I had this problem and your suggestions solved it. After I deleted Explorer process in Task Manager,my task bar vanished and I was a little concerned but it returned after I re-booted.I didn't quite understand the last, HKEY part but the main thing is - my drives work!!! Thanks again! :-)

Raj
primate27's Avatar
Junior Member with 1 posts.
 
Join Date: Apr 2008
30-Apr-2008, 11:54 AM #5
Smile Amazing!
Yes I also don't understand that last part.
But it worked for me too!
Thanks a million.
Closed Thread Bookmark and Share   techguy.org/621111

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 07:25 AM.
Copyright © 1996 - 2010 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.