SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

User Account Control

User Account Control (UAC) is a Windows security feature that limits the ability of malicious code to run with administrator privileges. Microsoft documents it as reducing malware risk by requiring consent before an application receives the administrator access token 1.

When an administrator signs in, Windows creates two access tokens. The standard user token has the administrative privileges and SIDs removed. It is used to start non-administrative applications and to run explorer.exe, so every process started from the desktop inherits it. Applications therefore run as a standard user unless the user approves elevation 1.

When a task needs the administrator token, Windows shows an elevation prompt. In Admin Approval Mode it is a consent prompt. Standard users get a credential prompt that asks for administrator credentials. Prompt behavior can be configured through policy or the registry. Prompts are colour-coded by publisher status, and by default they appear on the secure desktop, which only Windows processes can access 1.

Microsoft recommends running with a standard user account as the primary account. It notes that a fake prompt could capture credentials when the policy is set to prompt for credentials. A fake prompt that requests consent does not gain elevation 1. The page was last updated in 2026.

Source · How User Account Control works (opens in a new tab) · Microsoft Learn

References

  1. How User Account Control works (opens in a new tab) · Microsoft Learn ↩ ↩ ↩ ↩

Research articles

In the news

See what connects to it on the map of ideas →

See also