Cannot associate file type with this program

  1.    New 27 Jan 2020 #1

    Cannot associate file types with custom programs


    I have a gaming computer loaded with Windows 7. It might have been years for all I know, but this particular OS cannot associate file types to a new custom program. Be it from Windows Explorer or Control Panel, they open the same Open with dialog box.

    Despite navigating and explicitly selecting C:\Program Files\Notepad++\notepad++.exe, the Notepad++ does not appear in the updated dialog box, making it impossible to re-associate.

    Cannot associate file type with this program

    Even if I tried to associate via Notepad++ Preferences UI, the file extensions will be reverted back to regular Notepad the next time I launch up Notepadd++.

    What about this OS has been set to "read-only" mode for file associations? The only programs truly permitted to be the default program handler are the three listed Notepad, Wordpad, and Google Chrome.


  2.    New 27 Jan 2020 #2


    Clicking the 'Browse...' button shown in your screenshot, navigating and finding the Notepad++ .exe file, select it then click 'Open'. This should add Notepad++ to the list of Other Programs.

    If that is what you were doing, then it is not clear why it doesn't work - it should.


  3.    New 27 Jan 2020 #3


    That is exactly what I've been doing all along. It refuses to put Notepad++ in the bottom list.


  4.    New 27 Jan 2020 #4


    icelava said:

    That is exactly what I've been doing all along. It refuses to put Notepad++ in the bottom list.

    Odd, I've just installed Notepad++ as a test and it works for me. Have you tried reinstalling Notepad++?


  5.    New 29 Jan 2020 #5


    I tested assigning IE or Firefox as the default program for .txt and that seem to stick, so something's peculiar about Notepad++ itself. Downloaded and installed the latest 7.8.3, but still it won't show up in the bottom [Other Programs] list after browsing to its directory path.

    Looking again from within Notepad++ preferences, this time I see that it complains about wanting to run as Administrator mode in order to work. So after running as Administrator, I set it as default for the common text file types, and it sticks now.

    I am unsure why previous versions did not ask for Adminstrator mode...


  6.    New 29 Jan 2020 #6


    icelava said:

    I am unsure why previous versions did not ask for Adminstrator mode...

    Maybe you were not signed in as an administrator when you first installed it? I was when I did my tests.


  7.    New 30 Jan 2020 #7


    Honestly I don't ever remember having to install Notepad++ as Administrator mode in the decade of using in on multiple computers. For other computers, I have been able to assign Notepad++ as default program, as it successfully shows up in the [Other Programs] or [Other options] list.

    Cannot associate file type with this program

    Also, good thing is for un-registered file extensions, it has the convenient [Edit with Notepad++] option in the extended Windows Explorer context menu. Still workable albeit slower than double-clicking.


When you double click an icon on your desktop, Windows will typically open the correct program. It does that because of file type associations. Most programs can open many file types and you have the choice of which one Windows will open.

Cannot associate file type with this program

In this article, we’ll discuss why and how to associate file types with programs in Windows 10.

For example, say you double click a .jpg file and have Paint.net, Photoshop, Paintshop Pro and Paint installed on your computer. Which program do you want to open the file with? You have two options, you can set a default program or use the right context menu.

Most programs will ask you at the point of installation if you want it to be the default handler for particular file types but you can change it afterwards too. You can either use Control Panel, the Windows 10 Settings menu to set the default, or you can also select one on the fly with a right-click.

Cannot associate file type with this program

How to Identify the File Type

Before we get to changing the default program to open a particular type of file, we need to identify that file.

  1. Right click on the file and select Properties.
    Cannot associate file type with this program
  2. Now, look at the Type of file in the new window, this will tell you what it is and provide the suffix for it.
  3. Look at Opens with underneath to identify the current default program for that file type.

If you want to always see the file type, you can configure File Explorer to display it.

  1. Open File Explorer and select View
    Cannot associate file type with this program
  2. Now, check the box next to File name extensions.
    Cannot associate file type with this program

This will display the file types in Explorer so you can quickly identify what each file is.

Associate File Types Using Control Panel

Control Panel is still the main way to control what happens on your computer. Our first method uses it to quickly associate file types with programs.

  1. Open the Start menu, type “Control Panel” and then click on it.
    Cannot associate file type with this program
  2. Now, navigate to Programs.
    Cannot associate file type with this program
  3. Then, select Default Programs
    Cannot associate file type with this program
  4. Next, click on Associate a file type or protocol with a specific program.
    Cannot associate file type with this program
  5. Now, scroll down and select Choose default apps by file type at the bottom of the page.
    Cannot associate file type with this program
  6. Select the program from the new window that appears and click OK.

Depending on the file type, you may only have one option to select. If you don’t see the program you want to use, select More apps in the selection window. Not all apps that feature in that list will be able to open the file but you can select them anyway.

Cannot associate file type with this program

Associate File Types Using the Settings Menu

If you are more comfortable working in the Windows 10 settings menu that’s fine too.

  1. Open the Start menu and click on Settings.
    Cannot associate file type with this program
  2. Now, navigate to Apps.
    Cannot associate file type with this program
  3. Now, select Default apps from the menu on the left-side
    Cannot associate file type with this program
  4. Now, you can make your selection from the main list on the right.
    Cannot associate file type with this program
  5. For more advanced options, scroll down to Choose default applications by file type or Choose default applications by protocol.
    Cannot associate file type with this program

Like the Control Panel method, this allows you to quickly set the default program for different file types. These are not set in stone and can be changed at any time. Just repeat the steps above if you want to change the default application.

Opening File Types Temporarily with a Program in Windows 10

If you have a file type that you would occasionally like to open with a particular program but don’t want to set it as default, you can do that too. This is useful for trying out a program before setting it as your go-to app.

  1. Right-click on a file and select Open with… and choose an option from the slide menu that appears. 
    Cannot associate file type with this program
  2. If the app you want isn’t show, select Choose another app and choose it from the new window that appears.
    Cannot associate file type with this program

This only works with files and not with folders, drives or executables but can be useful if you want to apply a special effect to an image or want to test something in a different program without changing the program you usually use to work with that file.

You may see some file types that don’t have alternatives, this is normal because many program developers also create proprietary file types that can only be opened with that program. These are relatively few though, as every time a proprietary file type comes along, a third party application is configured to allow free access.

File Types and Default Programs

There are more file types than one can shake a stick at, but now you know how to associate them with a program that knows how to make sense of them. Sometimes, you have to set the default program a few times before Windows gets it right, if at first you don’t succeed and all that.

Did this work for you? Is a certain file type giving you problems? Share your thoughts in the comments below.

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.

Send To Someone

Missing Device