How to Add an 'Open With Notepad As Administrator' Shortcut to the Context Menu in Windows 7 and Windows Vista

Method 1 of 2:

Install

  1. How to Add an 'Open With Notepad As Administrator' Shortcut to the Context Menu in Windows 7 and Windows Vista Picture 1
    Open Notepad by going to Start → All Programs → Accessories → Notepad.
  2. Copy codes given below and paste them in Notepad.
[version] signature="$CHICAGO$" [NotepadAsAdminInstall] CopyFiles = NotepadAsAdmin.Files.Inf AddReg = NotepadAsAdmin.AddReg [DefaultInstall] CopyFiles = NotepadAsAdmin.Files.Inf AddReg = NotepadAsAdmin.AddReg [DefaultUnInstall] DelFiles = NotepadAsAdmin.Files.Inf DelReg = NotepadAsAdmin.DelReg [SourceDisksNames] 55="Notepad as Admin","",1 [SourceDisksFiles] NotepadAsAdmin.INF=55 [DestinationDirs] NotepadAsAdmin.Files.Inf = 17 [NotepadAsAdmin.Files.Inf] NotepadAsAdmin.INF [NotepadAsAdmin.AddReg] HKLM,%UDHERE%,DisplayName,,"%NotepadAsAdminName%" HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll, SetupInfObjectInstallAction DefaultUninstall 132 %17%NotepadAsAdmin.inf" HKCR,*Shellrunas,,,"%NotepadAsAdminAccel%" HKCR,*Shellrunascommand,,,"%11%notepad.exe ""%1""" [NotepadAsAdmin.DelReg] HKLM,%UDHERE% HKCR,DirectoryShellrunas HKCR,DriveShellrunas [Strings] NotepadAsAdminName="Notepad as Admin PowerToy (Uninstall only)" NotepadAsAdminAccel="Notepad as Admin" UDHERE="SoftwareMicrosoftWindowsCurrentVersionUninstallNotepadAsAdmin" 
How to Add an 'Open With Notepad As Administrator' Shortcut to the Context Menu in Windows 7 and Windows Vista Picture 2
  1. How to Add an 'Open With Notepad As Administrator' Shortcut to the Context Menu in Windows 7 and Windows Vista Picture 3
    In Notepad, go to File → Save As... and save the file with name NotepadAsAdmin.inf. Be sure to change the Save as Type: from Text Documents to All Files.
  2. How to Add an 'Open With Notepad As Administrator' Shortcut to the Context Menu in Windows 7 and Windows Vista Picture 4
    Go to the location where you just saved the "NotepadAsAdmin.inf" file. Right click on the file and click on "Install" from context menu.
  3. To try it, right-click on any file in Windows Explorer and you will see a new menu item called "Notepad as Admin". Click on that option and that file will be opened in Notepad.
How to Add an 'Open With Notepad As Administrator' Shortcut to the Context Menu in Windows 7 and Windows Vista Picture 5
Method 2 of 2:

Uninstall

  1. How to Add an 'Open With Notepad As Administrator' Shortcut to the Context Menu in Windows 7 and Windows Vista Picture 6
    Go to Start → Control Panel → Add or Remove Programs.
  2. How to Add an 'Open With Notepad As Administrator' Shortcut to the Context Menu in Windows 7 and Windows Vista Picture 7
    Click on the Remove for Notepad as Admin PowerToy (Uninstall only) entry.
5 ★ | 2 Vote

May be interested

  • How to add items to the 'Create New' context menu in Windows 10How to add items to the 'Create New' context menu in Windows 10
    right-clicking on the desktop or in a folder brings up a list of new file types you can create (under the new menu). but what if the file type you want isn't in windows 10's new context menu?
  • How to open Notepad with admin rightsHow to open Notepad with admin rights
    the 'notepad access denied' error usually occurs when you try to modify the system file from a standard user account on the pc. you will need to open notepad with admin rights to fix the error. there are many ways to run notepad with admin rights.
  • How to add 'Open command window here as administrator' to the right-click menu on Windows 10How to add 'Open command window here as administrator' to the right-click menu on Windows 10
    the command prompt is an entry point for typing computer commands in the command prompt window. by typing the command at the command prompt, you can perform tasks on the computer without using the graphical interface of windows. this tutorial will show you how to add or remove open command window here as administrator in the right-click menu on windows 10.
  • How to delete options in the Windows context menuHow to delete options in the Windows context menu
    have you ever right-clicked on a file or folder and wondered where the options to mess up this context menu and how to delete them? please read the following article.
  • How to Open NotepadHow to Open Notepad
    notepad is an incredibly easy-to-use text editor bundled with the microsoft windows operating system. you can find and open notepad from within the microsoft windows start menu, or you can create a new text file right on your desktop....
  • How to restore the old context menu in Windows 11How to restore the old context menu in Windows 11
    the context menu (right-click menu) in windows 11 is a major source of frustration for many users. it's slower, requires extra clicks to access familiar options, and is less intuitive than the classic menu.
  • How to bring Windows 10's right-click menu to Windows 11How to bring Windows 10's right-click menu to Windows 11
    on windows 11, microsoft changed many design aspects. one of the things that is completely refreshed is the context menu aka right-click menu.
  • What is the Menu key? And how to remap it?What is the Menu key?  And how to remap it?
    do you know the computer keyboard has a menu key? this key will open the context menu but you can adjust it to make it more useful.
  • How to fix slow context menu in Windows 10's File ExplorerHow to fix slow context menu in Windows 10's File Explorer
    windows 10's context menu can slow down over time. here's how to fix context menu menu that opens slowly, freezes or hangs when you right-click.
  • How to Clean the Windows Context Menu via RegistryHow to Clean the Windows Context Menu via Registry
    if you have been using windows for some time and have installed several applications or programs, you'll probably find a lot of clutter in your context menu. if you're unfamiliar with the context menu, it is the menu that pops up when you...