I can't set a program as the default to open a filetype with in Windows 7











up vote
56
down vote

favorite
24












I am attempting to set the default program to open a file with and I am unable to do so. I am using Windows 7 and the file extension I am attempting to set a default program to is bfa (*.bfa); the program that not only generates this file type but also the program which I am attempting to set as the default to open it is Blowfish Advanced CS (http://bfacs.sourceforge.net/).



When I right click a file and select "Open With", I go through the motions of trying to select the program: clicking "Browse" with "Always use the selected program..." checked and then I browse to the program. Once I select the program it fails to pop up as an option in the "Open With" dialog. I suspect the problem relates to the fact that the OS is 64-bit and application is 32-bit. Any suggestions on how to proceed?










share|improve this question




















  • 2




    I had this happen when upgrading from a 32-bit to a 64-bit version of an app. Because 64-bit apps are stored in a different Program Files folder, Windows couldn't find it and so wouldn't let me select it. I fixed the problem by going through the registry and deleting all references to the 32-bit version.
    – Adam Pierce
    Jun 26 '15 at 3:44










  • I recently had a similar problem with the program Geogebra and in my case I solved it by renaming the executable. But I am not sure what is causing this issue, maybe windows has some kind of duplicate name of an executable of a previous version of that program, even though the path name is different.
    – fibonatic
    Jul 22 '15 at 16:04






  • 4




    Possible duplicate of "Open With" dialog ignores my selection
    – kristianp
    Mar 9 '16 at 23:53















up vote
56
down vote

favorite
24












I am attempting to set the default program to open a file with and I am unable to do so. I am using Windows 7 and the file extension I am attempting to set a default program to is bfa (*.bfa); the program that not only generates this file type but also the program which I am attempting to set as the default to open it is Blowfish Advanced CS (http://bfacs.sourceforge.net/).



When I right click a file and select "Open With", I go through the motions of trying to select the program: clicking "Browse" with "Always use the selected program..." checked and then I browse to the program. Once I select the program it fails to pop up as an option in the "Open With" dialog. I suspect the problem relates to the fact that the OS is 64-bit and application is 32-bit. Any suggestions on how to proceed?










share|improve this question




















  • 2




    I had this happen when upgrading from a 32-bit to a 64-bit version of an app. Because 64-bit apps are stored in a different Program Files folder, Windows couldn't find it and so wouldn't let me select it. I fixed the problem by going through the registry and deleting all references to the 32-bit version.
    – Adam Pierce
    Jun 26 '15 at 3:44










  • I recently had a similar problem with the program Geogebra and in my case I solved it by renaming the executable. But I am not sure what is causing this issue, maybe windows has some kind of duplicate name of an executable of a previous version of that program, even though the path name is different.
    – fibonatic
    Jul 22 '15 at 16:04






  • 4




    Possible duplicate of "Open With" dialog ignores my selection
    – kristianp
    Mar 9 '16 at 23:53













up vote
56
down vote

favorite
24









up vote
56
down vote

favorite
24






24





I am attempting to set the default program to open a file with and I am unable to do so. I am using Windows 7 and the file extension I am attempting to set a default program to is bfa (*.bfa); the program that not only generates this file type but also the program which I am attempting to set as the default to open it is Blowfish Advanced CS (http://bfacs.sourceforge.net/).



When I right click a file and select "Open With", I go through the motions of trying to select the program: clicking "Browse" with "Always use the selected program..." checked and then I browse to the program. Once I select the program it fails to pop up as an option in the "Open With" dialog. I suspect the problem relates to the fact that the OS is 64-bit and application is 32-bit. Any suggestions on how to proceed?










share|improve this question















I am attempting to set the default program to open a file with and I am unable to do so. I am using Windows 7 and the file extension I am attempting to set a default program to is bfa (*.bfa); the program that not only generates this file type but also the program which I am attempting to set as the default to open it is Blowfish Advanced CS (http://bfacs.sourceforge.net/).



When I right click a file and select "Open With", I go through the motions of trying to select the program: clicking "Browse" with "Always use the selected program..." checked and then I browse to the program. Once I select the program it fails to pop up as an option in the "Open With" dialog. I suspect the problem relates to the fact that the OS is 64-bit and application is 32-bit. Any suggestions on how to proceed?







windows-7






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 13 '14 at 1:58









Journeyman Geek

111k43216363




111k43216363










asked Oct 7 '13 at 17:29









Gedalya

4801411




4801411








  • 2




    I had this happen when upgrading from a 32-bit to a 64-bit version of an app. Because 64-bit apps are stored in a different Program Files folder, Windows couldn't find it and so wouldn't let me select it. I fixed the problem by going through the registry and deleting all references to the 32-bit version.
    – Adam Pierce
    Jun 26 '15 at 3:44










  • I recently had a similar problem with the program Geogebra and in my case I solved it by renaming the executable. But I am not sure what is causing this issue, maybe windows has some kind of duplicate name of an executable of a previous version of that program, even though the path name is different.
    – fibonatic
    Jul 22 '15 at 16:04






  • 4




    Possible duplicate of "Open With" dialog ignores my selection
    – kristianp
    Mar 9 '16 at 23:53














  • 2




    I had this happen when upgrading from a 32-bit to a 64-bit version of an app. Because 64-bit apps are stored in a different Program Files folder, Windows couldn't find it and so wouldn't let me select it. I fixed the problem by going through the registry and deleting all references to the 32-bit version.
    – Adam Pierce
    Jun 26 '15 at 3:44










  • I recently had a similar problem with the program Geogebra and in my case I solved it by renaming the executable. But I am not sure what is causing this issue, maybe windows has some kind of duplicate name of an executable of a previous version of that program, even though the path name is different.
    – fibonatic
    Jul 22 '15 at 16:04






  • 4




    Possible duplicate of "Open With" dialog ignores my selection
    – kristianp
    Mar 9 '16 at 23:53








2




2




I had this happen when upgrading from a 32-bit to a 64-bit version of an app. Because 64-bit apps are stored in a different Program Files folder, Windows couldn't find it and so wouldn't let me select it. I fixed the problem by going through the registry and deleting all references to the 32-bit version.
– Adam Pierce
Jun 26 '15 at 3:44




I had this happen when upgrading from a 32-bit to a 64-bit version of an app. Because 64-bit apps are stored in a different Program Files folder, Windows couldn't find it and so wouldn't let me select it. I fixed the problem by going through the registry and deleting all references to the 32-bit version.
– Adam Pierce
Jun 26 '15 at 3:44












I recently had a similar problem with the program Geogebra and in my case I solved it by renaming the executable. But I am not sure what is causing this issue, maybe windows has some kind of duplicate name of an executable of a previous version of that program, even though the path name is different.
– fibonatic
Jul 22 '15 at 16:04




I recently had a similar problem with the program Geogebra and in my case I solved it by renaming the executable. But I am not sure what is causing this issue, maybe windows has some kind of duplicate name of an executable of a previous version of that program, even though the path name is different.
– fibonatic
Jul 22 '15 at 16:04




4




4




Possible duplicate of "Open With" dialog ignores my selection
– kristianp
Mar 9 '16 at 23:53




Possible duplicate of "Open With" dialog ignores my selection
– kristianp
Mar 9 '16 at 23:53










13 Answers
13






active

oldest

votes

















up vote
70
down vote













Find the registry key for the application you wish to associate, lets say for Notepad++.exe in HKEY_CLASSES_ROOTApplicationsnotepad++.exe shellopencommand



Check if the .exe path is right. If not, then change the path to the correct one.



After doing this, you can now go to the file you wish to associate and use the standard way Open With and choose the program you wish to open.



Explanation:



This issue happens when Windows gets confused about the filepath for a program, as file associations are handled using only the base executable name of a program (source).



This bug can be caused by:




  • Running multiple versions of a program (i.e. Notepad++ and Notepad++ Portable)

  • Moving programs to different folders.

  • Changing drive letters






share|improve this answer























  • If some of your drive letters have changed - when you remove/add a permanent disk or changed around drive letters, like sometimes happens when repartitioning drives - This is the most accurate and safest solution (among registry-based solutions).
    – Neowizard
    Mar 6 '15 at 4:55






  • 1




    As @scunliffe mentioned, this was the solution that worked for me. The reason I was having this problem was that I had repartitioned my disks and the default software was on a different partition with a different drive name. However, after the drive name change, the registry was still having the old path listed under the software. Changing the path to the current software path solved everything.
    – globetrotter
    Aug 17 '15 at 10:42






  • 1




    one of my students had a similar problem, he opened a portable version of sublime once from our shared Network Drive, so shellopencommand was set to "\servernamestudentSoftwaresublimesublime_text.exe" even after he installed sublime locally on his laptop. so when he was not at school he chouldn't assign sublime as default program. for me this is the correct answer.
    – philx_x
    Oct 21 '15 at 7:14












  • I removed all the references I could from the registry (two were protected) to both the 32 and 64 bit of UltraEdit (uedit32.exe and uedit64.exe) but even after a clean reinstall, it did not work. Finally I created the following keys manually and added the name=default, type=REG_SZ and value="c:Program FilesUltraEdituedit64.exe" (including the " symbols) values under both of the keys: HKEY_CLASSES_ROOTApplicationsuedit.exeshelleditcommand HKEY_CLASSES_ROOTApplicationsuedit.exeshellopencommand After this I was able to define UltraEdit as the default opener for *.txt files.
    – Csongor Halmai
    Jul 24 '17 at 11:45








  • 1




    If changing the path doesn't work, you can also try deleting the registry entry to fix the issue.
    – Steven M. Vascellaro
    Aug 17 '17 at 16:27


















up vote
10
down vote













I had the same problem, and none of the solutions worked (like the method below of going to the Control Panel - which does the same thing if you right click the file->Open With->Choose Default). Even after selecting the new program many times, it was stuck with the old one.



I fixed it by editing the registry. Go to the concerned extension like this (I had problem with .cpp):



HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.cpp


Besides these two keys: OpenWithList and OpenWithProgids, it might have a third one called 'UserChoice'. Just delete that third key. After that, it will allow you to change the default program for that file extension.






share|improve this answer



















  • 3




    I had similiar problem, when I upgraded from Sublime Text 2 to Sublime Text 3. Navigate to ComputerHKEY_CLASSES_ROOTApplications find the key for (application name) and just delete it. Then do the Open With (default=) trick again, and it all works.
    – zipzit
    Nov 14 '14 at 23:40










  • I tried deleting the key but after changing the association and opening the file again it opened in the wrong program still.
    – intcreator
    Jan 26 '16 at 23:08


















up vote
4
down vote













example : file type .css



find and delete key



HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.css

HKEY_CURRENT_USERSoftwareMicrosoftWindowsRoamingOpenWithFileExts.css

HKEY_CLASSES_ROOT.css


open task Manager and Restart Windows Explorer Or reboot computer






share|improve this answer




























    up vote
    3
    down vote













    Try



    Control PanelAll Control Panel ItemsDefault ProgramsSet Associations


    enter image description here



    ADDED



    Also see the question here ftype changes are ignored. Where does Windows retrieve the "incorrect" value from? How can I enforce my changes? for an example of the assoc and ftype commands. Starting an administrative cmd prompt and running the assoc command for the extension, then the ftype command for it, should associate the extension with the program you specify.






    share|improve this answer



















    • 2




      Thanks, I did try this; it ultimately will end up bringing up the same "Open With" dialog. When I tried it this way it failed as well.
      – Gedalya
      Oct 7 '13 at 17:50










    • @Gedalya can you open the program directly and then the file within the program? and when you choose to open it with your program, what program if any does it try to open the file in?
      – barlop
      Oct 7 '13 at 18:37












    • I can open it directly with my program. Currently the file is associated with Adobe Acrobat; this is by accident though. When I first installed the program the file type was unassociated; when I tried to associate it it was accidentally associated with Acrobat.
      – Gedalya
      Oct 7 '13 at 18:58










    • so was acrobat always opening it? and you couldn't stop acrobat from opening it until you change the file association within blowfish itself?
      – barlop
      Oct 7 '13 at 20:35










    • No, Acrobat wasn't always opening it. I associated the file with Acrobat on accident; I went through the motions of trying to associate Blowfish and didn't pay attention to the fact that it wouldn't let me and Acrobat was selected so it ended up being associated. Acrobat doesn't really have anything to do with the problem.
      – Gedalya
      Oct 7 '13 at 21:41


















    up vote
    3
    down vote













    I wanted to share my solution. I wanted to open .spq with SpeQ Mathematics.exe, which is a standalone program (it does not require installation). The program did not appear in the list even after I found it via browsing and selected it.



    I went to



    HKEY_CLASSES_ROOT.spq


    and found listed Data: spq_auto_file



    I then went to



    HKEY_CURRENT_USERSoftwareClassesspq_auto_fileshellopencommand


    and saw the wrong folder listed under Data.
    I changed the folder to the actual one and the program appeared in the context menu list. I suppose the moving around that can be done with standalone programs was the reason for my problem.






    share|improve this answer




























      up vote
      1
      down vote













      I was able to fix my problem with the program itself. See the picture below for reference; under 'Tools' > 'Options'



      The 'Miscellaneous' tab; under 'Registry Setup' there are two options that alter the registry. I applied both and it works now. What isn't clear is how I could have done this without the program doing this.



      enter image description here






      share|improve this answer





















      • The program was probably actively working against you. Every time it loaded and the 'Associate File Types' box was unchecked, it probably scrubbed the filetype association out of the registry.
        – hBy2Py
        Dec 31 '14 at 19:36


















      up vote
      1
      down vote













      I've had the same/similar problem.



      Here is what caused it. I use keepass.exe to open .kbd files both of which I synch over cloud. When I moved the folder it stopped working. The OS knows that that's my program, but I'm unable to update the location of the executable through the Open-with dialog.



      The solution...




      • Open regedit

      • find the application you are looking for in HKEY_CLASSES_ROOTApplications.


        • Example: atom.exe is located at HKEY_CLASSES_ROOTApplicationsatom.exe



      • delete that entry

      • right-click the file type and try selecting the program again. It should now appear






      share|improve this answer




























        up vote
        0
        down vote













        Just for you guys to know...



        I had the same problem on win8.1.



        That default file dialog seems to hang explorer, it happens both from the folder´s right click option and from set association screen, I think there is some problem with that functionality...



        For me, killing explorer process via Task Manager and reopening explorer, (from task manager) via File -> new Task -> explorer.exe, completed the process of setting the default program normally and everything works fine now.



        I don´t know if was just luck, but it is worth trying...






        share|improve this answer




























          up vote
          0
          down vote













          For anyone having the same issue but with Office 365 / Excel 2016:



          Going to "Programs and Features" -> right click "Office 365" -> change -> Quick Repair fixed the issue for me.






          share|improve this answer




























            up vote
            0
            down vote













            You can use this command for ".txt" files. but you must open command prompt with admin roles.
            ftype txtfile="C:Program Files (x86)Notepad++notepad++.exe""%1"



            if you don't know file type of your file you can use "assoc .txt" command on command prompt.



            For more details you can check this link:
            Windows “Open With” application not appearing as an option



            It works for me.





            share








            New contributor




            Uğur Abdioğlu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              up vote
              -1
              down vote













              i fixed this issue by right-clicking the file i wanted to open and choosing "properties". on the "general" tab it said "opens with: unknown program" or something like that. i just clicked the "change..." button next to that message and picked the app i origionally wanted. i think maybe this happens when the associated application gets deleted.






              share|improve this answer




























                up vote
                -1
                down vote













                The best solution is to remove the user account that cannot set a default program to open a file and re-create a new user. At some point when installing/updating an application, Windows corrupted the policy for that user account. Be sure to copy all the user's data (c:/users/userid/) before removing that user account and log in with a different user with Sysadmin account.



                To Remove the user account: Control Panel >> System >> Advanced system settings >> Advanced (tab) >> Setting (under User Profile) >> delete the corrupt user account.



                Then reboot, log in and create a new user. You can use the same account name.






                share|improve this answer






























                  up vote
                  -1
                  down vote













                  Try setting the default from within the program you want to use as opener.



                  I had similar problem when php files all of a sudden started opening with Acrobat which caused an error as Acrobat can't handle php. I tried to change the association, but all failed. Finally went to Dreamweaver's preferences and set it as opener for php.






                  share|improve this answer























                    Your Answer








                    StackExchange.ready(function() {
                    var channelOptions = {
                    tags: "".split(" "),
                    id: "3"
                    };
                    initTagRenderer("".split(" "), "".split(" "), channelOptions);

                    StackExchange.using("externalEditor", function() {
                    // Have to fire editor after snippets, if snippets enabled
                    if (StackExchange.settings.snippets.snippetsEnabled) {
                    StackExchange.using("snippets", function() {
                    createEditor();
                    });
                    }
                    else {
                    createEditor();
                    }
                    });

                    function createEditor() {
                    StackExchange.prepareEditor({
                    heartbeatType: 'answer',
                    convertImagesToLinks: true,
                    noModals: true,
                    showLowRepImageUploadWarning: true,
                    reputationToPostImages: 10,
                    bindNavPrevention: true,
                    postfix: "",
                    imageUploader: {
                    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                    allowUrls: true
                    },
                    onDemand: true,
                    discardSelector: ".discard-answer"
                    ,immediatelyShowMarkdownHelp:true
                    });


                    }
                    });














                     

                    draft saved


                    draft discarded


















                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f655600%2fi-cant-set-a-program-as-the-default-to-open-a-filetype-with-in-windows-7%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest
































                    13 Answers
                    13






                    active

                    oldest

                    votes








                    13 Answers
                    13






                    active

                    oldest

                    votes









                    active

                    oldest

                    votes






                    active

                    oldest

                    votes








                    up vote
                    70
                    down vote













                    Find the registry key for the application you wish to associate, lets say for Notepad++.exe in HKEY_CLASSES_ROOTApplicationsnotepad++.exe shellopencommand



                    Check if the .exe path is right. If not, then change the path to the correct one.



                    After doing this, you can now go to the file you wish to associate and use the standard way Open With and choose the program you wish to open.



                    Explanation:



                    This issue happens when Windows gets confused about the filepath for a program, as file associations are handled using only the base executable name of a program (source).



                    This bug can be caused by:




                    • Running multiple versions of a program (i.e. Notepad++ and Notepad++ Portable)

                    • Moving programs to different folders.

                    • Changing drive letters






                    share|improve this answer























                    • If some of your drive letters have changed - when you remove/add a permanent disk or changed around drive letters, like sometimes happens when repartitioning drives - This is the most accurate and safest solution (among registry-based solutions).
                      – Neowizard
                      Mar 6 '15 at 4:55






                    • 1




                      As @scunliffe mentioned, this was the solution that worked for me. The reason I was having this problem was that I had repartitioned my disks and the default software was on a different partition with a different drive name. However, after the drive name change, the registry was still having the old path listed under the software. Changing the path to the current software path solved everything.
                      – globetrotter
                      Aug 17 '15 at 10:42






                    • 1




                      one of my students had a similar problem, he opened a portable version of sublime once from our shared Network Drive, so shellopencommand was set to "\servernamestudentSoftwaresublimesublime_text.exe" even after he installed sublime locally on his laptop. so when he was not at school he chouldn't assign sublime as default program. for me this is the correct answer.
                      – philx_x
                      Oct 21 '15 at 7:14












                    • I removed all the references I could from the registry (two were protected) to both the 32 and 64 bit of UltraEdit (uedit32.exe and uedit64.exe) but even after a clean reinstall, it did not work. Finally I created the following keys manually and added the name=default, type=REG_SZ and value="c:Program FilesUltraEdituedit64.exe" (including the " symbols) values under both of the keys: HKEY_CLASSES_ROOTApplicationsuedit.exeshelleditcommand HKEY_CLASSES_ROOTApplicationsuedit.exeshellopencommand After this I was able to define UltraEdit as the default opener for *.txt files.
                      – Csongor Halmai
                      Jul 24 '17 at 11:45








                    • 1




                      If changing the path doesn't work, you can also try deleting the registry entry to fix the issue.
                      – Steven M. Vascellaro
                      Aug 17 '17 at 16:27















                    up vote
                    70
                    down vote













                    Find the registry key for the application you wish to associate, lets say for Notepad++.exe in HKEY_CLASSES_ROOTApplicationsnotepad++.exe shellopencommand



                    Check if the .exe path is right. If not, then change the path to the correct one.



                    After doing this, you can now go to the file you wish to associate and use the standard way Open With and choose the program you wish to open.



                    Explanation:



                    This issue happens when Windows gets confused about the filepath for a program, as file associations are handled using only the base executable name of a program (source).



                    This bug can be caused by:




                    • Running multiple versions of a program (i.e. Notepad++ and Notepad++ Portable)

                    • Moving programs to different folders.

                    • Changing drive letters






                    share|improve this answer























                    • If some of your drive letters have changed - when you remove/add a permanent disk or changed around drive letters, like sometimes happens when repartitioning drives - This is the most accurate and safest solution (among registry-based solutions).
                      – Neowizard
                      Mar 6 '15 at 4:55






                    • 1




                      As @scunliffe mentioned, this was the solution that worked for me. The reason I was having this problem was that I had repartitioned my disks and the default software was on a different partition with a different drive name. However, after the drive name change, the registry was still having the old path listed under the software. Changing the path to the current software path solved everything.
                      – globetrotter
                      Aug 17 '15 at 10:42






                    • 1




                      one of my students had a similar problem, he opened a portable version of sublime once from our shared Network Drive, so shellopencommand was set to "\servernamestudentSoftwaresublimesublime_text.exe" even after he installed sublime locally on his laptop. so when he was not at school he chouldn't assign sublime as default program. for me this is the correct answer.
                      – philx_x
                      Oct 21 '15 at 7:14












                    • I removed all the references I could from the registry (two were protected) to both the 32 and 64 bit of UltraEdit (uedit32.exe and uedit64.exe) but even after a clean reinstall, it did not work. Finally I created the following keys manually and added the name=default, type=REG_SZ and value="c:Program FilesUltraEdituedit64.exe" (including the " symbols) values under both of the keys: HKEY_CLASSES_ROOTApplicationsuedit.exeshelleditcommand HKEY_CLASSES_ROOTApplicationsuedit.exeshellopencommand After this I was able to define UltraEdit as the default opener for *.txt files.
                      – Csongor Halmai
                      Jul 24 '17 at 11:45








                    • 1




                      If changing the path doesn't work, you can also try deleting the registry entry to fix the issue.
                      – Steven M. Vascellaro
                      Aug 17 '17 at 16:27













                    up vote
                    70
                    down vote










                    up vote
                    70
                    down vote









                    Find the registry key for the application you wish to associate, lets say for Notepad++.exe in HKEY_CLASSES_ROOTApplicationsnotepad++.exe shellopencommand



                    Check if the .exe path is right. If not, then change the path to the correct one.



                    After doing this, you can now go to the file you wish to associate and use the standard way Open With and choose the program you wish to open.



                    Explanation:



                    This issue happens when Windows gets confused about the filepath for a program, as file associations are handled using only the base executable name of a program (source).



                    This bug can be caused by:




                    • Running multiple versions of a program (i.e. Notepad++ and Notepad++ Portable)

                    • Moving programs to different folders.

                    • Changing drive letters






                    share|improve this answer














                    Find the registry key for the application you wish to associate, lets say for Notepad++.exe in HKEY_CLASSES_ROOTApplicationsnotepad++.exe shellopencommand



                    Check if the .exe path is right. If not, then change the path to the correct one.



                    After doing this, you can now go to the file you wish to associate and use the standard way Open With and choose the program you wish to open.



                    Explanation:



                    This issue happens when Windows gets confused about the filepath for a program, as file associations are handled using only the base executable name of a program (source).



                    This bug can be caused by:




                    • Running multiple versions of a program (i.e. Notepad++ and Notepad++ Portable)

                    • Moving programs to different folders.

                    • Changing drive letters







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Aug 17 '17 at 16:42









                    Steven M. Vascellaro

                    4,058134490




                    4,058134490










                    answered Nov 26 '14 at 8:58









                    Vijay Saibola

                    70152




                    70152












                    • If some of your drive letters have changed - when you remove/add a permanent disk or changed around drive letters, like sometimes happens when repartitioning drives - This is the most accurate and safest solution (among registry-based solutions).
                      – Neowizard
                      Mar 6 '15 at 4:55






                    • 1




                      As @scunliffe mentioned, this was the solution that worked for me. The reason I was having this problem was that I had repartitioned my disks and the default software was on a different partition with a different drive name. However, after the drive name change, the registry was still having the old path listed under the software. Changing the path to the current software path solved everything.
                      – globetrotter
                      Aug 17 '15 at 10:42






                    • 1




                      one of my students had a similar problem, he opened a portable version of sublime once from our shared Network Drive, so shellopencommand was set to "\servernamestudentSoftwaresublimesublime_text.exe" even after he installed sublime locally on his laptop. so when he was not at school he chouldn't assign sublime as default program. for me this is the correct answer.
                      – philx_x
                      Oct 21 '15 at 7:14












                    • I removed all the references I could from the registry (two were protected) to both the 32 and 64 bit of UltraEdit (uedit32.exe and uedit64.exe) but even after a clean reinstall, it did not work. Finally I created the following keys manually and added the name=default, type=REG_SZ and value="c:Program FilesUltraEdituedit64.exe" (including the " symbols) values under both of the keys: HKEY_CLASSES_ROOTApplicationsuedit.exeshelleditcommand HKEY_CLASSES_ROOTApplicationsuedit.exeshellopencommand After this I was able to define UltraEdit as the default opener for *.txt files.
                      – Csongor Halmai
                      Jul 24 '17 at 11:45








                    • 1




                      If changing the path doesn't work, you can also try deleting the registry entry to fix the issue.
                      – Steven M. Vascellaro
                      Aug 17 '17 at 16:27


















                    • If some of your drive letters have changed - when you remove/add a permanent disk or changed around drive letters, like sometimes happens when repartitioning drives - This is the most accurate and safest solution (among registry-based solutions).
                      – Neowizard
                      Mar 6 '15 at 4:55






                    • 1




                      As @scunliffe mentioned, this was the solution that worked for me. The reason I was having this problem was that I had repartitioned my disks and the default software was on a different partition with a different drive name. However, after the drive name change, the registry was still having the old path listed under the software. Changing the path to the current software path solved everything.
                      – globetrotter
                      Aug 17 '15 at 10:42






                    • 1




                      one of my students had a similar problem, he opened a portable version of sublime once from our shared Network Drive, so shellopencommand was set to "\servernamestudentSoftwaresublimesublime_text.exe" even after he installed sublime locally on his laptop. so when he was not at school he chouldn't assign sublime as default program. for me this is the correct answer.
                      – philx_x
                      Oct 21 '15 at 7:14












                    • I removed all the references I could from the registry (two were protected) to both the 32 and 64 bit of UltraEdit (uedit32.exe and uedit64.exe) but even after a clean reinstall, it did not work. Finally I created the following keys manually and added the name=default, type=REG_SZ and value="c:Program FilesUltraEdituedit64.exe" (including the " symbols) values under both of the keys: HKEY_CLASSES_ROOTApplicationsuedit.exeshelleditcommand HKEY_CLASSES_ROOTApplicationsuedit.exeshellopencommand After this I was able to define UltraEdit as the default opener for *.txt files.
                      – Csongor Halmai
                      Jul 24 '17 at 11:45








                    • 1




                      If changing the path doesn't work, you can also try deleting the registry entry to fix the issue.
                      – Steven M. Vascellaro
                      Aug 17 '17 at 16:27
















                    If some of your drive letters have changed - when you remove/add a permanent disk or changed around drive letters, like sometimes happens when repartitioning drives - This is the most accurate and safest solution (among registry-based solutions).
                    – Neowizard
                    Mar 6 '15 at 4:55




                    If some of your drive letters have changed - when you remove/add a permanent disk or changed around drive letters, like sometimes happens when repartitioning drives - This is the most accurate and safest solution (among registry-based solutions).
                    – Neowizard
                    Mar 6 '15 at 4:55




                    1




                    1




                    As @scunliffe mentioned, this was the solution that worked for me. The reason I was having this problem was that I had repartitioned my disks and the default software was on a different partition with a different drive name. However, after the drive name change, the registry was still having the old path listed under the software. Changing the path to the current software path solved everything.
                    – globetrotter
                    Aug 17 '15 at 10:42




                    As @scunliffe mentioned, this was the solution that worked for me. The reason I was having this problem was that I had repartitioned my disks and the default software was on a different partition with a different drive name. However, after the drive name change, the registry was still having the old path listed under the software. Changing the path to the current software path solved everything.
                    – globetrotter
                    Aug 17 '15 at 10:42




                    1




                    1




                    one of my students had a similar problem, he opened a portable version of sublime once from our shared Network Drive, so shellopencommand was set to "\servernamestudentSoftwaresublimesublime_text.exe" even after he installed sublime locally on his laptop. so when he was not at school he chouldn't assign sublime as default program. for me this is the correct answer.
                    – philx_x
                    Oct 21 '15 at 7:14






                    one of my students had a similar problem, he opened a portable version of sublime once from our shared Network Drive, so shellopencommand was set to "\servernamestudentSoftwaresublimesublime_text.exe" even after he installed sublime locally on his laptop. so when he was not at school he chouldn't assign sublime as default program. for me this is the correct answer.
                    – philx_x
                    Oct 21 '15 at 7:14














                    I removed all the references I could from the registry (two were protected) to both the 32 and 64 bit of UltraEdit (uedit32.exe and uedit64.exe) but even after a clean reinstall, it did not work. Finally I created the following keys manually and added the name=default, type=REG_SZ and value="c:Program FilesUltraEdituedit64.exe" (including the " symbols) values under both of the keys: HKEY_CLASSES_ROOTApplicationsuedit.exeshelleditcommand HKEY_CLASSES_ROOTApplicationsuedit.exeshellopencommand After this I was able to define UltraEdit as the default opener for *.txt files.
                    – Csongor Halmai
                    Jul 24 '17 at 11:45






                    I removed all the references I could from the registry (two were protected) to both the 32 and 64 bit of UltraEdit (uedit32.exe and uedit64.exe) but even after a clean reinstall, it did not work. Finally I created the following keys manually and added the name=default, type=REG_SZ and value="c:Program FilesUltraEdituedit64.exe" (including the " symbols) values under both of the keys: HKEY_CLASSES_ROOTApplicationsuedit.exeshelleditcommand HKEY_CLASSES_ROOTApplicationsuedit.exeshellopencommand After this I was able to define UltraEdit as the default opener for *.txt files.
                    – Csongor Halmai
                    Jul 24 '17 at 11:45






                    1




                    1




                    If changing the path doesn't work, you can also try deleting the registry entry to fix the issue.
                    – Steven M. Vascellaro
                    Aug 17 '17 at 16:27




                    If changing the path doesn't work, you can also try deleting the registry entry to fix the issue.
                    – Steven M. Vascellaro
                    Aug 17 '17 at 16:27












                    up vote
                    10
                    down vote













                    I had the same problem, and none of the solutions worked (like the method below of going to the Control Panel - which does the same thing if you right click the file->Open With->Choose Default). Even after selecting the new program many times, it was stuck with the old one.



                    I fixed it by editing the registry. Go to the concerned extension like this (I had problem with .cpp):



                    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.cpp


                    Besides these two keys: OpenWithList and OpenWithProgids, it might have a third one called 'UserChoice'. Just delete that third key. After that, it will allow you to change the default program for that file extension.






                    share|improve this answer



















                    • 3




                      I had similiar problem, when I upgraded from Sublime Text 2 to Sublime Text 3. Navigate to ComputerHKEY_CLASSES_ROOTApplications find the key for (application name) and just delete it. Then do the Open With (default=) trick again, and it all works.
                      – zipzit
                      Nov 14 '14 at 23:40










                    • I tried deleting the key but after changing the association and opening the file again it opened in the wrong program still.
                      – intcreator
                      Jan 26 '16 at 23:08















                    up vote
                    10
                    down vote













                    I had the same problem, and none of the solutions worked (like the method below of going to the Control Panel - which does the same thing if you right click the file->Open With->Choose Default). Even after selecting the new program many times, it was stuck with the old one.



                    I fixed it by editing the registry. Go to the concerned extension like this (I had problem with .cpp):



                    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.cpp


                    Besides these two keys: OpenWithList and OpenWithProgids, it might have a third one called 'UserChoice'. Just delete that third key. After that, it will allow you to change the default program for that file extension.






                    share|improve this answer



















                    • 3




                      I had similiar problem, when I upgraded from Sublime Text 2 to Sublime Text 3. Navigate to ComputerHKEY_CLASSES_ROOTApplications find the key for (application name) and just delete it. Then do the Open With (default=) trick again, and it all works.
                      – zipzit
                      Nov 14 '14 at 23:40










                    • I tried deleting the key but after changing the association and opening the file again it opened in the wrong program still.
                      – intcreator
                      Jan 26 '16 at 23:08













                    up vote
                    10
                    down vote










                    up vote
                    10
                    down vote









                    I had the same problem, and none of the solutions worked (like the method below of going to the Control Panel - which does the same thing if you right click the file->Open With->Choose Default). Even after selecting the new program many times, it was stuck with the old one.



                    I fixed it by editing the registry. Go to the concerned extension like this (I had problem with .cpp):



                    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.cpp


                    Besides these two keys: OpenWithList and OpenWithProgids, it might have a third one called 'UserChoice'. Just delete that third key. After that, it will allow you to change the default program for that file extension.






                    share|improve this answer














                    I had the same problem, and none of the solutions worked (like the method below of going to the Control Panel - which does the same thing if you right click the file->Open With->Choose Default). Even after selecting the new program many times, it was stuck with the old one.



                    I fixed it by editing the registry. Go to the concerned extension like this (I had problem with .cpp):



                    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.cpp


                    Besides these two keys: OpenWithList and OpenWithProgids, it might have a third one called 'UserChoice'. Just delete that third key. After that, it will allow you to change the default program for that file extension.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Mar 29 '16 at 6:47

























                    answered Apr 10 '14 at 22:11









                    Piyush Soni

                    24639




                    24639








                    • 3




                      I had similiar problem, when I upgraded from Sublime Text 2 to Sublime Text 3. Navigate to ComputerHKEY_CLASSES_ROOTApplications find the key for (application name) and just delete it. Then do the Open With (default=) trick again, and it all works.
                      – zipzit
                      Nov 14 '14 at 23:40










                    • I tried deleting the key but after changing the association and opening the file again it opened in the wrong program still.
                      – intcreator
                      Jan 26 '16 at 23:08














                    • 3




                      I had similiar problem, when I upgraded from Sublime Text 2 to Sublime Text 3. Navigate to ComputerHKEY_CLASSES_ROOTApplications find the key for (application name) and just delete it. Then do the Open With (default=) trick again, and it all works.
                      – zipzit
                      Nov 14 '14 at 23:40










                    • I tried deleting the key but after changing the association and opening the file again it opened in the wrong program still.
                      – intcreator
                      Jan 26 '16 at 23:08








                    3




                    3




                    I had similiar problem, when I upgraded from Sublime Text 2 to Sublime Text 3. Navigate to ComputerHKEY_CLASSES_ROOTApplications find the key for (application name) and just delete it. Then do the Open With (default=) trick again, and it all works.
                    – zipzit
                    Nov 14 '14 at 23:40




                    I had similiar problem, when I upgraded from Sublime Text 2 to Sublime Text 3. Navigate to ComputerHKEY_CLASSES_ROOTApplications find the key for (application name) and just delete it. Then do the Open With (default=) trick again, and it all works.
                    – zipzit
                    Nov 14 '14 at 23:40












                    I tried deleting the key but after changing the association and opening the file again it opened in the wrong program still.
                    – intcreator
                    Jan 26 '16 at 23:08




                    I tried deleting the key but after changing the association and opening the file again it opened in the wrong program still.
                    – intcreator
                    Jan 26 '16 at 23:08










                    up vote
                    4
                    down vote













                    example : file type .css



                    find and delete key



                    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.css

                    HKEY_CURRENT_USERSoftwareMicrosoftWindowsRoamingOpenWithFileExts.css

                    HKEY_CLASSES_ROOT.css


                    open task Manager and Restart Windows Explorer Or reboot computer






                    share|improve this answer

























                      up vote
                      4
                      down vote













                      example : file type .css



                      find and delete key



                      HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.css

                      HKEY_CURRENT_USERSoftwareMicrosoftWindowsRoamingOpenWithFileExts.css

                      HKEY_CLASSES_ROOT.css


                      open task Manager and Restart Windows Explorer Or reboot computer






                      share|improve this answer























                        up vote
                        4
                        down vote










                        up vote
                        4
                        down vote









                        example : file type .css



                        find and delete key



                        HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.css

                        HKEY_CURRENT_USERSoftwareMicrosoftWindowsRoamingOpenWithFileExts.css

                        HKEY_CLASSES_ROOT.css


                        open task Manager and Restart Windows Explorer Or reboot computer






                        share|improve this answer












                        example : file type .css



                        find and delete key



                        HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.css

                        HKEY_CURRENT_USERSoftwareMicrosoftWindowsRoamingOpenWithFileExts.css

                        HKEY_CLASSES_ROOT.css


                        open task Manager and Restart Windows Explorer Or reboot computer







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Mar 10 '16 at 13:44









                        omid

                        412




                        412






















                            up vote
                            3
                            down vote













                            Try



                            Control PanelAll Control Panel ItemsDefault ProgramsSet Associations


                            enter image description here



                            ADDED



                            Also see the question here ftype changes are ignored. Where does Windows retrieve the "incorrect" value from? How can I enforce my changes? for an example of the assoc and ftype commands. Starting an administrative cmd prompt and running the assoc command for the extension, then the ftype command for it, should associate the extension with the program you specify.






                            share|improve this answer



















                            • 2




                              Thanks, I did try this; it ultimately will end up bringing up the same "Open With" dialog. When I tried it this way it failed as well.
                              – Gedalya
                              Oct 7 '13 at 17:50










                            • @Gedalya can you open the program directly and then the file within the program? and when you choose to open it with your program, what program if any does it try to open the file in?
                              – barlop
                              Oct 7 '13 at 18:37












                            • I can open it directly with my program. Currently the file is associated with Adobe Acrobat; this is by accident though. When I first installed the program the file type was unassociated; when I tried to associate it it was accidentally associated with Acrobat.
                              – Gedalya
                              Oct 7 '13 at 18:58










                            • so was acrobat always opening it? and you couldn't stop acrobat from opening it until you change the file association within blowfish itself?
                              – barlop
                              Oct 7 '13 at 20:35










                            • No, Acrobat wasn't always opening it. I associated the file with Acrobat on accident; I went through the motions of trying to associate Blowfish and didn't pay attention to the fact that it wouldn't let me and Acrobat was selected so it ended up being associated. Acrobat doesn't really have anything to do with the problem.
                              – Gedalya
                              Oct 7 '13 at 21:41















                            up vote
                            3
                            down vote













                            Try



                            Control PanelAll Control Panel ItemsDefault ProgramsSet Associations


                            enter image description here



                            ADDED



                            Also see the question here ftype changes are ignored. Where does Windows retrieve the "incorrect" value from? How can I enforce my changes? for an example of the assoc and ftype commands. Starting an administrative cmd prompt and running the assoc command for the extension, then the ftype command for it, should associate the extension with the program you specify.






                            share|improve this answer



















                            • 2




                              Thanks, I did try this; it ultimately will end up bringing up the same "Open With" dialog. When I tried it this way it failed as well.
                              – Gedalya
                              Oct 7 '13 at 17:50










                            • @Gedalya can you open the program directly and then the file within the program? and when you choose to open it with your program, what program if any does it try to open the file in?
                              – barlop
                              Oct 7 '13 at 18:37












                            • I can open it directly with my program. Currently the file is associated with Adobe Acrobat; this is by accident though. When I first installed the program the file type was unassociated; when I tried to associate it it was accidentally associated with Acrobat.
                              – Gedalya
                              Oct 7 '13 at 18:58










                            • so was acrobat always opening it? and you couldn't stop acrobat from opening it until you change the file association within blowfish itself?
                              – barlop
                              Oct 7 '13 at 20:35










                            • No, Acrobat wasn't always opening it. I associated the file with Acrobat on accident; I went through the motions of trying to associate Blowfish and didn't pay attention to the fact that it wouldn't let me and Acrobat was selected so it ended up being associated. Acrobat doesn't really have anything to do with the problem.
                              – Gedalya
                              Oct 7 '13 at 21:41













                            up vote
                            3
                            down vote










                            up vote
                            3
                            down vote









                            Try



                            Control PanelAll Control Panel ItemsDefault ProgramsSet Associations


                            enter image description here



                            ADDED



                            Also see the question here ftype changes are ignored. Where does Windows retrieve the "incorrect" value from? How can I enforce my changes? for an example of the assoc and ftype commands. Starting an administrative cmd prompt and running the assoc command for the extension, then the ftype command for it, should associate the extension with the program you specify.






                            share|improve this answer














                            Try



                            Control PanelAll Control Panel ItemsDefault ProgramsSet Associations


                            enter image description here



                            ADDED



                            Also see the question here ftype changes are ignored. Where does Windows retrieve the "incorrect" value from? How can I enforce my changes? for an example of the assoc and ftype commands. Starting an administrative cmd prompt and running the assoc command for the extension, then the ftype command for it, should associate the extension with the program you specify.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Mar 20 '17 at 10:17









                            Community

                            1




                            1










                            answered Oct 7 '13 at 17:39









                            barlop

                            15.2k2187144




                            15.2k2187144








                            • 2




                              Thanks, I did try this; it ultimately will end up bringing up the same "Open With" dialog. When I tried it this way it failed as well.
                              – Gedalya
                              Oct 7 '13 at 17:50










                            • @Gedalya can you open the program directly and then the file within the program? and when you choose to open it with your program, what program if any does it try to open the file in?
                              – barlop
                              Oct 7 '13 at 18:37












                            • I can open it directly with my program. Currently the file is associated with Adobe Acrobat; this is by accident though. When I first installed the program the file type was unassociated; when I tried to associate it it was accidentally associated with Acrobat.
                              – Gedalya
                              Oct 7 '13 at 18:58










                            • so was acrobat always opening it? and you couldn't stop acrobat from opening it until you change the file association within blowfish itself?
                              – barlop
                              Oct 7 '13 at 20:35










                            • No, Acrobat wasn't always opening it. I associated the file with Acrobat on accident; I went through the motions of trying to associate Blowfish and didn't pay attention to the fact that it wouldn't let me and Acrobat was selected so it ended up being associated. Acrobat doesn't really have anything to do with the problem.
                              – Gedalya
                              Oct 7 '13 at 21:41














                            • 2




                              Thanks, I did try this; it ultimately will end up bringing up the same "Open With" dialog. When I tried it this way it failed as well.
                              – Gedalya
                              Oct 7 '13 at 17:50










                            • @Gedalya can you open the program directly and then the file within the program? and when you choose to open it with your program, what program if any does it try to open the file in?
                              – barlop
                              Oct 7 '13 at 18:37












                            • I can open it directly with my program. Currently the file is associated with Adobe Acrobat; this is by accident though. When I first installed the program the file type was unassociated; when I tried to associate it it was accidentally associated with Acrobat.
                              – Gedalya
                              Oct 7 '13 at 18:58










                            • so was acrobat always opening it? and you couldn't stop acrobat from opening it until you change the file association within blowfish itself?
                              – barlop
                              Oct 7 '13 at 20:35










                            • No, Acrobat wasn't always opening it. I associated the file with Acrobat on accident; I went through the motions of trying to associate Blowfish and didn't pay attention to the fact that it wouldn't let me and Acrobat was selected so it ended up being associated. Acrobat doesn't really have anything to do with the problem.
                              – Gedalya
                              Oct 7 '13 at 21:41








                            2




                            2




                            Thanks, I did try this; it ultimately will end up bringing up the same "Open With" dialog. When I tried it this way it failed as well.
                            – Gedalya
                            Oct 7 '13 at 17:50




                            Thanks, I did try this; it ultimately will end up bringing up the same "Open With" dialog. When I tried it this way it failed as well.
                            – Gedalya
                            Oct 7 '13 at 17:50












                            @Gedalya can you open the program directly and then the file within the program? and when you choose to open it with your program, what program if any does it try to open the file in?
                            – barlop
                            Oct 7 '13 at 18:37






                            @Gedalya can you open the program directly and then the file within the program? and when you choose to open it with your program, what program if any does it try to open the file in?
                            – barlop
                            Oct 7 '13 at 18:37














                            I can open it directly with my program. Currently the file is associated with Adobe Acrobat; this is by accident though. When I first installed the program the file type was unassociated; when I tried to associate it it was accidentally associated with Acrobat.
                            – Gedalya
                            Oct 7 '13 at 18:58




                            I can open it directly with my program. Currently the file is associated with Adobe Acrobat; this is by accident though. When I first installed the program the file type was unassociated; when I tried to associate it it was accidentally associated with Acrobat.
                            – Gedalya
                            Oct 7 '13 at 18:58












                            so was acrobat always opening it? and you couldn't stop acrobat from opening it until you change the file association within blowfish itself?
                            – barlop
                            Oct 7 '13 at 20:35




                            so was acrobat always opening it? and you couldn't stop acrobat from opening it until you change the file association within blowfish itself?
                            – barlop
                            Oct 7 '13 at 20:35












                            No, Acrobat wasn't always opening it. I associated the file with Acrobat on accident; I went through the motions of trying to associate Blowfish and didn't pay attention to the fact that it wouldn't let me and Acrobat was selected so it ended up being associated. Acrobat doesn't really have anything to do with the problem.
                            – Gedalya
                            Oct 7 '13 at 21:41




                            No, Acrobat wasn't always opening it. I associated the file with Acrobat on accident; I went through the motions of trying to associate Blowfish and didn't pay attention to the fact that it wouldn't let me and Acrobat was selected so it ended up being associated. Acrobat doesn't really have anything to do with the problem.
                            – Gedalya
                            Oct 7 '13 at 21:41










                            up vote
                            3
                            down vote













                            I wanted to share my solution. I wanted to open .spq with SpeQ Mathematics.exe, which is a standalone program (it does not require installation). The program did not appear in the list even after I found it via browsing and selected it.



                            I went to



                            HKEY_CLASSES_ROOT.spq


                            and found listed Data: spq_auto_file



                            I then went to



                            HKEY_CURRENT_USERSoftwareClassesspq_auto_fileshellopencommand


                            and saw the wrong folder listed under Data.
                            I changed the folder to the actual one and the program appeared in the context menu list. I suppose the moving around that can be done with standalone programs was the reason for my problem.






                            share|improve this answer

























                              up vote
                              3
                              down vote













                              I wanted to share my solution. I wanted to open .spq with SpeQ Mathematics.exe, which is a standalone program (it does not require installation). The program did not appear in the list even after I found it via browsing and selected it.



                              I went to



                              HKEY_CLASSES_ROOT.spq


                              and found listed Data: spq_auto_file



                              I then went to



                              HKEY_CURRENT_USERSoftwareClassesspq_auto_fileshellopencommand


                              and saw the wrong folder listed under Data.
                              I changed the folder to the actual one and the program appeared in the context menu list. I suppose the moving around that can be done with standalone programs was the reason for my problem.






                              share|improve this answer























                                up vote
                                3
                                down vote










                                up vote
                                3
                                down vote









                                I wanted to share my solution. I wanted to open .spq with SpeQ Mathematics.exe, which is a standalone program (it does not require installation). The program did not appear in the list even after I found it via browsing and selected it.



                                I went to



                                HKEY_CLASSES_ROOT.spq


                                and found listed Data: spq_auto_file



                                I then went to



                                HKEY_CURRENT_USERSoftwareClassesspq_auto_fileshellopencommand


                                and saw the wrong folder listed under Data.
                                I changed the folder to the actual one and the program appeared in the context menu list. I suppose the moving around that can be done with standalone programs was the reason for my problem.






                                share|improve this answer












                                I wanted to share my solution. I wanted to open .spq with SpeQ Mathematics.exe, which is a standalone program (it does not require installation). The program did not appear in the list even after I found it via browsing and selected it.



                                I went to



                                HKEY_CLASSES_ROOT.spq


                                and found listed Data: spq_auto_file



                                I then went to



                                HKEY_CURRENT_USERSoftwareClassesspq_auto_fileshellopencommand


                                and saw the wrong folder listed under Data.
                                I changed the folder to the actual one and the program appeared in the context menu list. I suppose the moving around that can be done with standalone programs was the reason for my problem.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Sep 13 '16 at 13:17









                                Serzh

                                311




                                311






















                                    up vote
                                    1
                                    down vote













                                    I was able to fix my problem with the program itself. See the picture below for reference; under 'Tools' > 'Options'



                                    The 'Miscellaneous' tab; under 'Registry Setup' there are two options that alter the registry. I applied both and it works now. What isn't clear is how I could have done this without the program doing this.



                                    enter image description here






                                    share|improve this answer





















                                    • The program was probably actively working against you. Every time it loaded and the 'Associate File Types' box was unchecked, it probably scrubbed the filetype association out of the registry.
                                      – hBy2Py
                                      Dec 31 '14 at 19:36















                                    up vote
                                    1
                                    down vote













                                    I was able to fix my problem with the program itself. See the picture below for reference; under 'Tools' > 'Options'



                                    The 'Miscellaneous' tab; under 'Registry Setup' there are two options that alter the registry. I applied both and it works now. What isn't clear is how I could have done this without the program doing this.



                                    enter image description here






                                    share|improve this answer





















                                    • The program was probably actively working against you. Every time it loaded and the 'Associate File Types' box was unchecked, it probably scrubbed the filetype association out of the registry.
                                      – hBy2Py
                                      Dec 31 '14 at 19:36













                                    up vote
                                    1
                                    down vote










                                    up vote
                                    1
                                    down vote









                                    I was able to fix my problem with the program itself. See the picture below for reference; under 'Tools' > 'Options'



                                    The 'Miscellaneous' tab; under 'Registry Setup' there are two options that alter the registry. I applied both and it works now. What isn't clear is how I could have done this without the program doing this.



                                    enter image description here






                                    share|improve this answer












                                    I was able to fix my problem with the program itself. See the picture below for reference; under 'Tools' > 'Options'



                                    The 'Miscellaneous' tab; under 'Registry Setup' there are two options that alter the registry. I applied both and it works now. What isn't clear is how I could have done this without the program doing this.



                                    enter image description here







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Oct 7 '13 at 19:42









                                    Gedalya

                                    4801411




                                    4801411












                                    • The program was probably actively working against you. Every time it loaded and the 'Associate File Types' box was unchecked, it probably scrubbed the filetype association out of the registry.
                                      – hBy2Py
                                      Dec 31 '14 at 19:36


















                                    • The program was probably actively working against you. Every time it loaded and the 'Associate File Types' box was unchecked, it probably scrubbed the filetype association out of the registry.
                                      – hBy2Py
                                      Dec 31 '14 at 19:36
















                                    The program was probably actively working against you. Every time it loaded and the 'Associate File Types' box was unchecked, it probably scrubbed the filetype association out of the registry.
                                    – hBy2Py
                                    Dec 31 '14 at 19:36




                                    The program was probably actively working against you. Every time it loaded and the 'Associate File Types' box was unchecked, it probably scrubbed the filetype association out of the registry.
                                    – hBy2Py
                                    Dec 31 '14 at 19:36










                                    up vote
                                    1
                                    down vote













                                    I've had the same/similar problem.



                                    Here is what caused it. I use keepass.exe to open .kbd files both of which I synch over cloud. When I moved the folder it stopped working. The OS knows that that's my program, but I'm unable to update the location of the executable through the Open-with dialog.



                                    The solution...




                                    • Open regedit

                                    • find the application you are looking for in HKEY_CLASSES_ROOTApplications.


                                      • Example: atom.exe is located at HKEY_CLASSES_ROOTApplicationsatom.exe



                                    • delete that entry

                                    • right-click the file type and try selecting the program again. It should now appear






                                    share|improve this answer

























                                      up vote
                                      1
                                      down vote













                                      I've had the same/similar problem.



                                      Here is what caused it. I use keepass.exe to open .kbd files both of which I synch over cloud. When I moved the folder it stopped working. The OS knows that that's my program, but I'm unable to update the location of the executable through the Open-with dialog.



                                      The solution...




                                      • Open regedit

                                      • find the application you are looking for in HKEY_CLASSES_ROOTApplications.


                                        • Example: atom.exe is located at HKEY_CLASSES_ROOTApplicationsatom.exe



                                      • delete that entry

                                      • right-click the file type and try selecting the program again. It should now appear






                                      share|improve this answer























                                        up vote
                                        1
                                        down vote










                                        up vote
                                        1
                                        down vote









                                        I've had the same/similar problem.



                                        Here is what caused it. I use keepass.exe to open .kbd files both of which I synch over cloud. When I moved the folder it stopped working. The OS knows that that's my program, but I'm unable to update the location of the executable through the Open-with dialog.



                                        The solution...




                                        • Open regedit

                                        • find the application you are looking for in HKEY_CLASSES_ROOTApplications.


                                          • Example: atom.exe is located at HKEY_CLASSES_ROOTApplicationsatom.exe



                                        • delete that entry

                                        • right-click the file type and try selecting the program again. It should now appear






                                        share|improve this answer












                                        I've had the same/similar problem.



                                        Here is what caused it. I use keepass.exe to open .kbd files both of which I synch over cloud. When I moved the folder it stopped working. The OS knows that that's my program, but I'm unable to update the location of the executable through the Open-with dialog.



                                        The solution...




                                        • Open regedit

                                        • find the application you are looking for in HKEY_CLASSES_ROOTApplications.


                                          • Example: atom.exe is located at HKEY_CLASSES_ROOTApplicationsatom.exe



                                        • delete that entry

                                        • right-click the file type and try selecting the program again. It should now appear







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Jun 24 '16 at 20:08









                                        Daniel

                                        2951314




                                        2951314






















                                            up vote
                                            0
                                            down vote













                                            Just for you guys to know...



                                            I had the same problem on win8.1.



                                            That default file dialog seems to hang explorer, it happens both from the folder´s right click option and from set association screen, I think there is some problem with that functionality...



                                            For me, killing explorer process via Task Manager and reopening explorer, (from task manager) via File -> new Task -> explorer.exe, completed the process of setting the default program normally and everything works fine now.



                                            I don´t know if was just luck, but it is worth trying...






                                            share|improve this answer

























                                              up vote
                                              0
                                              down vote













                                              Just for you guys to know...



                                              I had the same problem on win8.1.



                                              That default file dialog seems to hang explorer, it happens both from the folder´s right click option and from set association screen, I think there is some problem with that functionality...



                                              For me, killing explorer process via Task Manager and reopening explorer, (from task manager) via File -> new Task -> explorer.exe, completed the process of setting the default program normally and everything works fine now.



                                              I don´t know if was just luck, but it is worth trying...






                                              share|improve this answer























                                                up vote
                                                0
                                                down vote










                                                up vote
                                                0
                                                down vote









                                                Just for you guys to know...



                                                I had the same problem on win8.1.



                                                That default file dialog seems to hang explorer, it happens both from the folder´s right click option and from set association screen, I think there is some problem with that functionality...



                                                For me, killing explorer process via Task Manager and reopening explorer, (from task manager) via File -> new Task -> explorer.exe, completed the process of setting the default program normally and everything works fine now.



                                                I don´t know if was just luck, but it is worth trying...






                                                share|improve this answer












                                                Just for you guys to know...



                                                I had the same problem on win8.1.



                                                That default file dialog seems to hang explorer, it happens both from the folder´s right click option and from set association screen, I think there is some problem with that functionality...



                                                For me, killing explorer process via Task Manager and reopening explorer, (from task manager) via File -> new Task -> explorer.exe, completed the process of setting the default program normally and everything works fine now.



                                                I don´t know if was just luck, but it is worth trying...







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Jan 27 '15 at 4:45









                                                repeatdomiau

                                                101




                                                101






















                                                    up vote
                                                    0
                                                    down vote













                                                    For anyone having the same issue but with Office 365 / Excel 2016:



                                                    Going to "Programs and Features" -> right click "Office 365" -> change -> Quick Repair fixed the issue for me.






                                                    share|improve this answer

























                                                      up vote
                                                      0
                                                      down vote













                                                      For anyone having the same issue but with Office 365 / Excel 2016:



                                                      Going to "Programs and Features" -> right click "Office 365" -> change -> Quick Repair fixed the issue for me.






                                                      share|improve this answer























                                                        up vote
                                                        0
                                                        down vote










                                                        up vote
                                                        0
                                                        down vote









                                                        For anyone having the same issue but with Office 365 / Excel 2016:



                                                        Going to "Programs and Features" -> right click "Office 365" -> change -> Quick Repair fixed the issue for me.






                                                        share|improve this answer












                                                        For anyone having the same issue but with Office 365 / Excel 2016:



                                                        Going to "Programs and Features" -> right click "Office 365" -> change -> Quick Repair fixed the issue for me.







                                                        share|improve this answer












                                                        share|improve this answer



                                                        share|improve this answer










                                                        answered Jan 11 '17 at 14:31









                                                        Envyrus

                                                        111




                                                        111






















                                                            up vote
                                                            0
                                                            down vote













                                                            You can use this command for ".txt" files. but you must open command prompt with admin roles.
                                                            ftype txtfile="C:Program Files (x86)Notepad++notepad++.exe""%1"



                                                            if you don't know file type of your file you can use "assoc .txt" command on command prompt.



                                                            For more details you can check this link:
                                                            Windows “Open With” application not appearing as an option



                                                            It works for me.





                                                            share








                                                            New contributor




                                                            Uğur Abdioğlu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                            Check out our Code of Conduct.






















                                                              up vote
                                                              0
                                                              down vote













                                                              You can use this command for ".txt" files. but you must open command prompt with admin roles.
                                                              ftype txtfile="C:Program Files (x86)Notepad++notepad++.exe""%1"



                                                              if you don't know file type of your file you can use "assoc .txt" command on command prompt.



                                                              For more details you can check this link:
                                                              Windows “Open With” application not appearing as an option



                                                              It works for me.





                                                              share








                                                              New contributor




                                                              Uğur Abdioğlu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                              Check out our Code of Conduct.




















                                                                up vote
                                                                0
                                                                down vote










                                                                up vote
                                                                0
                                                                down vote









                                                                You can use this command for ".txt" files. but you must open command prompt with admin roles.
                                                                ftype txtfile="C:Program Files (x86)Notepad++notepad++.exe""%1"



                                                                if you don't know file type of your file you can use "assoc .txt" command on command prompt.



                                                                For more details you can check this link:
                                                                Windows “Open With” application not appearing as an option



                                                                It works for me.





                                                                share








                                                                New contributor




                                                                Uğur Abdioğlu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                Check out our Code of Conduct.









                                                                You can use this command for ".txt" files. but you must open command prompt with admin roles.
                                                                ftype txtfile="C:Program Files (x86)Notepad++notepad++.exe""%1"



                                                                if you don't know file type of your file you can use "assoc .txt" command on command prompt.



                                                                For more details you can check this link:
                                                                Windows “Open With” application not appearing as an option



                                                                It works for me.






                                                                share








                                                                New contributor




                                                                Uğur Abdioğlu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                Check out our Code of Conduct.








                                                                share


                                                                share






                                                                New contributor




                                                                Uğur Abdioğlu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                Check out our Code of Conduct.









                                                                answered 3 mins ago









                                                                Uğur Abdioğlu

                                                                1




                                                                1




                                                                New contributor




                                                                Uğur Abdioğlu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                Check out our Code of Conduct.





                                                                New contributor





                                                                Uğur Abdioğlu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                Check out our Code of Conduct.






                                                                Uğur Abdioğlu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                                Check out our Code of Conduct.






















                                                                    up vote
                                                                    -1
                                                                    down vote













                                                                    i fixed this issue by right-clicking the file i wanted to open and choosing "properties". on the "general" tab it said "opens with: unknown program" or something like that. i just clicked the "change..." button next to that message and picked the app i origionally wanted. i think maybe this happens when the associated application gets deleted.






                                                                    share|improve this answer

























                                                                      up vote
                                                                      -1
                                                                      down vote













                                                                      i fixed this issue by right-clicking the file i wanted to open and choosing "properties". on the "general" tab it said "opens with: unknown program" or something like that. i just clicked the "change..." button next to that message and picked the app i origionally wanted. i think maybe this happens when the associated application gets deleted.






                                                                      share|improve this answer























                                                                        up vote
                                                                        -1
                                                                        down vote










                                                                        up vote
                                                                        -1
                                                                        down vote









                                                                        i fixed this issue by right-clicking the file i wanted to open and choosing "properties". on the "general" tab it said "opens with: unknown program" or something like that. i just clicked the "change..." button next to that message and picked the app i origionally wanted. i think maybe this happens when the associated application gets deleted.






                                                                        share|improve this answer












                                                                        i fixed this issue by right-clicking the file i wanted to open and choosing "properties". on the "general" tab it said "opens with: unknown program" or something like that. i just clicked the "change..." button next to that message and picked the app i origionally wanted. i think maybe this happens when the associated application gets deleted.







                                                                        share|improve this answer












                                                                        share|improve this answer



                                                                        share|improve this answer










                                                                        answered Sep 13 '14 at 1:37









                                                                        james

                                                                        1




                                                                        1






















                                                                            up vote
                                                                            -1
                                                                            down vote













                                                                            The best solution is to remove the user account that cannot set a default program to open a file and re-create a new user. At some point when installing/updating an application, Windows corrupted the policy for that user account. Be sure to copy all the user's data (c:/users/userid/) before removing that user account and log in with a different user with Sysadmin account.



                                                                            To Remove the user account: Control Panel >> System >> Advanced system settings >> Advanced (tab) >> Setting (under User Profile) >> delete the corrupt user account.



                                                                            Then reboot, log in and create a new user. You can use the same account name.






                                                                            share|improve this answer



























                                                                              up vote
                                                                              -1
                                                                              down vote













                                                                              The best solution is to remove the user account that cannot set a default program to open a file and re-create a new user. At some point when installing/updating an application, Windows corrupted the policy for that user account. Be sure to copy all the user's data (c:/users/userid/) before removing that user account and log in with a different user with Sysadmin account.



                                                                              To Remove the user account: Control Panel >> System >> Advanced system settings >> Advanced (tab) >> Setting (under User Profile) >> delete the corrupt user account.



                                                                              Then reboot, log in and create a new user. You can use the same account name.






                                                                              share|improve this answer

























                                                                                up vote
                                                                                -1
                                                                                down vote










                                                                                up vote
                                                                                -1
                                                                                down vote









                                                                                The best solution is to remove the user account that cannot set a default program to open a file and re-create a new user. At some point when installing/updating an application, Windows corrupted the policy for that user account. Be sure to copy all the user's data (c:/users/userid/) before removing that user account and log in with a different user with Sysadmin account.



                                                                                To Remove the user account: Control Panel >> System >> Advanced system settings >> Advanced (tab) >> Setting (under User Profile) >> delete the corrupt user account.



                                                                                Then reboot, log in and create a new user. You can use the same account name.






                                                                                share|improve this answer














                                                                                The best solution is to remove the user account that cannot set a default program to open a file and re-create a new user. At some point when installing/updating an application, Windows corrupted the policy for that user account. Be sure to copy all the user's data (c:/users/userid/) before removing that user account and log in with a different user with Sysadmin account.



                                                                                To Remove the user account: Control Panel >> System >> Advanced system settings >> Advanced (tab) >> Setting (under User Profile) >> delete the corrupt user account.



                                                                                Then reboot, log in and create a new user. You can use the same account name.







                                                                                share|improve this answer














                                                                                share|improve this answer



                                                                                share|improve this answer








                                                                                edited May 28 '15 at 20:42









                                                                                Twisty Impersonator

                                                                                16.5k126090




                                                                                16.5k126090










                                                                                answered May 28 '15 at 19:37









                                                                                khanh

                                                                                1




                                                                                1






















                                                                                    up vote
                                                                                    -1
                                                                                    down vote













                                                                                    Try setting the default from within the program you want to use as opener.



                                                                                    I had similar problem when php files all of a sudden started opening with Acrobat which caused an error as Acrobat can't handle php. I tried to change the association, but all failed. Finally went to Dreamweaver's preferences and set it as opener for php.






                                                                                    share|improve this answer



























                                                                                      up vote
                                                                                      -1
                                                                                      down vote













                                                                                      Try setting the default from within the program you want to use as opener.



                                                                                      I had similar problem when php files all of a sudden started opening with Acrobat which caused an error as Acrobat can't handle php. I tried to change the association, but all failed. Finally went to Dreamweaver's preferences and set it as opener for php.






                                                                                      share|improve this answer

























                                                                                        up vote
                                                                                        -1
                                                                                        down vote










                                                                                        up vote
                                                                                        -1
                                                                                        down vote









                                                                                        Try setting the default from within the program you want to use as opener.



                                                                                        I had similar problem when php files all of a sudden started opening with Acrobat which caused an error as Acrobat can't handle php. I tried to change the association, but all failed. Finally went to Dreamweaver's preferences and set it as opener for php.






                                                                                        share|improve this answer














                                                                                        Try setting the default from within the program you want to use as opener.



                                                                                        I had similar problem when php files all of a sudden started opening with Acrobat which caused an error as Acrobat can't handle php. I tried to change the association, but all failed. Finally went to Dreamweaver's preferences and set it as opener for php.







                                                                                        share|improve this answer














                                                                                        share|improve this answer



                                                                                        share|improve this answer








                                                                                        edited Nov 5 '15 at 10:07









                                                                                        kenorb

                                                                                        10.3k1575106




                                                                                        10.3k1575106










                                                                                        answered Nov 5 '15 at 7:25









                                                                                        Brad Balduff

                                                                                        1




                                                                                        1






























                                                                                             

                                                                                            draft saved


                                                                                            draft discarded



















































                                                                                             


                                                                                            draft saved


                                                                                            draft discarded














                                                                                            StackExchange.ready(
                                                                                            function () {
                                                                                            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f655600%2fi-cant-set-a-program-as-the-default-to-open-a-filetype-with-in-windows-7%23new-answer', 'question_page');
                                                                                            }
                                                                                            );

                                                                                            Post as a guest




















































































                                                                                            Popular posts from this blog

                                                                                            Plaza Victoria

                                                                                            Puebla de Zaragoza

                                                                                            Musa