Elevated Task Model

In the elevated task model, an application running as a standard user performs operations that require administrator privilege by starting a scheduled task.

Windows Server 2003 and Windows XP: The elevated task model is not supported.

Tasks do not consume as many system resources as services, and tasks automatically close when finished. Consider using this model instead of the Operating System Service Model unless backward compatibility with earlier operating systems is necessary.

To use a task to perform privileged operations for a standard user application, the following conditions must be met:

  • The task must be set to run as SYSTEM.
  • The security descriptor associated with the task must be configured to allow standard users to start the task.
  • The task scheduler service must be running.

For information about how to create and start tasks, see Task Scheduler.

Developing Applications that Require Administrator Privilege

Administrator Broker Model

Administrator COM Object Model

Operating System Service Model