<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


HOW TO make a program always "Run as Administrator"

Some programs need elevated privileges to perform specific tasks and this can be enabled by making that program "Run as Administrator". I liked this answer which explains why you need to run commands as an administrator even if your account is a member of the Administrator group.

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.

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. 

To avoid the User Account Control (UAC) warnings, you can disable UAC but it is not recommended. Like in Unix, Linux & Mac, there is a difference between being an administrator and being a "root" user and this is enforced through User Account Control in Windows Vista and above.

Labels: ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment