Skip to main content

How To Replace Notepad in Windows 7

It used to be that Notepad was a necessary evil because it started up quickly and let us catch a quick glimpse of plain text files. Now, there are a bevy of capable Notepad replacements that are just as fast, but also have great feature sets.
Before following the rest of this how-to, ensure that you’re logged into an account with Administrator access.
Note: The following instructions involve modifying some Windows system folders. Don’t mess anything up while you’re in there! If you follow our instructions closely, you’ll be fine.

Choose your replacement
There are a ton of great Notepad replacements, including Notepad2, Metapad, and Notepad++. The best one for you will depend on what types of text files you open and what you do with them. We’re going to use Notepad++ in this how-to.
The first step is to find the executable file that you’ll replace Notepad with. Usually this will be the only file with the .exe file extension in the folder where you installed your text editor. Copy the executable file to your desktop and try to open it, to make sure that it works when opened from a different folder.
In the Notepad++ case, a special little .exe file is available for the explicit purpose of replacing Notepad.If we run it from the desktop, it opens up Notepad++ in all its glory.
sshot-1
Back up Notepad
You will probably never go back once you switch, but you never know. You can backup Notepad to a special location if you’d like, but we find it’s easiest to just keep a backed up copy of Notepad in the folders it was originally located.
In Windows 7, Notepad resides in:
  • C:\Windows
  • C:\Windows\System32
  • C:\Windows\SysWOW64 in 64-bit versions only
Navigate to each of those directories and copy Notepad.

Paste it into the same folder.

If prompted, choose to Copy, but keep both files.

You can keep your backup as “notepad (2).exe”, but we prefer to rename it to “notepad.exe.bak”.

Do this for all of the folders that have Notepad (2 total for 32-bit Windows 7, 3 total for 64-bit).
Take control of Notepad and delete it
Even if you’re on an administrator account, you can’t just delete Notepad – Microsoft has made some security gains in this respect. Fortunately for us, it’s still possible to take control of a file and delete it without resorting to nasty hacks like disabling UAC.
Navigate to one of the directories that contain Notepad. Right-click on it and select Properties.


Switch to the Security tab, then click on the Advanced button.

Note that the owner of the file is a user called “TrustedInstaller”.

You can’t do much with files owned by TrustedInstaller, so let’s take control of it. Click the Edit… button. Select the desired owner (you could choose your own account, but we’re going to give any Administrator control) and click OK.

You’ll get a message that you need to close and reopen the Properties windows to edit permissions. Before doing that, confirm that the owner has changed to what you selected.

Click OK, then OK again to close the Properties window. Right-click on Notepad and click on Properties again.
Switch to the Security tab. Click on Edit….

Select the appropriate group or user name in the list at the top, then add a checkmark in the checkbox beside Full control in the Allow column.

Click OK, then Yes to the dialog box that pops up.

Click OK again to close the Properties window.
Now you can delete Notepad, by either selecting it and pressing Delete on the keyboard, or right-click on it and click Delete.


You’re now free from Notepad’s foul clutches!

Repeat this procedure for the remaining folders (or folder, on 32-bit Windows 7).
Drop in your replacement
Copy your Notepad replacement’s executable, which should still be on your desktop.

Browse to the two or three folders listed above and copy your .exe to those locations. If prompted for Administrator permission, click Continue.

If your executable file was named something other than “notepad.exe”, rename it to “notepad.exe”. Don’t be alarmed if the thumbnail still shows the old Notepad icon.

Double click on Notepad and your replacement should open.

To make doubly sure that it works, press Win+R to bring up the Run dialog box and enter “notepad” into the text field. Press enter or click OK.


Now you can allow Windows to open files with Notepad by default with little to no shame! All without restarting or having to disable UAC!

Comments

Popular posts from this blog

Creating NLB Cluster Windows 2008 Server

Creating an NLB Cluster There are three key steps to creating an NLB cluster in Windows Server 2008: Install the NLB Feature into Server 2008 on each host that you will add to an NLB cluster. Use the New Cluster wizard to create the cluster and add the first host. Use the Add Host wizard to add one ore more nodes to your cluster Installing NLB in Server 2008 This is extremely easy. First you run Server Manager, and select Features from the tree and click on Add Features: From the Add Features wizard just select Network Load Balancing and click Next: Finally from the Confirm Installation Selections click Install: After a few seconds, NLB will be installed on the first host. You need to repeat this installation on each host you plan to add to your NLB Cluster. Installing the NLB feature does NOT require a reboot, but removing it does. Creating your NLB Cluster Once NLB is installed, you create your cluster by first bringing up the NLB Cluster Manager: The right c...

How to Create a MultiBoot USB Flash Drive for Windows and Linux

Step 1) Download an .ISO version of your installation (available through various sources [Microsoft, Apple, etc., or just from within the tool itself.]) Step 2) Plug in your USB and open up " My Computer ". Right click the USB, and select the " Format " button.    Note Recommended options: FAT32, quick format.       Now, continue at the warning prompt. And then press 'Ok' Step 3) Once the format is complete, open up this tool called ' YUMI ' YUMI - Multiboot USB Creator (Windows) | USB Pen Drive Linux Step 4) Using ' YUMI ', select the drive letter of your USB    Tip Make sure you chose the correct USB by opening up 'My Computer' and reading the Drive Letter) Step 5) There is a large list of possible operating systems, along with a built in DOWNLOAD feature! Select the operating system you want to download, and then browse for your .ISO file. Step 6) Press "Create" ...

How To Setup a USB Flash Drive to Install Windows 7

If you have an ISO image of Windows 7, using Microsoft’s free utility is a quick and easy option to get the image on your USB flash drive. It requires XP SP2 or higher and if you’re using an XP machine you’ll need .NET Framework 2.0, and Microsoft Image Mastering API V2…both of which can be downloaded from the link below. It seemed to work best if I formatted the flash drive as NTFS before using the download tool. But that could be because of the flash drive I used…your mileage may vary.   It’s a pretty straight forward process, first browse to the location of your Windows 7 ISO file and click Next. Select USB device…this also helps you burn the ISO to DVD as well if you need that option. Choose your flash drive and click Begin copying. Now just wait for the process to complete. The drive will be formatted and files copied to the flash drive. When the process is finished you will be able to see the files on the flash drive as you would if you opened the installat...