Replace Notepad with Editpad (or another editor)

Problem: 

I use Editpad in Windows and in spite of changing the default editor setting from Notepad to Editpad a lot of programs still open up in Notepad.

Solution:

Make changes to the following folders:

  • C:\Windpows
  • C:\Windows\System32
  • C:\Windows\SysWOW64 (for 64-bit version)

Step-by-step process:

  1. Create a backup of Notepad.exe
  2. Take control of Notepad.exe (From TrustedInstaller to Administrator)
    • Right click Notepad.exe and select propertiesnotepad1
    • Click the Security Tab -> Advanced button -> Owner Tab -> Edit button
      notepad2

    • Change owner to Administrators and click ok (Accept any prompts and come back to the properties window)
      notepad3
    • Click Edit and grant Administrators full control of the filenotepad4

    • Now, you should be able to delete notepad.exe
  3. Copy your Editpad executable (Or other favorite editor EXE) as Notepad.exe into the above folders
  4. Repeat the process for other two folders
  5. Test your setup by typing notepad in DOS
Advertisements