-
Start an elevated or administrator Command Prompt.
-
Copy the following command and paste it in the Command Prompt window:
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
To undo (reverse) the replacement, use the following command: