Windows 10 won’t let me set default apps for file extensions

windowswindows 10

Disclaimer: I know how to set default apps and file extensions, I have done it many times previously.


I have just installed Windows 10 Home on a new machine. I'm trying to associate my web development files with Netbeans specifically, but that may be irrelevant.

1. File extensions not available

Firstly, lots of common file extensions I use are not present in the file extensions list – e.g. .php extension. I don't know if that is normally available in the Windows list. I certainly didn't have to manually add the .php extension on my previous computer with the same OS.

I solved this by adding the file extension manually. As I say, I have never had to do that before.


2. "Open With" doesn't save my choice of app

If I right-click on a file and "Open with" and enable "Always use this app to open files" it will open the file in the program I select, but the file icon in Explorer will not change, and it will not set it as the default program.

I still have to select "Open with" every time I open a file with that extension.


3. I cannot choose defaults by app

Settings > Default apps > Set defaults by app

My program (Netbeans) is not in the list of available apps.


4. I cannot choose defaults by file type

Settings > Default apps > Choose default applications by file type

If I select a file extension and "[+] Choose a default", when I select an app it will hang for a second as if it's working, then nothing happens. The default will not be set, and the "[+] Choose a default" button is still there.

Note: This does work for any file type with a default app already set.


Other Info

  • I can change the extension for common files such as PNG, TXT.
  • I cannot change extensions for files such as HTML, CSS, JS, PHP, SQL.

Best Answer

Windows 10 patch KB4467682

Addresses an issue that prevents some users from setting Win32 program defaults for certain app and file type combinations using the Open with… command or Settings > Apps > Default apps.

I can confirm that this recent patch fixes the issue. Just update Windows 10 and it should work again

Related Question