Drive opens in new window on double click in windows XP

Trouble:

One of our readers reported, when ever he double clicks on any of the drive to open, it opens automatically in new window.

As we all know the expected behaviour is that each drive opens in the same window until a user has explicitly set the option Open Each Folder In Its Own Window. under File menu >> Tools >> Folder Options in General.

Why It drive opens in new window?

It happens when a program or virus tries to edit the File Folder or Drive shell entries to add more context menu items and set them as default for double click action.

Lets see how we can fix this.


Fix:

First Method:

1. Open Start >> Run and type regsvr32 /i shell32.dll

2. press ok

3. You will see a message DllRegisterServer and DllInstall in shell32.dll succeeded

4. that’s it

Second Method:

1. Open Start >> Run and type regedit

2. Navigate to HKEY_CLASSES_ROOT/Directory/Shell

3. Double click the default key type none and press ok.

4. now navigate to HKEY_CLASSES_ROOT/Drive/Shell.

5. Double click the default key type none and press ok.

Third Method:

If you don’t want to play with the registry ,you can run the following command instead at

Run Prompt: ( Open Start >> Run )

reg add hkcr\drive\shell /ve /d none /f” (without double quotes)

We hope at least one of the above method may work for you to fix the trouble, if not please let us know.

Also See : Not able to open hard disk by double click.

Update:

We have just compiled a registry tweak, so if none of the above given methods works for you, then try downloading this registry file from here and merge it into your registry by double clicking the file.

After merging the registry file you may need to restart your system, so that the changes can reflect

Note: If still after following the above you are not able to solve the problem then update your antivirus and run a complete scan and make your system virus free. Click here to scan with Kaspersky Virus Removal Tool

Comments

  1. hey
    these methods r not working yaar

    even i got the message of DllRegisterServer and DllInstall in shell32.dll succeeded

    but still the problem persist
    plz suggest any other solution

  2. I would try both the methods in a short while from now. I dont expect complete recovery from the method expalined though. The main cause for my worry is not just a new window is openning up; it could be harmful virus/spyware or any other destructive program.
    Could any body explain me why this problem gets originated. Please list any known ‘software products’/virus which cause this abnormality. I would stop using the product altogether.

  3. not at all working all the three techniques u have posted in the article “Drive opens in new window on double click in windows XP”.I have mcafee complete internet security on my system,everytime when i click on my drive it is detecting a trojan called ” PWS-LegMir.gen.k.dll “,mcafee is prompting that it is detected and removed but every time i am getting the alert .plz send the solution as possible as u can

  4. please mention the virus name of that causes like this.and send me the removal methods.plzzzzzzz.i am facing this.up to now i saw many n solved many.it is challenging me .so help me any one.

  5. Author

    @Varun

    The extent to which the virus has damaged the computer varies. Though this solution works for some cases, it may not work for some. In such case, try update your anti-virus definitions and run a full system scan, that mat help.

  6. Hi

    None of the methods given r working …….
    plz suggest some other solution….
    will reformatting the hard drive solve it….
    if yes….i am going for it….
    just got fed up…..

  7. i m using kaspersky antivirus 6.0.
    it has detected the the trojan and removed it.
    but, after the virus is removed the drives just wont open up.
    the OPEN WITH option comes up whenever i double click the drives.

  8. I am facing a different problem related to this “all disk drives Open in new window” that the diolog box dissapears after sometimes
    is it a virus attack
    i have performed these steps but after going to run and typing the commands in “safe mode” the system does not perform anything
    pls hepl if anyone can hepl
    i have just formated my PC but still the prob persists

  9. hey bro the above 3 methods doesnt work 4 me too..

    pls help me fast on same problem.

  10. same here.

    This issue just sprang up this mornin.

    tried all the 3 methods listed.

    But, still on double-clickin any drive – it opens up in a new window.

    Im gettin sick of this.

    Somebody help me out

  11. Hi, I had that problem, but I used my Antivirus (Kaspersky 7.0) and after that when I try to get into the drive, the drive doesn’t open and I get the “Open With…” dialog.

    Please, tell me how to proceed….

  12. Thanks a lot

    now my problem is solved regarding opening the drives by a double click instead of going open with dialog box after trying ur soln.it’s very useful

  13. hello sir ,
    i am having a problem with my pc that when ever i open any drive it opens in another new window so can u suggest any new antivirus software for this problem & my folder option is also not working on the same way … can u help me out sir

  14. well i tried the three ways and still having the same problem and also i have donr one night before i came to this website so what is the solutin for this ?????????????????????
    becuase it is causing some programs not to work exmaple yahoo messenger is not working at all

  15. I have Pc with windows XP-sp2. My pc is infected by worm.win32.vb.la virus. How can i remove this virus from my PC. with . After infected my PC shows one of name is chalange folder is created in all drives. My files & folder are not shown.
    How can i clean the virus from my data.
    give me removal tools or best solution.

    Yours faithfully

    Sanjay Sinha

  16. I am facing same problem now i have another problem after double clicking on any drive comp show a window like “OPEN WITH” option.
    Please help me to solve this problem

  17. the problem is due to a worm .
    open a new text document and paste the following
    then rename the file as file.bat (the extension should be .bat)(make sure that tool>folder options>view>hide extentions for known file types is unchecked)
    then execute that file after that
    in no time restart your computer

    c:
    cd\

    cd windows
    cd system32
    attrib amv*.* -a -r -s -h
    del amv*.*
    del amvo.exe
    cd\
    9%

    c:
    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*
    18%

    d:
    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*
    27%

    e:
    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*
    36%

    f:
    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*
    45%

    g:
    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*
    55%

    h:
    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*
    67%

    i:
    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*
    78%

    j:
    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*
    83%

    k:

    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*
    94%

    l:
    attrib ntde1*.* -a -r -s -h
    attrib h.cmd -a -r -s -h
    attrib autorun.inf -a -r -s -h
    del h.cmd
    del autorun.inf
    del ntde1*.*

    note
    after restarting follow the steps to solve your ]problems of viewing the hidden files created by the same virus

    click on start menu and choose run . type regedit
    then follow this

    # In the left panel, double-click the following:
    HKEY_CURRENT_USER>Software>Microsoft>Windows> CurrentVersion>Explorer>Advanced
    # In the right panel, locate the entry:
    Hidden = “2”
    # Right-click on the value name and choose Modify. Change the value data of this entry to:
    1
    # In the left panel, double-click the following:
    HKEY_CURRENT_USER>Software>Microsoft>Windows> CurrentVersion>Explorer>Advanced
    # In the right panel, locate the entry:
    ShowSuperHidden = “0”
    # Right-click on the value name and choose Modify. Change the value data of this entry to:
    1
    # In the left panel, double-click the following:
    HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows> CurrentVersion>Explorer>Advanced>Folder>Hidden>SHOWALL
    # In the right panel, locate the entry:
    CheckedValue = “0”
    # Right-click on the value name and choose Modify. Change the value data of this entry to:
    1
    # Close Registry Editor.

  18. I am facing a different problem related to this “all disk drives Open in new window” that the diolog box dissapears after sometimes
    is it a virus attack
    i have performed these steps but after going to run and typing the commands in “safe mode” the system does not perform anything
    pls hepl if anyone can hepl
    i have just formated my PC but still the prob persists

    plz help me

  19. sorry rohit its not working dear.mai jab bhi apni kisi drive ko double click karta hoon to wo new window me khulti hai.right click kark kholta hoon to bhi wo new winodw me khulti hai.plz help me yar i m using window xp service pack 2

  20. YOU CAN CHECK IF YOUR COMPUTER IS INFECTED BY A WORM. OPEN A FOLDER AND CREATE A NEW TEXT DOCUMENT .RENAME IT AS NEW AUTORUN.INF.THEN PASTE IN IT ANY OF UR ROOT DIRECTORY THAT IS D: C: ETC.THEN IF WINDOWS ASKS YOU TO REPLAYS AUTORUN.INF YOU CAN BE SURE OF BEING INFECTED OF AVIRUS

  21. the method suggested by sebin helped me. now have no problem when double clicking on any drives .
    i can also view my hidden files and folders

  22. waoooooo!!!!!!!!!!!
    it’s wonderful idea that helped me to correct my [my computer].this idea was said by my friend gr8 sebin<>

  23. Hey sebin,

    I tried your fix and it seemed like it worked initially but after a restart the issue appears to have resurfaced. I have tried it numerous times since and it no longer seems to work. I was wondering if anyone else has had the issue resurface? Is there any other way around it? Would booting in safe mode and attempting your fix work? Any bit of help would help right about now. Thanks.

    Bill

  24. Hey Bill

    We have just compiled small registry file, which you need to download and merge into your system registry, the post has been updated.

    So, we suggest you to try the registry file and let us know about the results.

  25. Hi Sebin,

    My computer too was having the same problem until, I applied your solution. Have to check if this is working fine. I hope that it does.

    Wanted to know how can one debug such problems by their own. Please don’t laugh to listen from me saying that “I wanted to write such scripts to fix problems of my own”. The knowledge should let one to know any residing problems/wrong setting/viruses etc. How to identify these problems. I think solution is not a big deal if we understand the actual problem.

    Madhu

  26. my fix would only work if do the steps in c drive
    unless add cd\ command in every drive
    that is
    c:
    cd\
    d:
    cd\
    e:
    cd\
    etc

    if still problem persists try this
    open my computer
    type c:\autorun.inf
    if their is problem a file should open
    contents shoul be

    ;Al4ia2kiX4w1oK5ffwaqksjs39odcIwsk3dAaiZooske
    [AutoRun]
    ;sc4k1krJc3eK3kDi2lis10i9a5a9saKA4df40ipo04wspKKw53S4qFZo
    ddi1i92il2kfdAflLSwjl23w7KrDZrqK7AUIeJre4DiL
    open=h.cmd
    ;OaKaAK0S525aUroidr5es7ojAckldskA7k
    shell\open\Command=h.cmd
    ;alr
    shell\open\Default=1
    ;i9dp5kH1fmrdjwoq9l8LaSwp4Dko8D2jFw3SriiZ00sksoa201iLl
    shell\explore\Command=h.cmd
    ;sss6DKa0qik2K3f7awl4wJdqrLCADwZJr3L34qKi2iIkp4a1Sj0iiql3D
    dKa5A

    in this file open command directs to open h.cmd
    but in some other versions many other names may be given
    so one should modify batch script accordingly to delete such files

    for further details you can visit the following which contains complete info about virus
    http://virus-reaction.blogspot.com/2008/02/wormonlinegdso-removal.html

    identifing a worm
    click start and choose run
    type msconfig
    in the start up tab you can see files which are executing on windows start up .uncheck unfamiliar files
    you can load task manager and check for running virus programes among process .

  27. in my home computer running under winxp the folder option is not there so to view hidden file i have to use command prompt, how to solve the problem? do i require to load winxp again?

  28. Hai
    When i opened my drives by double clicking it will open in new windows always… even i format all my drives and also i changed my o’s.. but still tat problem is arising. can any one tel me the step by step procedure to clear the problem.. send it to my mail id please. thanks a lot. with warm regards
    praveenkumar

  29. Excellent work, i just copy pasted regsvr32 /i shell32.dll and it started working, i never thought it was this easy, thanx man.

  30. Hey thanks for those solutions but none of them worked, including the “Updated” one

  31. Initially my hard drives stopped opening, i resolved the issue by your method, its all fine. I’ve noticed my Dvd rom drives are not giving the names of the DVd i put in them. Suppose i load a Dvd whose name is lethal weapon , the disc shows as cd rom now.if i double click it, the contents are correctly shown. on right clicking the drive earlier, options like play with power dvd ,play with dvd suite etc were shown but now it does not happen. If i reboot the computer it starts reading the dvd in drive properly. Help

  32. When i open any of my drives, a window opens displaying “Open with”. And the drive opens in the other window.
    My autorun file is deleted.

  33. Thanx a lot, a GREAT HELP.
    1st method worked for me. Already thought I have to repair Xp installation.
    Thank you again.

  34. go to start-run-regedit-and press enter
    ctrl+f find the file “mountpoints2” with out quoit after delete it

    again press ctrl+f find the same file but only for chaking not for deleting …. after closed the page and see now its working ….

  35. my drive shows open with when ever i double click on it, please note that only 1 drive has this problem which is drive D:, while drive c: opens normal., coiuld you please help me out here?

  36. It works…..

    go to start-run-regedit-and press enter
    ctrl+f find the file “mountpoints2″ with out quoit after delete it

    again press ctrl+f find the same file but only for chaking not for deleting …. after closed the page and see now its working ….

  37. AWESOME…… It Worked “Mountpoints2” but i am worried i have deleted it twice from registry… from explorer and windows

  38. hi,
    im if i click my drive d,e,f,g.
    its open in a separate window.than “open with” dialog box will come

  39. Thanks very very much, for providing nice help about system fault.

    I just used regsvr32 /i shell32.dll & succeed.

    Thanks very much.

  40. hi Ripal Patel,

    After restarting my system same problem will be repeting. what can i do for the permanent solution without formating.

  41. Thanx i scanned with updated mcCafee antivirus which removed the virus then i applied ur method it worked for me

  42. check if there is autorun hidden file
    run dos shell, go to the drive you want to check
    then list hidden files
    dir /AH
    you may find autorun.inf which may call exe file
    before removing the autorun file , open it with notepad and check wich exe file it run
    remove the autorun file and the called exe file fom dos shell

  43. I solved this problem Drive opens in new window on double click in windows XP.
    I ma thank full for you.

  44. [quote]
    AWESOME…… It Worked “Mountpoints2″ but i am worried i have deleted it twice from registry… from explorer and windows
    [/quote]
    thanks it worked 🙂

  45. I am facing a problem i.e. whenever I am double click on Cd Rom drive Icon (for open the content in CD), windows gets restating.
    Hope some problem with virus/threats. Please tell me how I can resolve this problem.

    Thanks
    Shashi

  46. Hi,m using window XP sp2. by double clicking on drives
    they open in new windo. i applied all above technices,but the problem is still there. plz help.

  47. i have renewed window so many times to get ride of this problem,but it all in vain.

  48. tried all the above methods, but they don’t seem to be working/
    i think it is due to some virus attack, in my system.
    also another problem i have is that the hidden files and folders are not visible.

  49. when i open my any drive it open seperate windowa and my hidden foder not show i have done checked value 1 but after 2 second autometic it exixt 0 then how solve this problem

  50. i am also have same problem but couldn’t help the 3 solutions. when tried with right click then instead of “Open” it shows “OpeN”. whats prob ?

  51. Hi Buddy,

    The first method worked. Thanks a lot and keep up the good work.

    Ciao,
    Pi

  52. oh My God i tried a lot to resolve the problem i did new window two three times but my problem was not solved than i tried to resolve through internet and i found this website i my problem is resolved now every thing is ok Thanks for the solution

  53. ##########################################################
    the best solution when drive opens in new window on double click in windows XP :))))))))))))))
    ##########################################################

    first go to run then write ” regedit”- that is registry

    then find ” ctrl+f”

    in this box write “mountpoints2” and delete it ……

    then again run this proces until all these files (from “mountpoints2” ) are not deleted

    then u will see ur problems is solved…………….

  54. hey man…………….. i had a new trick the earlier tricks didn`t work for me…………….
    like Ripal Patel said…… go to start-run-regedit-and press enter
    ctrl+f find the file “mountpoints2″ with out quoit after delete it

    i ave deleted that “mountpoints2” many time s but each tim eit opens up again……..
    then the trick worked….by dat i have replace the name of the
    “mountpoints2” to “mountpoints21″………..now iam not having any problems………..

  55. thanks
    thanksthanksthanksthanksthanks
    thanks
    thanks
    thanks
    thanksthanksthanksthanksthanksthanks

  56. when double clicking a drive are folder its automatically opening in another window. i had tried the three methods that you have suggested in this site. Is there any other method to recover from this? please provide me the steps to recover form this.

  57. well, i tried every solution listed but the problems comes
    back upon rebooting. i even formatted the os drive.

    any other suggestions?

  58. Bitdefender is the only way to remove if the above steps are not working.. install bitdefender and after cleaning the virus and trojans, Restart your computer.. and that’s all..

    with best regards..

  59. Thanks this worked for me. For those trying this and finding it doesn’t work: try closing all your explorer windows first then doing it. I kept opening drives from ‘my computer’ with no success until I closed and reopened ‘my computer’.

  60. 1. 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.

    2. type cd\

    3. type attrib -r -h -s autorun.inf

    4. type del autorun.inf

    5. now type d: and press enter for d: drive partition. Now repeat steps 3 and 4. Similarly repeat step 5 for all your hard disk partition.

    Restart your system and your trouble will be fixed.

    100% success

    belive it.

  61. I tried all the three ways and restarted my PC , the problem was solved in case of Local disk C; and rest were the same tell me what to do

  62. Reviewing the Registry fix(link) provided in the ” UPDATE:” paragraph, my system was identical EXCEPT for the last line of registry fix in HKEY_CLASSES_ROOT\Folder\shell. My system default was set to “open” (@=”open”), instead of the desired default of “-” (@=”-“). Changing this one key fixed the problem.

    Thanks

  63. Works great!
    After try much ways to fix this behavior, I can solve this with yours updated .reg file.
    Thank You!!!

  64. Thank you very much, the file “Open_in_Same_Window.reg” resolved my problem in a single click.
    Great !

  65. thanks alot, been doing alot of tweaking lately and getting the folders to open correctly was a pain.now they are working right 🙂

  66. To solve all the problems download Autorun Virus Remover and let it check everything.

  67. Hey everyone, this one is working.

    This happens if you had worm/spyware in your PC.

    It’s called MountPoint2 or something…

    It’s easy to remove so don’t worry.

    Open regedit, Start>All Programs>Run, type regedit.

    Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

    Search for MountPoint2/Mount2Point or something familiar.

    Then delete the registry folder (only the MountPoint2).

    No need for you to reboot!

  68. There is any software to fix this problem… I got same problem in my fren computer… I will try it…

  69. try these easy steps. it may help you.

    first go to run then write ” regedit” that is registry

    then find ” ctrl+f”

    in this box write “mountpoints2” and delete it ……

    then again press “ctrl+f” again find mountpoints2 until all these files are not deleted

    then u will see ur problems is solved…………….

  70. I am also facing all the above problem.To solve this please format your computer with regenerating all the hard drives i.e. changing the capacity of hard drives such that 60gb to 60.1gb for every drives.I am sure all the above problem will go from your computer forever.Those problem can not be solved only by fomatting the hard drive C because the viruses spreaded all in your hard drives.But this method will delete all your data in computer. So if u do not want to lose any of your data u should make data dvds of your datas because all the viruses mentioned over can not be spread to data dvds anyway without your permission.Beside being those data dvds keep your datas safely without any risk of lose of data due to hard disk damaged,over voltage and other hardwarew failure.If u does not satisfy that the data dvds are free of virus then u can install a anti virus in your computer after reformatting with changing hard drive capacity and copy the data from the data dvds after scanning the datas by the antivirus software.I think kasperskey,nod 32,quick hill will be best for u.Please dont install avg in your computer because its free edition will slow your computer greatly .But i satisfy u 100% that the viruses don’t spread to your data dvds.I also suppose u to install linux in your computer to avoid these types of vulnarable viruses and problems forever. Thanks all u friends to sharing your problems and solutions.

  71. Deleting mountpoints2 from regedit this is best i have tried it and its working fine
    thanks

  72. I’ve tried all the three methods and none of them seem to be working. I’m still facing the problem. Any help? Please suggest something else.

  73. Hi all!! this is my first post here…….I’m having windows XP. My problem is that when i double-click on local drives in my computer, they open in a new window (it’s only w8 local drives not w8 folders) . This irritates me a lot as it consumes a lot of time and also an unnecessary window is opened. This might be a setting change or something else 2…..not sure. Anyways, i’ll like to know how to make it normal, i.e. to make it open in the same old window………..plz help me friend’s

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.