Make Windows 7 Notepad Open As Administrator

Posted on 2011-10-09
Last Modified: 2012-05-12
Points of My Scenario
1. I am owner and admin of a Windows 7 Enterprise Edition workstation.
2. I use notepad to change/create application and system text files.
3. I have to open Notepad as administrator to modify/create application and system text files.
4. I want to modify/create text files in application and system folders WITHOUT having to specifically open Notepad as administrator.
QUESTION: How can I configure Notepad to automatically open in Administrator mode when an administrator is logged into the workstation?
Question by:waltforbes
    LVL 77

    Expert Comment

    by:David Johnson, CD, MVP
    4. Change the permissions of the folders you want to be 'Full' for administrators

    Author Comment

    1. The folders already have Full Control for administrators
    2. I can modify/save text files to the folders IF I open Notepad in Admin mode: i.e., right-click the Notepad shortcut, then click "Run as administrator"
    3. But, I don't want to have to right-click Notepad and choose "Run as administrator" everytime.
    4. I need Notepad to open in the "Run as administrator" mode automatically when I merely regular click its Program shortcut.
    Any ideas?
    LVL 7

    Expert Comment

    are you using runas to open notepad?  what is the problem that you are having (access denied??)  
    LVL 16

    Accepted Solution

    - Create a shortcut
    - Right-click the shortcut, and click Properties
    - On the Shortcut tab, click the Advanced button near the bottom
    - Check "Run as administrator"

    Now your icon is always set to run as Administration.
    LVL 77

    Expert Comment

    by:David Johnson, CD, MVP
    then right click notepad go into compatability then select run this program as an administrator

    Author Closing Comment

    Perfect! I can adapt this approach for a variety of situations! Yes! Many thanks, Jessc7.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
    So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
    This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
    This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now