How to Replace the Notepad with Notepad++ in Windows 11

You can completely replace the Notepad with Notepad++ in Windows 11. Let’s see how.

Completely Replace the Notepad with Notepad++

Here are the steps:

Open Run by pressing Windows + R, type cmd, and press Ctrl + Shift + Enter. Hit Yes in the popup.

You can now see the elevated Command Prompt.

Use the following command if your PC runs a 32-bit version:

REG ADD “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe” /v “Debugger” /t REG_SZ /d “\”%ProgramFiles(x86)%\Notepad++\notepad++.exe\” -notepadStyleCmdline -z” /f

If you have a PC that’s version 64-bit, use this command:

REG ADD “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe” /v “Debugger” /t REG_SZ /d “\”%ProgramFiles%\Notepad++\notepad++.exe\” -notepadStyleCmdline -z” /f

That’s all.

Note:

To undo this, use the following command at the elevated command prompt.

Here’s the command: REG DELETE “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe” /v “Debugger” /f

That’s it.

Follow these steps to open text files in Notepad++ instead of Notepad. Remember, however, that this applies only to text files.

Here are the steps: If you haven’t already, install Notepad++. Right-click the text file. 

Note: You can create a new text file by right-clicking on a blank space, hovering over New, and hitting Text Document. Hit Enter if you like the suggested name. Otherwise, provide it and press the Enter key. That’s all. Once you’ve created it, right-click it.

Hit “Properties.” Under the General tab, you’ll find the Change button.

Please click on it, and in the popup, select Notepad++. Then hit the OK button. Hit the OK button.

That’s it. Rather than Notepad, Notepad++ will open all text files from now on.

I hope this guide, “How to Replace Notepad with Notepad++ in Windows 11,” is helpful to you.

Thanks for reading.

See: How to Find Notepad++ Word Count