Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notepad++ cannot be set as the default program for certain file types on Windows 10 #4984

Closed
craigstern opened this issue Nov 2, 2018 · 1 comment

Comments

@craigstern
Copy link

Description of the Issue

Notepad++ cannot be set as the default program to open certain file types on Windows 10 Home.

Steps to Reproduce the Issue

  1. Attempt to set Notepad++ as the default program to open (for instance) xml files by right-clicking a file of the aforementioned type, selecting Open As, selecting Notepad++, checking the box to always use this program, and clicking Okay.
  2. Attempt the same by going into System Settings > Apps > Default Apps >Choose default apps by file type.

Expected Behavior

The files of the selected type will automatically open with Notepad++ going forward.

Actual Behavior

The first time I tried it, the system erroneously assigned the files to Microsoft Edge instead. Subsequent attempts produced no change.

Debug Information

There is an unofficial fork of Notepad++ that fixes this issue. See here: https://superuser.com/questions/1324367/how-can-i-make-notepad-default-program-for-txt-files#comment2056803_1324372

@TheDarkerPhantom
Copy link

TheDarkerPhantom commented Dec 8, 2018

There is a known file association issue, that was introduced in Windows 10 April 2018 Update Build 17134.320 and Windows 10 October 2018 Update Build 17763.55, this issue has already been fixed in Windows 10 April 2018 Update Build 17134.441 and Windows 10 October 2018 Update Build 17763.168

There is nothing wrong with the official Notepad++

@donho donho closed this as completed in 14074e1 Dec 26, 2019
alef162 pushed a commit to alef162/notepad-plus-plus that referenced this issue Oct 11, 2020
File association feature under Windows 10 needs the Administrator's preivilege.
This commit add an explicit message to users who want to use this feature, and disable this feature if Notepad++ has no Administrator's preivilege.

Fix notepad-plus-plus#4984, fix notepad-plus-plus#5192, fix notepad-plus-plus#4542
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants