Is there any straightforward way to replace notepad.exe in Windows 11?
Oct 18
After upgrading to Win 11 a bit over a week ago, I found that my Image File Execution (i.e. HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe) replacement for Notepad was no longer working; all my text files opened in Notepad instead of Notepad2 as it used to in Win 10.
I checked my registry and found that IFE for notepad.exe was still in place. However, text files still opened in notepad. I therefore proceeded to check HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths\notepad.exe and replaced the relevant values with Notepad2, my preferred text application. After that, typing notepad.exe in any terminal window opens Notepad2 but double-clicking text files still opens them in notepad.
My question therefore is, is there any straightforward way to make notepad2.exe (or any other text editor) replace notepad.exe as was possible in earlier versions of Windows?
1 answer
Accepted answer · original discussion
Dec 12
I found that uninstalling the Windows Store Notepad app reverted the Win10 and older behaviour.
1 question comment
Use comments to ask for clarification. Post a solution as an answer.
Oct 18