How to Add Notepad and Wordpad to Context Menu

Here you can see the steps to add Notepad and Wordpad to the context menu in Windows 11.

You’ll also see how to add Notepad as an administrator to the right-click menu in Windows 11. Let’s begin with the former.

Add Notepad to the Right-Click Menu

Here are the steps:

Open the Registry Editor. I suggest you make a backup of the Registry before proceeding.

In the left pane, expand HKEY_CLASSES_ROOT > *.

Right-click on the “shell” key and select New > Key.

Enter the key name you want, and here, I enter it as Open with Notepad. Press the “Enter” key.

Right-click on the key you’ve created and select New > Key.

Enter “command” (without double quotes) as the key name and press the “Enter” key.

In the right pane, double-click “Default.” In the “Value data” field, enter notepad %1 and click OK.

That’s it.

Now, right-click the file you want to open on Notepad. Hit Show more options. In the context menu, select “Open with Notepad.”

Note: If you want to remove it from the context menu, delete the first key you created (in my case, it was Open with Notepad).

Add Wordpad to the Right-Click Menu

Here are the steps to add the WordPad app to the context menu in Windows 11:

Go to C: > Windows > System32.

Right-click on the “Write” file and click the “Copy as path” option in the context menu.

Open the Registry Editor. I suggest that you back up the Registry before proceeding.

In the left pane, expand HKEY_CLASSES_ROOT > *. Right-click on the “shell” key and select New > Key.

Enter the key name you prefer (here, I specify it as WordPad). Press the “Enter” key.

Right-click on the key you’ve created and select New > Key.

Enter “command” (without double quotes) as the key name and press the Enter key.

Double-click on “Default” in the right pane. Paste the path you’ve previously copied into the “Value data” field, press the Space bar key, and enter %1.

Hit the “OK” button.

That’s it. Right-click on the file you want to open on WordPad. Select “Show more options” and select “WordPad” from the context menu.

Note: If you want to remove the option from the context menu, delete the first key you created.

Add Notepad as an Administrator to the Context Menu

Here are the steps:

Launch the Registry Editor. I suggest you take the Registry backup before proceeding.

Expand HKEY_CLASSES_ROOT > *.

Right-click on the “shell” and select New > Key. Specify the key name as runas and hit Enter key.

Double-click on “Default” in the right pane.

Enter the name (in our instance: Notepad Admin) in the “Value data” field as you like. Remember that this is the one you see in the context menu.

Hit the “OK” button.

Right-click on the runas and select New > Key. Specify the “command” (without double quotes) as the name and press the Enter key.

Double-click on “Default” in the right pane. Provide notepad %1 in the “Value data” field and hit the “OK” button.

That’s it. From now on, right-click on the file you want to open and hit Show more options. You’ll see the option (in our instance: Notepad Admin).

As soon as you click on this option, you’ll see a UAC popup. Hit the “Yes” button, and the file will open on Notepad, which starts as an administrator.

Note: Do you want to remove the option you’ve added from the context menu? Delete the runas key.

I hope this guide, “How to Add Notepad and Wordpad to Context Menu,” is helpful to you.

Thanks for reading.