What Is User Account Control (UAC) in Windows?
User Account Control (UAC) is a Windows security feature that asks for confirmation when a program tries to make system-level changes. These changes may include installing software, editing protected system folders, changing security settings, modifying the Registry, installing drivers, or running tools with administrator privileges.
UAC is designed to prevent silent elevation. Even if your account is an administrator account, Windows usually runs normal programs with standard user permissions until an elevated action is approved. When elevation is required, Windows shows a UAC prompt such as Do you want to allow this app to make changes to your device?.
When UAC Usually Appears
- When you install or uninstall desktop programs.
- When a program writes to protected folders such as
C:\WindowsorC:\Program Files. - When you open administrative tools such as
regedit.exe,services.msc, or an elevated Command Prompt. - When a setup file, driver installer, system utility, or script requests administrator privileges.
- When a standard user account needs an administrator password to continue.
Protects System Areas
UAC helps block unapproved changes to protected Windows folders, system settings, drivers, and security components.
Separates Normal and Elevated Work
Administrator accounts can still run everyday apps without full administrator rights until elevation is required.
Warns Before High-Risk Changes
The prompt gives you a chance to stop an unknown installer, script, or tool before it changes the system.
UAC Notification Levels in Windows 10 and Windows 11 Explained
Windows provides a slider in User Account Control Settings. The slider does not offer only a simple on/off switch. It controls how often Windows notifies you and whether the prompt appears on the secure desktop.
| UAC Level | What It Does | Best Use | Security Impact |
|---|---|---|---|
| Always notify | Shows a prompt when apps try to make changes and when you change Windows settings. | High-security PCs, shared computers, test systems, and malware cleanup scenarios. | Highest |
| Notify only when apps try to make changes | Shows prompts for app elevation but usually not for your own Windows setting changes. | Recommended default setting for most home and office users. | Recommended |
| Notify only when apps try to make changes, without dimming the desktop | Shows prompts, but does not switch to the secure desktop. | Systems where secure desktop prompts cause display, remote access, or accessibility issues. | Reduced |
| Never notify | Suppresses most UAC notifications for administrator accounts. | Temporary troubleshooting only, not everyday use. | Weakest |
EnableLUA Registry value or the equivalent security policy and requires a restart.
Recommended UAC Settings for Windows Security
For most users, the best option is the default level: Notify me only when apps try to make changes to my computer. It keeps daily Windows use convenient while still showing warnings before applications elevate to administrator level.
✓ Keep UAC Enabled When
- You use the PC for banking, work, or personal data.
- Other people also use the same Windows account or computer.
- You frequently download software, drivers, archives, or scripts.
- You do not fully trust every program installed on the system.
- The device is connected to a company, school, or managed network.
✗ Disable UAC Only When
- You are testing a trusted legacy application that fails with UAC enabled.
- You are diagnosing installer or permission problems on a controlled PC.
- You understand the risk and plan to restore UAC afterward.
- The computer is offline, isolated, or used only for a specific test task.
- You have a full backup or restore point before changing security policy.
How to Change UAC Settings from Control Panel
The easiest way to configure UAC is to open the built-in User Account Control Settings window. This method works in both Windows 10 and Windows 11.
Method 1: Open UAC Settings from Search
- Open the Start menu.
- Type User Account Control.
- Click Change User Account Control settings.
- Move the slider to the notification level you want.
- Click OK.
- Confirm the UAC prompt if Windows asks for permission.
Method 2: Open UAC Settings with the Run Dialog
This is the fastest method if you know the command name.
- Press Win + R.
- Type the following command and press Enter:
Run command
UserAccountControlSettings.exe - Move the slider to the preferred level.
- Click OK and approve the change.
Method 3: Open UAC Settings from Control Panel
- Open Control Panel.
- Go to User Accounts.
- Click User Accounts again if needed.
- Select Change User Account Control settings.
- Choose the notification level and click OK.
How to Disable UAC Prompts in Windows Using the Slider
To disable most UAC notifications from the graphical interface, move the slider to Never notify. This is the common method users mean when they say they want to turn off UAC prompts.
- Press Win + R.
- Type
UserAccountControlSettings.exeand press Enter. - Drag the slider down to Never notify.
- Click OK.
- Approve the final prompt.
- Restart the computer if a specific app or policy still behaves as if the old setting is active.
How to Turn UAC Back On
- Open
UserAccountControlSettings.exeagain. - Move the slider back to the default level: Notify me only when apps try to make changes to my computer.
- Click OK.
- Restart Windows if you previously changed Registry or policy settings.
How to Disable or Restore UAC Using Registry Editor
Advanced users can configure UAC through the Registry. This is useful when the graphical slider is not enough, when you need to check exact values, or when you are repairing a system where UAC settings were changed by a tweak tool.
Registry Path for UAC Settings
Registry pathHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
| Registry Value | Purpose | Common Value |
|---|---|---|
EnableLUA |
Controls whether UAC and Admin Approval Mode are enabled. | 1 enabled, 0 disabled |
ConsentPromptBehaviorAdmin |
Controls how administrator accounts are prompted for elevation. | 5 is a common default; 0 elevates without prompting |
PromptOnSecureDesktop |
Controls whether UAC prompts appear on the secure desktop. | 1 secure desktop on, 0 off |
Disable UAC Completely with Registry Editor
- Press Win + R, type
regedit, and press Enter. - Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System. - Double-click
EnableLUA. - Set the value data to
0. - Click OK.
- Restart Windows.
EnableLUA to 0 is stronger than simply choosing Never notify. Use it only for troubleshooting, controlled testing, or legacy compatibility work.
Restore Recommended UAC Registry Values
To restore typical UAC behavior, set EnableLUA back to 1. You can also restore administrator prompt behavior and the secure desktop setting.
Recommended valuesEnableLUA = 1
ConsentPromptBehaviorAdmin = 5
PromptOnSecureDesktop = 1
How to Configure UAC with Command Prompt or PowerShell
Command-line methods are useful for administrators, scripts, repair work, and remote support. Run these commands from an elevated terminal.
Check Current UAC Registry Values
Command Promptreg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorAdmin
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v PromptOnSecureDesktop
PowerShellGet-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" |
Select-Object EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop
Disable UAC Completely from Command Prompt
This command sets EnableLUA to 0. Restart Windows after running it.
Elevated Command Promptreg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
Restore Recommended UAC Settings from Command Prompt
Elevated Command Promptreg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 5 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v PromptOnSecureDesktop /t REG_DWORD /d 1 /f
Restart Windows After a Full UAC Change
Restart commandshutdown /r /t 0
ConsentPromptBehaviorAdmin or PromptOnSecureDesktop, a restart is often not as critical as when changing EnableLUA. For clean testing, restart anyway.
How to Configure UAC with Local Security Policy or Group Policy
Windows Pro, Enterprise, and Education editions include policy tools that expose UAC settings in a more descriptive way. Windows Home usually does not include the full Local Security Policy or Group Policy editor.
Open Local Security Policy
- Press Win + R.
- Type
secpol.mscand press Enter. - Go to Local Policies → Security Options.
- Scroll to the policies that begin with User Account Control.
Important UAC Policy Settings
| Policy | What It Controls | Recommended State |
|---|---|---|
| User Account Control: Run all administrators in Admin Approval Mode | Enables or disables the core UAC behavior for administrator accounts. | Enabled |
| User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode | Controls whether administrators see consent prompts, credential prompts, or no prompts. | Prompt for consent for non-Windows binaries |
| User Account Control: Switch to the secure desktop when prompting for elevation | Controls whether the desktop is dimmed and isolated during prompts. | Enabled |
| User Account Control: Detect application installations and prompt for elevation | Controls installer detection and elevation prompts. | Enabled |
Use Group Policy Editor
On managed or professional Windows editions, you can also open gpedit.msc and use the same security options path.
Fix UAC Settings That Are Greyed Out, Locked, or Not Working
If UAC settings are unavailable, reset after reboot, or do not match the slider position, check account permissions, policies, Registry values, and management status.
Use an Administrator Account
Standard users can trigger UAC prompts but usually cannot change system-wide UAC policy without administrator credentials.
Account TypeLook for Local Policy
Open secpol.msc or gpedit.msc and check whether UAC policies are explicitly configured.
Inspect Registry Values
Confirm EnableLUA, ConsentPromptBehaviorAdmin, and PromptOnSecureDesktop under the UAC policy key.
Common Problems and Fixes
| Problem | Likely Cause | What to Do |
|---|---|---|
| UAC slider is greyed out | You are not using an administrator account, or policy controls the setting. | Sign in as an administrator and check secpol.msc, gpedit.msc, or the Registry policy key. |
| UAC turns back on after restart | Domain policy, MDM policy, security software, or system-hardening tool restores the setting. | Check work or school account management, domain policy, and installed security management software. |
| Apps still ask for administrator permission | The app requires elevation, the account is standard, or UAC was only reduced rather than fully disabled. | Run the app as administrator only if trusted, or check the exact EnableLUA value. |
| Modern apps or Windows features behave strangely | UAC was fully disabled using EnableLUA = 0. |
Restore EnableLUA = 1 and restart Windows. |
Restore a Safe Baseline
If you are unsure what was changed, restore the recommended Registry values, restart Windows, and then adjust the slider from the graphical UAC settings window.
Safe baselinereg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 5 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v PromptOnSecureDesktop /t REG_DWORD /d 1 /f
shutdown /r /t 0
FAQ: Configuring and Disabling UAC in Windows 10 and Windows 11
Q Should I disable UAC in Windows? ▼
Q Is Never notify the same as fully disabling UAC? ▼
EnableLUA to 0 or disabling Run all administrators in Admin Approval Mode, then restarting Windows.
Q Does disabling UAC make me a full administrator all the time? ▼
Q Why does Windows still show prompts after I changed the UAC slider? ▼
EnableLUA and the UAC policies in secpol.msc.
Q Can I disable UAC for only one program? ▼
Q Do I need to restart after changing UAC? ▼
EnableLUA or the equivalent security policy, restart Windows so the system loads the new security behavior correctly.
🧩 Summary & Key Takeaways
You can configure User Account Control in Windows 10 and Windows 11 from User Account Control Settings, Control Panel, Registry Editor, Command Prompt, PowerShell, Local Security Policy, or Group Policy. The safest everyday setting is usually the default level that notifies you when apps try to make changes.
If you disable UAC, treat it as a temporary troubleshooting step. After testing or installing trusted legacy software, restore EnableLUA = 1, use the recommended prompt behavior, and keep the secure desktop enabled for stronger protection.