Send to Notepad as Administrator - Windows 7 & Vista

by withakay 18. September 2009 12:16

Today I found a solution to a problem that pisses me off enough to want to solve.

I have some text file that is in a part of the file system such that windows deems it to require administrator rights to modify, but not to view, and I have opned it with notepade.exe and now cannot save it. Ideally I would be prompted to escalate my priviledges when I opened the file with notepad.exe or when I tried to save the file. That is not the case. Frown

The solution (or at least my solution) is to add a short cut to notepad.exe to the Send To menu and tell the short cut to run as administrator.

The steps are:

 

  1. Open Explorer and type "shell:sendto" in the address bar (without the quotes)
  2. Click the Start button and search for "notepad" (again, without the quotes)
  3. Drap the notepad icon to the explorer window that was opened in step 1
  4. Right click the short cut to notepad, select the "shortcut" tab
  5. click the "advanced button and check "Run as Administrator"
  6. click "ok" on the dialogs to get rid of them, etc.

Tags:

Windows