Replace Notepad with Another Text Editor (eg. Notepad2 and Notepad++) in Vista
You have downloaded an Notepad replacement text editor, such as Notepad2 or Notepad++. After installing the program, you may intend to replace the Notepad completely with the new text editor. By replacing Notepad, the new text editor will be used instead of Notepad when you double click on a text file or any files with extension that is associated with Notepad. In other words, Notepad2, Notepad++ or another editor text editors will become default editor. Other function such as View Source in Internet Explorer or Edit certain files or batch scripts via right click menu will be opened in new text editor too.
How to replace built-in standard version of Notepad in Windows Vista with alternative text editor:
- Backup or rename original Notepad.exe to another name, such as Notepad.original.
- Download and install Notepad replacement text editor that you prefer. Most alternative text editors, including Notepad2, Notepad++, BDV Notepad and etc works with this trick. If you’re using TED Editor, simply select “Notepad replacement” during setup to get the job done for you.
- Notepad.exe is a protected system file. So you will need to set the owner to “Administrators”, and then grant Administrators “Full Control” permissions. You can do so by right click on Notepad.exe and select “Properties”, then go to Security tab and click on Advanced button. You will see Owner and Permissions tab where you can take over ownership of Notepad.exe.
- Rename the alternative text editor executable filename to notepad.exe (e.g. rename Notepad2.exe to notepad.exe or notepad++.exe to notepad.exe). To ensure that the application still work when you run the program icon, you can make a copy instead of rename. Allow when prompted for permission.
- Copy the renamed notepad.exe to the following directories by drag and drop using Windows Explorer:
\Windows
\Windows\System32
You now have the classic Notepad replaced.
Related Articles
- Auto Install Script for Notepad2 in Vista to Replace Notepad
- How to Change IE Default View Source Editor from Notepad to Other Text Editors
- Add Notepad2 to Windows Vista or XP Right Click Context Menu
- Use Notepad++ As HEX Editor with Plugin Download (Free WinHEX Alternative)
- Fix Notepad++ Find or Replace Transparent Dialog Box Does Not Close Away Problem in Windows 7
- Glass Notepad – Aero Theme Notepad for Windows Vista and Windows 7
- Windows Vista Notepad Replacement Alternative
- Download File Content Replacer to Search and Replace Text in Multiple Files
- How to Find and Replace Text in MySQL Database using SQL
- How to Change Default View Source Editor (HTML Viewer) in IE8










































September 15th, 2008 15:18
[...] to completely replace the default classic yet not much functionality Notepad, they can follow this hack. However, if you do not want to do the steps manually, here’s a auto installation script for [...]
September 15th, 2008 14:42
[...] There are plenty more of free or paid replacement text editor alternative for Notepad. You can see a comprehensive list of them in Wikipedia. To completely replace Notepad so that whenever you double click on a text file or view source in IE, it’s the replacement text editor that open it, you need this trick. [...]
June 7th, 2008 05:01
Why can’t the hell Notepad++ have an option to make it the default text editor like all other text editors do?
September 17th, 2007 06:07
[...] Replace Notepad with Another Text Editor (eg. Notepad2 and Notepad++) in Windows Vista [...]
May 5th, 2007 18:23
[...] to completely replace the default classic yet not much functionality Notepad, they can follow this hack. However, if you do not want to do the steps manually, here’s a auto installation script for [...]
May 5th, 2007 04:06
You better read this befoee you try to start replacing notepad this way.
http://blogs.msdn.com/michkap/archive/2007/02/22/1738882.aspx
May 4th, 2007 22:57
[...] text file or view source in IE, it’s the replacement text editor that open it, you need this trick. Get help or contribute tips or tricks at My Digital Life [...]