If you’ve attempted to edit a system-wide file with Notepad or Notepad on the Windows PC, you’ve likely experienced the error “Notepad access denied”. This typically happens when you attempt to alter the system file using an account that is a regular user on a computer. Windows makes this change to ensure the security of your system’s files, and only administrators can modify the files. There are many ways How To Run Notepad As An Administrator?
If you’re still looking to edit and access the file with Notepad, You’ll need to start Notepad as an administrator. This will give users the permissions they need to alter any systems files on your system.
How To Run Notepad As An Administrator
Open Notepad As Admin Using The Right-Click Menu
The most straightforward way to start Notepad as an administrator is to choose an option from the context menu. You’ve probably used this option before if you’ve tried running an application as an administrator.
- Find Notepad. It is the Notepad application on your device. It could be located on your Desktop if you frequently use it.
- Right-click on the application and choose the option that reads “Run as an administrator”.
- You’ll be asked to enter your administrator password. Enter your password and click “Yes”.
- Notepad will start with admin rights, allowing you to modify any file on the system.
Run Notepad As Admin By Creating a Shortcut
This method may not be the best choice if you often use Notepad administrator privileges.
There’s a way to eliminate right-clicking on the file and start the Notepad application with admin access. You’ll have to enter the admin password every time
- Right-click on any blank area on your Desktop. Choose the option of New then Shortcut. You can create a new shortcut for your Desktop.
- It will ask you to input the address of the item you would like for a shortcut. In the box and click Next. This will open the Notepad application.
- Enter an appropriate name for your Shortcut. It should be something that clearly states what the Shortcut’s purpose is. We’d recommend using something like Notepad, but with the Admin feature. Click Finish after you’ve given your Shortcut a name.
- The new Shortcut should be visible on your Desktop. Right-click and select the option labeled Properties to grant it admin rights.
- Go towards The Shortcut tab, then click the Advanced button.
- The screen will appear; you need to check the Run as administrator box, then click “OK”.
Beginning from now, when you double-click on the newly-created Shortcut, it’ll launch the Notepad application with admin rights.
Launch Notepad With Admin Rights From Cortana Search
Cortana search allows users to open an instance of Notepad with administrator rights. You need to search for the app and choose a button that opens it.
- Place your cursor in Cortana’s search box, and then enter Notepad.
- If Notepad is displayed in the results of a search, Click on it, then right-click and choose the option to run as an administrator.
- Log in with your administrator password to allow the program to launch.
Use A Third-Party App To Access Notepad With Admin Rights
Because most users prefer using Notepad to edit their system files, there’s an application that lets you run the text editor as administrator each time you start it.
The app is named RunAsTool and lets you run any app you want on your PC as an administrator. It’s free to download and use.
- Download and run RunAsTool onto your computer. It’s portable, so it doesn’t require installation.
- You’ll be asked for the administrator account. Choose it; after that, enter the username and password for your account. Then click apply to proceed.
- Select the File menu at the top and choose to add a file.
- Go into the Windows Folder, then go to System32 Double-click on Notepad.exe.
- Choose Notepad in the app, and ensure that that Run As Administrator is on the pane on the right side.
- Right-click on Notepad within the app and then select Make Shortcut.
- Pick a spot in which you would like to put the Shortcut.
- Double-clicking this newly-created Shortcut will open Notepad as an administrator on your computer. It will not ask for an admin password but will request UAC permissions.
Directly Open Files With Admin Rights In Notepad
If you’ve looked around, all the methods mentioned above need you first to open Notepad to edit the files. What if there were an option to directly access the files you’d like to edit using Notepad with admin rights? Yes, it is possible.
Utilizing the Windows registry editor, you can include an option in the right-click menu to access any of your files within Notepad with administrator rights.
- Log into an administrator account on your computer. Use the Windows + R keys simultaneously, then type Regedit and hit Enter. It will open the registry editor.
- You can access the path below within the editor. HKEY_CLASSES_ROOT\*\shell
- Right-click the shell directory and choose the option New then the key to making a brand new key.
- Input ranges for the title of your key.
- Click on the newly-created Runas key, then double-click the default option on the right-hand side of the pane.
- Type into Notepad using Admin and then press Enter.
- Create a brand new key under the rules by right-clicking the Run As an icon and choosing the option of New then the key. Give the key a name—key command.
- Double-click the default to access to activate the Command key, and type the following. You can replace the PC NAME with the name of your computer. The name of your PC can be located within the Control Panel under System. Run As /sacred /user:PCNAME\Administrator “notepad %1”
- Right-click any document you wish to edit, and then select open Notepad. Notepad with the administrator.
- You’ll be required to enter your administrator password.
It’s a one-time password prompt, and you won’t have to enter your password the next time you select the feature.