Techie Weblog for Geeks
Welcome Cosmo Cyber Check out Weblinks Page for Great stuff

Sunday, October 18, 2009

[W] “Open With” dialog opens when you double click on any drive.

Open With” dialog opens when you double click on any drive.

You might encountered wid a big trouble with my computer as all the drives failed to open on double clicking and shows an application selection window instead.
Show hidden files options in the folder options also wont work.

Cause: Presence of autorun.inf

Solution:

Let X: be any arbitrary drive which you want to view by double-clicking.

In case you are using Windows XP/NT/2000/2003/Vista, you may require administrative rights fix this (in both methods).

METHOD 1:
This method works only if your OS is Windows NT/2000/XP/2003/Vista and if X: is NTFS: (If you don't have NTFS and NT Platform follow method 2)

(1) Open command prompt by type cmd in start->run

(2) Navigate to root directory of that partition using cd \ command.

(3) Now type X: . (Assuming X Drive is the drive in which you are facing problem)

(4) Type cacls autorun.inf /P Everyone:N *

(5) Reboot.

METHOD 2:
This may work only as a temporary solution. If you want this to work properly. Install any antivirus software, get latest updates, scan completely. Or make sure that the virus no longer resides/executes in your system. Details of this are beyond the scope of this write-up. It varies from trojan to trojan.

(1) Open command prompt by typing the following in start->run:
cmd For windows NT/2000/XP/2003/Vista
command For other operating systems.

(2) Navigate to root directory of that partition using cd \ command.

(3) Now type X: . (Assuming X Drive is the drive in which you are facing problem)

(4) Type: attrib autorun.inf -s -h -r

(5) Type: del autorun.inf

(6) Reboot


#Know Issues:
1. Access Denied: It simply means you don't have administrative rights. Login and administrator and try again.
2. The Cacls command can be run only on disk drives that use the NTFS file system.:
It means the drive your working on is not NTFS. You will have to follow Method 2.

In da above solution I'm denying read/write permissions to everyone. So that no virus can replace it. Also explorer can't read it.
So you will never need to worry about this autorun.inf in future.
So it'll be a perfect trap.

Use "CC Cleaner" or any other 3rd party tool to fix registry Issues.


~

1 comment:

  1. Thanx for sharing this. I was suffering with this problem, since long ago.

    ReplyDelete