Community
    • Login

    Set Notepad++ as default app in Windows 10

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    14 Posts 12 Posters 91.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kent LasleyK
      Kent Lasley
      last edited by

      Gotta LOVE how windows tries to muscle out the competition!

      Okay, here is a work around:

      1. Create a dummy file with the extension you wish to default to your program. The file can be empty.
      2. Right click on the dummy file and select Properties.
      3. On the General tab there is a section that states:
        Type of file: <YOUR_SUFFIX>
        Opens with <CURRENT_DEFAULT_PROGRAM> and a button that says <CHANGE>.
      4. Click Change.
      5. How do you want to open <YOUR_SUFFIX> files from now on? Choose <More apps>.
      6. Scroll to the bottom and select <Look for another app on this PC>
      7. Go to C:\Program Files (x86)\Notepad++ and select <notepad++.exe> and select <OPEN>
      8. Close Properties and your done!
      1 Reply Last reply Reply Quote 2
      • Dhruva HeinD
        Dhruva Hein
        last edited by

        You’re a lifesaver! Thanks!

        1 Reply Last reply Reply Quote 0
        • elnahirE
          elnahir
          last edited by

          Another way to set Notepad++ as default app in Windows 10 is outlined in Trish Tech [source].

          Basically, when you install Notepad++, go to Settings > Preferences > File Association, select Notepad. Then move the .txt and .log extensions to Registered extensions. Close the dialogue, close Notepad++. Right-click on any .txt file > Open with… > select Notepad++

          That’s it.

          Could be a bit easier for some people compared to the option Kent provided.

          1 Reply Last reply Reply Quote 3
          • Emil SamsonE
            Emil Samson
            last edited by

            I had to install Notepad++ Fork from Windows 10 store:
            https://www.microsoft.com/en-us/store/p/notepad-fork/9plhc123mqwt
            to make all mentioned methods work:/
            Standard version of Notepad++ was installed on my PC and it just seems to allows me to connect N++ to Windows :)
            After installing it, restart PC. Then right click on the file and either chose default app as it was in previous Windows 8.1 or go to file properties and then Change.

            1 Reply Last reply Reply Quote 1
            • Wolfgang JacquesW
              Wolfgang Jacques
              last edited by

              I am working within a Domain as a user with no administrator privileges (but I have the password).

              I had to combine Kents and elnahirs answers to succeed:

              Start Notepad++ with elevated rights, go to Settings > Preferences > File Association, select Notepad. Then move the .txt and .log extensions to Registered extensions. Close the dialogue, close Notepad++.

              Then follow Kent:
              @Kent-Lasley said:

              1. Create a dummy file with the extension you wish to default to your program. The file can be empty.
              2. Right click on the dummy file and select Properties.
              3. On the General tab there is a section that states:
                Type of file: <YOUR_SUFFIX>
                Opens with <CURRENT_DEFAULT_PROGRAM> and a button that says <CHANGE>.
              4. Click Change.
              5. How do you want to open <YOUR_SUFFIX> files from now on? Choose <More apps>.
              6. Scroll to the bottom and select <Look for another app on this PC>
              7. Go to C:\Program Files (x86)\Notepad++ and select <notepad++.exe> and select <OPEN>
              8. Close Properties and your done!
              1 Reply Last reply Reply Quote 1
              • dinkumoilD
                dinkumoil
                last edited by

                @Mark-Warkentin

                Your are using Windows 10 1803? There seems to be a bug introduced with the 2018-10 Windows updates, see here.

                1 Reply Last reply Reply Quote 0
                • coraphiseC
                  coraphise
                  last edited by

                  I’m using Windows 10 1803 as well, but managed to get the file associate changed. I’m not sure what did it though, as I tried setting through Notepad++, in the Win 10 App settings, through the registry (I was desperate).

                  Notepad++ finally showed up as something to select and after a reboot, it seems like it’s my default now. I personally don’t care about the how since it works finally, but if I come across it again on another machine before 1809 is re-released, I’ll test and document better to share.

                  1 Reply Last reply Reply Quote 1
                  • coraphiseC
                    coraphise
                    last edited by

                    POSSIBLY, this could be an issue with 32-bit vs. 64-bit. I completely missed there was a 64-bit download available for a long time; I just didn’t think about it.

                    I stumbled on their being a 64-bit download, grabbed that, removed the 32-bit version and installed 64-bit. I ran it, altered settings for Text and it failed. I ran it again as Administrator, altered settings for Text and things are opening in Notepad++ now.

                    1 Reply Last reply Reply Quote 0
                    • Jason M FrugeJ
                      Jason M Fruge
                      last edited by

                      I resolved this by manually registering the file extensions in Notepad++ preferences.

                      1. Run Notepad++ as administrator
                      2. Go to Settings > Preferences > File Association
                      3. Select Notepad “.txt” in Supported extensions panel
                      4. Click the "-> " to move it to Registered extensions panel
                      5. Close and try to reassociate
                      someone12345S MordicusM 2 Replies Last reply Reply Quote 3
                      • someone12345S
                        someone12345 @Jason M Fruge
                        last edited by

                        @Jason-M-Fruge Your solution worked for me. Thanks.

                        1 Reply Last reply Reply Quote 0
                        • MordicusM
                          Mordicus @Jason M Fruge
                          last edited by

                          @Jason-M-Fruge
                          Got this issue recently, could not add a new notepad++ document from contextual menu.
                          I followed your solution, but “.txt” was already in supported extensions panel.
                          What I’ve done: restarted Notepad++ with admin rights, removed and re-added “.txt”.
                          It worked!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors