Computer
Business
Services
Driving your IT costs down

Run as Admin without Prompt Every Time

In Windows 7 (and I believe Vista) if a program needs to be run as though the administrator was logged in, you are prompted every time whether you wish to continue or not.  You cannot disable this feature but there is a work around.

It involves creating a scheduled task to run the application with the highest privileges then creating a shortcut to run the task

Create the Scheduled Task Item

Open up Task Scheduler through the start menu search box ( just type task and select ‘Task Scheduler’), and then, when Task Scheduler is open, click the “Create Task” link on the right hand menu.

Task SchedulerThe first thing you need to do is give the task a short, simple name, preferably without any spaces in it. Then check the box for “Run with highest privileges” (very important)

Now switch to the Actions tab, click the New button, and then browse down to the application that you are trying to start.

Close out of the dialogs by clicking the OK button, which should create the new task in the list. You can right-click on it and choose “Run” at this point, simply to make sure that it launches the application the way you were expecting.

Create the Shortcut to Start the Task

We need to add a command that will run the scheduled task, passing in the name of the task that we used. Right-click an empty spot on your Desktop and select New > Shortcut. In the Create Shortcut window enter the following text: C:\Windows\System32\schtasks.exe /run /tn “TaskName” Where “TaskName” is the name of the task you chose above. Note: Include the quotation marks around the TaskName or it will fail to run the task. Click Next and then enter a name for the shortcut. When done, click Finish.

Whenever you want to run the specified program, simply double-click on the shortcut you’ve created without requiring prompts or complete Administrator access.

You can also further customize the shortcut with an icon or other settings if you wish.  To change the icon check the properties of the shortcut created by the program (the one which prompts you to proceed as administrator). Click ‘Change Icon’ to establish the location of the icon file (usually the program itself) and copy this to the the properties of the new shortcut.