How to Fix “Open With” error when trying to open Local Drives

Microsoft is always trying to reduce Windows OS vulnerability to viruses that are causing some serious troubles to the users. Although, their efforts are doing some good but still, there are lots of loose spots where hackers can get access. Windows users experience a strange issue with their partitions while trying to open them and display an Open With window asking the users to select a program from the list in order to open the selected local drive. Some users can open the C drive i.e. Windows drive but other drives become inaccessible as they don’t find any way to open them.

What are the Causes of this Problem?

This problem usually occurs when a virus is injected inside the Windows OS. It creates a file called autorun.inf inside the root folder of every partition on the hard drive. This autorun.inf file executes different tasks in order to modify registry values which ensure that the virus should be loaded at every startup. In this way, partitions on the hard drive cannot be accessed normally and hence, it causes some serious issues.

Solutions to Fix this Problem:

This problem can be fixed in a number of ways. The best possible methods to solve this issue are listed under.

Note: This method only fixes the problem with local drives. It doesn’t protect you from the threats inducted by the viruses.

Method # 1: Deleting the autorun.inf file from the Partitions

The best way to fix this issue is to delete the autorun.inf file present inside the root of each partition on the hard disk. To do this, follow the steps mentioned below.

  1. Open the command prompt by pressing Win + R shortcut key and typing cmd inside the box. Click OK to open the Command Prompt window.

  2. Inside the Command Prompt console, type the following commands one by one followed by the Enter key after each command.

del c:\autorun.* /f /s /q /a
del d:\autorun.* /f /s /q /a
del e:\autorun.* /f /s /q /a

Replace c, d and e with your own partition labels. In a majority of cases, these labels would be same. You need to do it for all of your partitions whether you have one or many. This set of commands will delete all the autorun.inf files created by Trojan/ virus. Restart the system after the process in finished.

Method # 2: Deleting one of the Registries (Mountpoints2)

If the above mentioned method doesn’t solve your problem, then you can follow this method to get rid of this issue with your partitions.

  1. Open Registry Editor by pressing Win + R and typing regedit inside the box followed by the Enter
  2. After the editor is opened, press Ctrl + F on the keyboard and write mountpoint2 in order to find the relevant registries. After it is found, write click over the folder called mountpoint2 on the left pane and select Delete. Do the same step multiple times until all the mountpoint2 folders are deleted. Restart your PC afterwards.

Method # 3: Registering Shell32.DLL File

If none of the above mentioned method works, then this might be a lender of last resort for you. In this scenario, you would be required to register the shell32.dll file for the sake of resolving this problem.

  • Open Run by pressing Win + R and type regsvr32 /i shell32.dll followed by the Enter key. After it executes the command, you will see a message stating that the process succeeded.

Expert Tip

How to Fix “Open With” error when trying to open Local Drives

If the issue is with your Computer or a Laptop you should try using Reimage Plus which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Reimage by clicking the Download button below.

Download Now

I'm not interested

Close