Fix: Unable to Change Default Program Extension on Windows 7 | 8

Today, I’m going to show you a way out, if you ever face a situation, where you are unable to change the default program extension in Windows 8 | 7. I was helping out a client of mine. His operating system had somehow changed the Default program extension todifferent program; i.e. the file was supposed to open with Outlook – but instead it change into Notepad.

Unable to Change Default Program Extension

When I tried to change it back to Outlook under Properties of that file the change option was grayed out

image thumb Fix: Unable to Change Default Program Extension on Windows 7 | 8

So I tried to right-click on the file and clicked on “Open With” dialog box, because there you have a change box “Always use the selected program to open this kind of file”.

prog defaults 9 Fix: Unable to Change Default Program Extension on Windows 7 | 8

But strangely that check box was grayed out, as well. When I select Outlook, it opens fine. But I was just unable to set it as the default option.

So I went to Control Panel\All Control Panel Items\Default Programs\Set Associations and tried to change it there; but sadly I was again unable to. I was totally stumped because the UAC was turned off, the user is a Windows administrator – so there was no reason for the option to be disabled.

That’s when I remembered that there is an option in Windows registry, where you can change it. So I opened the registry and navigated to the following key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

Here you have to find your extension under a key called “UserChoice”.

What this registry key does, is if you change the Default file extension, Windows creates this key and adds the value there.

regedit progid Fix: Unable to Change Default Program Extension on Windows 7 | 8

On the Right hand side you’ll seestring value “Progid” under that value you’ll see the current program that is associated with it. So I tried to change that value but it gave me an error: Cannot edit Progid.

image thumb2 Fix: Unable to Change Default Program Extension on Windows 7 | 8

Now I realized what was wrong! For some reason, that specific registry key doesn’t have permission to change the file extension, and that was the reason why those options were grayed out for me. So I took ownership for the parent key  and inherited the permission.

image thumb3 Fix: Unable to Change Default Program Extension on Windows 7 | 8

Now I could delete the “UserChoice” key. Once I deleted it and I rebooted the system. And voilà - now I got this window!

image thumb4 Fix: Unable to Change Default Program Extension on Windows 7 | 8

Once I selected the correct program I made it as default and it stayed.

Hope this becomes helpful for someone who runs into a similar problem.

These links may also interest you:

  1. File Association Fixer for Windows 7
  2. Default Programs Editor for Windows 7
  3. Remove unwanted programs from Recommended Programs List in the Open With box
  4. How to dissociate File Types in Windows 7 and Vista.
Posted by on , in Category Windows with Tags
Shyam aka “Captain Jack” is a Microsoft MVP and a Windows Enthusiast whose area of expertise is Crash Dump Analysis and Advanced Windows troubleshooting. He has developed Windows based Tools like SF IE Restorator for troubleshooting Internet Explorer issues and SF Diagnostic Tool for collecting Crash dump files for troubleshooting purpose. He blogs at captaindbg.com.
  • Gdghgfgjy Ggjffv

    Thanks! I was having a problem where all .theme files opened up with explorer.exe. I am going to change it to shell32.dll after reboot.

  • Mathman47

    Wow, nice job. I hope I never have this problem, but if I ever do, at least I know what to do, that is if I can find this article again!

    Thanks for sharing your experience.

  • Thankful noob

    Thanks for this! I somehow associated my video files to open with windows explorer and it wouldn’t let me change it.

    Deleting that registry key did the trick though, so thanks again!

  • Harmanjaidka

    sir all the program of my system have been defaulted to window media center.. if i try to open any program in my system its opened by w.media center. like opera, Google chrome, system restore, please help me out

  • http://www.facebook.com/harmanjaidka Harman Jaidka

    hey how could i able to delete that registry key..??

    all the program of my system have been defaulted to window media center.. if i try to open any program in my system its opened by w.media center. like opera, Google chrome, system restore, please help me out

  • http://www.facebook.com/harmanjaidka Harman Jaidka

    not even able to open regedit. media center is opening it on behalf of any other thing

  • daniel kongle

    this happens to me with all programs in default programs list… what do i do then?

  • Chlump

    You did it! All the Windows forums couldn’t help me at all. Extensions were ghosted out in all the default programs and file associations tools, or when I’d change the default program to open the extension, nothing would work. I then found this permissions problem. This was happening with .WAV files. Unassociated the extension, and re-associated, and it finally works!

  • R Schroder

    Hats off to ShyamS@TWC for this most useful ‘unable to change default program’ howto guide. Took me straight to the solution at this end. Good show.

  • Vipi

    Just delete the UserChoice and set the default again by double clicking the file.

  • usama

    my computer is also opening the registry with notepad plz tell me how to open it

  • http://www.thewindowsclub.com Anand Khanse
  • Recent Comments