Author Topic: Configure Applications to Always Run as an Administrator  (Read 4035 times)

0 Members and 1 Guest are viewing this topic.

Configure Applications to Always Run as an Administrator
« on: June 16, 2010, 05:53:20 PM »

Offline Nick

  • Administrator
  • Platinum Member
  • *
  • Posts: 46028
  • Karma: +1000/-0
  • Gender: Male
  • NickCS
    • http://www.facebook.com/nickcomputerservices
    • http://www.twitter.com/nickcomputer
    • Computer Chiangmai

Configure Applications to Always Run as an Administrator

Tired of right-clicking on applications to run as administrator. Windows 7 also allows you to mark an application so that it always runs with administrator privileges. Here’s how.

Windows 7 also allows you to mark an application so that it always runs with administrator privileges. This is useful for resolving compatibility issues with legacy applications that require administrator privileges. For instance, say you have an application written for Windows XP that requires administrator privileges. Because this program is configured to use standard mode by default under Windows 7, the program isn’t running properly and is generating numerous errors. As a temporary solution, you can mark the application to always run as an administrator. This is also handy if, say, you have a UAC-compliant application that normally runs in standard mode but that you use to perform administration tasks.


To mark an application to always run as an administrator, do the following:

1. On the Start menu, locate the program that you want to always run as an administrator.
2. Right-click the application’s shortcut, and then click Properties.
3. In the Properties dialog box, click the Compatibility tab.
4. Do one of the following:

-To apply the setting to the currently logged-on user, select the Run This Program As An Administrator check box, and then click OK.
-To apply the setting to all users on the computer and regardless of which shortcut is used to start the application, click Change Setting For All Users to display the Properties dialog box for the application’s .exe file, select the Run This Program As An Administrator check box, and then click OK twice.


The application will now always run using an administrator access token. Keep in mind that if you are using a standard account and prompting is disabled, the application will fail to run.

NOTE that you cannot mark system applications or processes to always run with administrator privileges. Only non-system applications and processes can be marked to always run at this level. And if the Run This Program As An Administrator option is not available, it means the application is blocked from always running at an elevated level, the application does not require administrator credentials to run, or you are not logged on as an administrator.

For the sample given above—an application written for Windows XP that requires administrator privileges—you could also resolve the compatibility problem using the Windows Application Compatibility Toolkit (ACT) version 5.5 or later to create an application compatibility shim. ACT is a solution for administrators that requires no reprogramming of an application and can help you resolve common compatibility problems. For example, you can create a shim that responds to an application inquiry about the operating system or user level with a True statement, which allows the application to run. ACT also can help you create more in-depth solutions for applications that try to write to protected areas of the operating system or use elevated privileges when they don’t need to. You can download the latest version of ACT from the Microsoft Download Center.

From the Microsoft Press book Windows 7 Administrator’s Pocket Consultant by William R. Stanek.

credit: technet.microsoft.com



 
Share this topic...
In a forum
(BBCode)
In a site/blog
(HTML)


Related Topics

  Subject / Started by Replies Last post
0 Replies
2002 Views
Last post June 12, 2009, 01:11:41 AM
by Nick
0 Replies
2465 Views
Last post June 01, 2010, 11:42:54 PM
by mikojung34
0 Replies
2103 Views
Last post June 11, 2010, 07:00:27 PM
by Nick
0 Replies
2677 Views
Last post June 16, 2010, 05:51:22 PM
by Nick
0 Replies
1882 Views
Last post July 02, 2010, 06:29:15 AM
by Nick
0 Replies
3519 Views
Last post December 02, 2010, 12:58:24 AM
by Nick
0 Replies
1693 Views
Last post January 12, 2012, 03:57:56 PM
by Nick
0 Replies
2301 Views
Last post April 04, 2013, 04:25:33 PM
by Nick
0 Replies
2003 Views
Last post December 17, 2014, 01:40:28 PM
by Nick
0 Replies
1646 Views
Last post March 05, 2017, 10:42:25 AM
by Nick