Notepad ++ .txt association keeps reverting to Windows Notepad
-
Hello All,
First request for help here. I’ve searched and searched the forums and other sites. Everything I’ve tried isn’t working.
Whenever I set Notepad ++ as the default .txt handler, Windows Notepad takes over after every reboot. I can’t figure out why.
Here is what I’ve tried.
- Notepad++ as administrator > Settings > Preferences > File Association
- Shift+Right Click on .txt file > Open With > Choose Another App > Always use this app to open .txt files
- Settings > Choose default apps by file type
- command line > ftype Notepad++_file=“C:\Program Files\Notepad++\notepad++.exe” “%1”
- command line > assoc .txt=Notepad++_file
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.txt\UserChoice
I have NOT tried any third party programs to fix this and would prefer not to.
I’ve got event viewer auditing looking for registry changes. I see that the HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.txt\UserChoice\ProgId registry entries Hash & ProgId is changed back to Windows Notepad. I can see that OpenWith.exe is making the change. I have no idea how or why this is being invoked, however.
What am I missing here?
How do I tell what may be causing this?
How to I make this association ‘permanent’?
Thanks in advance for any responses.
Regards,
Terry
-
Sorry that’s happening to you. Windows 10 is annoyingly difficult to get stable file associations in. The NPP developers do their best to set the right registry settings, but sometimes there is a buried entry that gets in the way.
this recent discussion talks some about registry locations that might be interfering with the association attempts – especially my final post. That might give you some pointers where to look next.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login