Developing Applications that Require Administrator Privilege
It is possible to develop an application that performs operations that require administrator privilege yet runs as a standard user.
There are several models for accomplishing this.
Topic | Description |
---|---|
Elevated Task Model | An application running as a standard user performs operations that require administrator privilege by starting a scheduled task. |
Operating System Service Model | An application running as a standard user communicates with a service running as SYSTEM by using Remote Procedure Call (RPC). |
Administrator Broker Model | The application is divided into two programs. One of the programs runs as a standard user, and the other runs with administrator privilege. |
Administrator COM Object Model | An application running as a standard user performs operations that require administrator privilege by creating an elevated Component Object Model object. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for