Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Open Notepad with Admin Rights: Step-by-Step Guide

Learn how to Open Notepad with Admin Rights with clear steps, useful examples, and practical tips. Complete the task correctly and avoid common mistakes.

Table of Contents

This updated guide explains how to Open Notepad with Admin Rights through clear steps, practical examples, and important checks that help prevent common errors.

If you still need to access and edit files using Notepad, you'll need to open Notepad as an admin. You will then be given the privileges necessary to modify any file system on the application. There are many ways to run Notepad with admin rights as follows.

Open Notepad with Admin Rights by Right-clicking Menu

The easiest way to run Notepad with admin rights is to use an option from the context menu. You may have used this option before if you tried running an application with admin rights.

  • Locate Notepad application on your device. It may be on the desktop if you use it often.
  • Right-click the application and select Run as administrator .
  • You will be prompted to enter the admin password. Enter the password and click Yes.
Open Notepad with Admin Rights — Open Notepad with Admin Rights by Right-clicking Menu screenshot 1 Enter the password and click Yes
  • Notepad will launch with admin rights, allowing you to modify any file on the system.

Run Notepad as an Admin by Creating a Shortcut

The above method may not be convenient for you if you need to run Notepad with admin rights too often.

Fortunately, there is a method to eliminate right-clicking on a file and automatically launching the Notepad application with admin rights. However, it will ask you to enter the admin password each time.

  • Right-click anywhere on the desktop and select New> Shortcut . It will allow you to add a new shortcut to the desktop.
  • You will be asked to enter the location of the item where you may need to create the shortcut. Enter the following in the box and click Next. This is the path to the Notepad application.
%windir%system32notepad.exe
Open Notepad with Admin Rights — Run Notepad as an Admin by Creating a Shortcut screenshot 2 You will be asked to enter the location of the item where you may need to create the shortcut
  • Now you need to enter a name for the shortcut, such as Notepad with Admin , then click Finish.
  • Newly created shortcuts will be available on the desktop. Right-click it and select the Properties option to grant administrative rights.
  • Go to the Shortcut tab, find and click the Advanced button .
  • On the following screen, check the Run as administrator box and click OK.
Open Notepad with Admin Rights — Run Notepad as an Admin by Creating a Shortcut screenshot 3 Check the box Run as administrator

From now on, whenever you double click the shortcut you just created, the Notepad application will open with admin rights.

Cortana search also allows you to open a version of Notepad with admin rights. Basically, you need to search for the application and then select the option to launch it.

  • Put your cursor in the Cortana search box and type Notepad.
  • When Notepad appears in the search results, right-click it and select Run as administrator .
  • Enter admin password and the application will open.
Open Notepad with Admin Rights — Launch Notepad with Admin Rights from Cortana Search screenshot 4 Enter admin password and the application will open

Use a Third Party Application to Access Notepad with Admin Rights

Because most users prefer to use Notepad to edit system files, there is now an application that allows you to run this text editor with admin rights every time you open it.

The application is called RunAsTool and it allows you to run any application on your computer with admin rights. RunAsTool is available for free to download and use.

  • Download RunAsTool and launch the application on the PC. This is a portable application, so you do not need to install it.
  • You will be asked to select an admin account. Select it and then enter the password for the account. Then click Apply to continue.
  • Click the File menu at the top and select Add File.
  • Navigate to the Windows folder, go to System32 and double-click Notepad. exe.
  • Select Notepad in the application and make sure the Run as administrator option is enabled in the right panel.
Open Notepad with Admin Rights — Use a Third Party Application to Access Notepad with Admin Rights screenshot 5 Check the option Run as administrator
  • Right-click Notepad in the application and select Create Shortcut.
  • Choose a location where you may need to place the shortcut.
  • Double clicking on this newly created shortcut will launch Notepad with admin rights on the PC. It does not require admin password but will need UAC permission.

Open the File Directly with Admin Rights in Notepad

All of the above methods require you to open Notepad first to edit your files. There is a way you can directly open files you may need to edit in Notepad with admin rights.

Using the Windows Registry Editor, you can add options to the right-click menu, allowing you to open any file in Notepad with admin rights.

  • Log into the admin account on the PC. Press the Win+ keys R at the same time, type regedit and press Enter. Registry Editor will open.
  • Visit the following path in Registry Editor.
HKEY_CLASSES_ROOT*shell
  • Right-click the shell folder and select New> Key to create a new key.
  • Enter runas as the name of the key.
Open Notepad with Admin Rights — Open the File Directly with Admin Rights in Notepad screenshot 6 Enter runas as the name of the key
  • click the newly created key runas and then double click Default in the right window.
  • Enter Open in Notepad with Admin and click Enter.
  • Create a new key in runas by right-clicking on the runas and selecting New> Key . Name this key command.
Open Notepad with Admin Rights — Open the File Directly with Admin Rights in Notepad screenshot 7 Create the key command
  • Double click Default in the command key and enter the following. Replace PCNAME with your computer name. The PC name can be found in Control Panel> System .
runas /savecred /user:PCNAMEAdministrator 'notepad %1'
  • Now, right-click any file you may need to edit and select Open in Notepad with Admin .
  • You will be asked to enter the admin password.
Open Notepad with Admin Rights — Open the File Directly with Admin Rights in Notepad screenshot 8 You will be asked to enter the admin password

You will be asked to enter your password the next time you use the option.

FAQ

What is the easiest way to Open Notepad with Admin Rights?

Start with the requirements in this guide, then follow each step in order. Check the result after every major change so problems are easier to identify.

Can beginners follow these instructions?

Yes. The process is organized into practical steps, and you can repeat any step before moving forward.

What should I check if the method does not work?

Confirm your software or device version, permissions, settings, file format, and internet connection when the task depends on online services.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.