Can't open drives when double clicking on them

October 2016

Can't open drives when double clicking on them

My PC having four drives and they are not opening when i double click on them but they are showing open with programs, I'm getting same error when I'm trying to open them with explorer. My OS is XP.

Normally when a virus infects a windows system which causes a drive opening problem, it automatically creates a file named autorun.inf in the root directory of each drive. This autorun.inf file is a read only, hidden and a system file and the folder option is also disabled by the virus. This is deliberately done by the virus in order to protect itself. autorun.inf initiates all the activities that the virus performs when you try to open any drive. You have to just delete this file and restart your system to correct this problem.

Follow the set of commands below to show and delete the autorun.inf
    • Open Start>>Run and type cmd and press enter. This will open a command prompt window. On this command prompt window type the following steps.
    • type cd\
    • type attrib -r -h -s autorun.inf
    • type del autorun.inf
    • now type d: and press enter for d: drive partition. Now repeat steps 3 and 4, followed by step 5 for all your hard disk partition.
  • Restart your system and your trouble will be fixed.

Related :

This document entitled « Can't open drives when double clicking on them » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.