Smallvoid.com
  • Home
  • About
  • Articles
  • Links
  • Forum

Run programs elevated without UAC prompt

October 2, 2008 by Snakefoot | 0 Comment

Windows Vista User Account Protection has proven itself as being very effective against malware and their likes.

When having User Account Control (UAC) enabled, then all programs that requires elevated access will cause a UAC prompt for consent. The UAC prompt for confirmation can be an annoyance if having a special program that one often uses.

It is possible to avoid the UAC popup dialog if running the program as a Scheduled Task with Administrator privileges. The following steps will create a scheduled task that launches a program, so it automatically gets elevated rights:
  1. Open the Task Scheduler from Administrative Tools in the Control Panel.
  2. Choose to Create New Task... in the Task Scheduler Library (Not a basic task).
    • On the first fan General give the task a Name and enable the check-box Run with highest privileges.
    • On the third fan Actions add a New... action that starts the program.
    • If wanting the program to be started when a certain event is triggered, then one can create a new trigger on the second fan Triggers (At Startup, At Logon, etc.).
  3. Press OK button when done.
When having created a scheduled task, then one can activate the scheduled task using the schtasks.exe utility:

SCHTASKS.EXE /RUN /TN "Name of Task"

Because schtasks.exe is a console utility, then the command prompt window will do a quick flash. This can be solved by creating a shortcut-link to the command-line, and specify on the shortcut-link that it should run minimized.

Credits HowToGeek.com
Tags:
  • scheduled-task, user-account-control
Category:
  • User Security

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Related Posts

  • Configure User Account Protection
  • Disable the MSDOS and Win16 subsystem
  • Make sidebar and gadgets work with UAC disabled
  • Configure the login and Welcome Screen in Vista
  • Defrag command line switches

Recent Posts

  • Disable IPv6 imaginary tunnel network interfaces
  • Encrypted backup to OneDrive or DropBox
  • Description of soft and hard page faults
  • Windows 10 Upgrade with black screen
  • Wordpress 4.2 Upgrade

Meta

  • Log in
  • Entries feed
  • Comments feed