Replacing Notepad in Windows Vista
After installing the Vista RTM, I wanted to replace Notepad with Notepad2, as I find this to be a much more powerful editor. It’s much more geared towards programmers, with built-in syntax highlighting. Best of all, it’s free.
It’s been pretty widely documented on how to replace Notepad on Windows XP. However, not much documentation was available for Windows Vista.
Interestingly enough, I found that it was very easy to do. These are the steps I followed, and I have yet to have Vista to replace it with the built-in version.
- Download and extract Notepad2.
- Rename Notepad2.exe to notepad.exe.
- Find c:\windows\notepad.exe and c:\windows\system32\notepad.exe and set the owner to ‘Administrators’, and grant Administrators full control.
- Using Windows Explorer, drag and drop the renamed notepad2.exe to c:\windows and c:\windows\system32.
Doing this allows you to get a much more powerful editor for things like viewing source from Internet Explorer or off of the Edit context menu.
Thanks Matt!
Cheers for this. I was despairing of being able to do this (not understanding ownership) but then I realized that early adopters of Vista were precisely the type of people who would 1) want to replace notepad and 2) be able to figure it out. A little Google, and no problem
Excellent. So much easier than the XP pains we had to go through. Thanks
[…] Sul sito di Matt Berther invece si trova una soluzione… alternativa… si prende come esempio Notepad2, e lo si sostituisce fisicamente al Notepad di Windows Vista. E’ una breve guida, in inglese. Replacing Notepad in Windows Vista […]
[…] Now, I just read a post on Omar’s blog about Notepad2 again and he listed off the four simple steps to take to do what’s needed to really have it replace the old Notepad on Vista. He actually found out about it from another blog (here’s that post too). Either one has the steps and you can download Notepad2 from here too (note there’s a new version out). […]
[…] 3 yillik bir aranin ardindan notepad2 yenilenmi$, artik ruby icinde syntax highlighting yapiyor.(changelog) xp’de notepad yerine koymak kolay olsa da vista’da nasil yapilabilecegini bulamami$tim fakat $urada notepad yerine nasil replace edilecegi anlatiliyor.(vista’yi bo$una silmi$im ;)) April 26, 2007 18:47 […]
[…] Notepad2 ima poleg omenjenih še precej drugih možnosti, ki nam pri delu pridejo prav. Sam lahko rečem da dokler nisem izvedel zanje jih niti nisem pogrešal, sedaj pa kar ne morem shajati brez njih. Zato sem z uporabo določenih posegov lahko originalni Notepad popolnoma nadomestil z Notepad2. Tule so navodila kako to storimo na Windows XP, XP SP2 in Windows Vista. […]
[…] you use Windows Vista, follow the simple instructions here. [mattberther.com] Quick actions for “Replacing Notepad with Notepad2″: Trackback address […]
nice solution… a question though:
where the heck vista gets the old notepad from when some notepad-viewable files like *.reg or *.txt for ex. are opened by selecting “Edit” option in the context menu using explorer?
(Vista x64)
I have changed ownership on notepad.exe files. Unfortunately, I get “Folder Permission Denied” if I copy in Explorer and “Access denied” if I try to do it from command line with administrator rights.
Alexey,
You still have to change the permissions on the file after you change ownership. The “grant Administrators full control” part of step 3 above probably could’ve been a separate step.
Is it possible to soft link the exe file? I keep notepad2 in c:\tools and would like to keep it there..
akaine >> there’s another one in C:\Windows\SysWOW64
Why notepad2 puts the microprocessor to 50 % in windows vista?
[…] I ran into an issue with overwriting the original notepad due to a lack of permissions. I found Matt Berther’s article which helped me understand what files needed to be overwritten for use in Vista. While I ran into […]
[…] The installation file weighs in at 247KB, a small amount of data for such a feature-rich notepad. Another bonus is you can also replace the default Notepad that comes with windows with Notepad2, which you can view howto’s for Windows XP and Windows Vista. […]
[…] Replacing Notepad in Windows Vista […]
can you guys explain it step by step? how do i set the owner in vista 64-bit?
“Set, View, Change, or Remove Special Permissions” i’ve checked this but the “add” button is greyed out.
can someone make simple 1, 2, 3, 4 that is ‘more’ elaborate than the original post? also how do i set up the ini permissions? word wrap settings are never saved between sessions. thanks
3a. right-click > properties > security > click “advanced” > owner > select “administrators” > click “apply/ok” > click “ok” on each window to exit.
3b. right-click > properties > security > click “edit” > select “administrators” > select the “full control” check box > click “ok” on each window to exit.
wasn’t so hard to give a bit more detail was it? or make a batch file. suppose it was too much effort!
Thanks to Matt on the tutorial to how to replace Notepad2 for the old boring Notepad. For a newbie like me, was very easy.
I love better the color syntax of Notepad2
Thanks kipp for fleshing out those steps. I’m a Vista newb and needed the extra help. :)
Some windows updates will overwrite notepad2.exe so you may have to do the whole process over again. Bill should just buy notepad2.exe and make it part of Windows.

Thanks for the tip. I also use Notepad2, and I had no problem replacing Notepad with it on XP or XP x64 Edition. Your tip worked like a charm. Just for anybody else out there, if you’re running a 64-bit build of Vista (or XP), you should also replace the notepad.exe found in c:\windows\syswow64.