Helpful Tip: Disable UAC for a Program in Vista

This article was written on May 23, 2008 by CyberNet.

disable uac vista.pngI’ve read about how a lot of people have chosen to disable User Account Control (UAC) in Vista because of the headaches that can result from it. That’s mostly because of applications that have not yet been programmed to run in a general user mode, and they are still accustomed to running as a privileged user just as they did in XP.

If you’ve chosen to leave UAC enabled then there are a few different ways you can selectively bypass the UAC prompt without disabling it all together. One way is to take ownership of files, but there is also another rather clever method that takes advantage of the Task Scheduler. Here’s some background as to how it works:

Few days ago I tried to run some scheduled task that required admin privileges. After some investigation I found out that you can specify that scheduled task can run using highest privileges.

These scheduled tasks don’t prompt you with UAC. First idea that came to my mind was – OK, so if scheduled task runs on demand, then it should in fact disable UAC for specific program? I tried it and it worked… So for some time I was using on demand scheduled tasks – for example instead of running MMC I run Schtasks /Run /TN “Elevated\MMC”.

The end result is a context menu entry that shows up whenever you right-click on a file or shortcut (as pictured above). It’s labeled “Elevate me,” and works exactly as advertised. When you select that option from the menu the program runs as an administrator without a single UAC prompt.

To confirm this I ran the command line and tried to release my IP address. When running the command line normally it wouldn’t let me make the change, but using the “Elevate me” option made it possible to release my IP. And I never had a UAC prompt asking if I wanted to confirm the action.

You can also turn this into a shortcut so that you won’t even have to right-click on a file to elevate it, but you really only have to do that if a particular program always needs to run as an administrator.

Download Elevator [via Lifehacker]

Copyright © 2011 CyberNet | CyberNet Forum | Learn Firefox

Related Posts:


No Responses to “Helpful Tip: Disable UAC for a Program in Vista”

Post a Comment