Monday, February 15, 2010

Open With dialog opens when you double click on any drive

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) Restart explorer. (Newbies restart your system)

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) Now restart explorer. (Newbies restart your system).



* Know Issues:
Access Denied: It simply means you don't have administrative rights. Login and administrator and try again.
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.

No comments: