Running a Program as Administrator

Written by Barry Dysert (last updated June 14, 2021)

There may be programs that you try to run that give you an "Access Denied" or "No Permission" error. When this happens it's usually an indication that the program needs full access to your computer, which can only occur if the program is run as administrator. Assuming you are in the Administrators group, there are a few ways you can run a program as administrator.

One way to run a program as administrator is to hold down the Ctrl+Shift keys when opening the program. This allows the program to run one time as administrator, and you'd need to do it again the next time you want to run the program.

Another way to do a one-time run of a program as administrator is to right-click the program and select Run as Administrator from the resulting Context menu. This approach works only if you right-click on a program file or on a shortcut to a program file. It won't work if you right-click on a data file opened by a program. For instance, it can work if you right-click on the Excel program, but not if you right-click on an Excel workbook file.

If, instead of having to select Run as Administrator each time you invoke it, you would rather configure the program to run as administrator as the default, you can do this via Compatibility Mode. Right-click the program and select Properties from the resulting Context menu. Windows displays the Properties dialog box; make sure Compatibility tab is displayed. (See Figure 1.)

Figure 1. Establishing Run As Administrator as the default.

Click the bottom checkbox to always have the program run as administrator, and click OK to have it take effect. The next time you run the program (and every time thereafter) it will be run using administrator privileges.

 This tip (12245) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Using the FOR Statement

In another tip we were introduced to the various FOR loops that exist in Windows. The actual use of these loops was left ...

Discover More

Using Powercfg to Query an Existing Power Scheme

This tip shows you how to use the command-line Powercfg utility to query a given power scheme from your current environment.

Discover More

Introduction to PowerShell

PowerShell is found on all modern Windows computers. You might think of it as the next step up from the command line .bat ...

Discover More
More WindowsTips

Signs Your Computer has a Virus

Think your system might be infected with a virus? How would you know if it was? Here are some quick indicators that your ...

Discover More

Understanding Notifications in the Windows 10 Action Center

The Action Center is essentially the old Notification Area. This tip helps you understand it.

Discover More

Selecting a Window

When you get a lot of windows open on your screen, it can sometimes be difficult to locate the one with which you need to ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips