Admin Locks, Tamper Protection, Group Policy & Registry Restoration • 4 min read ✓ Verified November 2026

How do I fix Windows Security asking for UAC Administrator permission but the "Yes" button is missing/grayed out?

Thomas Bennett
Written & Audited by Microsoft Windows Security & Defender Architect • AnswerDesk Vetted Expert • Updated
⚡ Quick Expert Answer • Admin Locks, Tamper Protection, Group Policy & Registry Restoration

A grayed-out UAC "Yes" button means your Windows login was demoted to a Standard User account with no active Administrator account accessible. Boot into WinRE > Advanced options > Command Prompt or Safe Mode to re-enable the built-in Administrator account (net user administrator /active:yes), log in as Admin, promote your primary user back to Administrators group, and disable the built-in Admin account afterward.

Before You Start: Quick Pre-Check

  • Verify whether a third-party antivirus (Norton, McAfee, Avast, Bitdefender, etc.) is installed, because Windows automatically puts Microsoft Defender into passive/off mode when another AV registers.
  • Open PowerShell or Command Prompt using "Run as Administrator" before executing Defender service or MpCmdRun commands.
  • Check Windows Settings > Accounts > Access work or school to verify whether a school/company Intune or Group Policy profile is managing security settings.

Why This Issue Happens

A grayed-out UAC "Yes" button means your Windows login was demoted to a Standard User account with no active Administrator account accessible.

This issue falls under Admin Locks, Tamper Protection, Group Policy & Registry Restoration (Windows Defender & Security). Confirming the exact trigger before making changes prevents unnecessary resets and helps preserve your data and account standing.

Step-by-Step Resolution Protocol

Step 1
Primary Resolution Step

Boot into WinRE >.

net user administrator /active:yes
Step 2
Action Step 2

Advanced options >.

Step 3
Action Step 3

Command Prompt or Safe Mode to re-enable the built-in Administrator account (net user administrator /active:yes), log in as Admin, promote your primary user back to Administrators group.

Step 4
Secondary Recovery & Fallback

Disable the built-in Admin account afterward.

How to Verify the Fix Worked

  1. Open PowerShell as Administrator and run Get-MpComputerStatus to verify AMServiceEnabled, AntivirusEnabled, RealTimeProtectionEnabled, and BehaviorMonitorEnabled all return True.
  2. Open Windows Security (windowsdefender:) and confirm Virus & Threat Protection, Firewall & Network Protection, and Device Security all show green checkmarks with current definition dates.
  3. Run a Quick Scan or verify Protection History to confirm the prior error code or repeated alert has cleared.

What if the issue still persists? If WinDefend or SecurityHealthService still fails to start with error 577, 0x80070422, or blank UI screens after removing legacy AV drivers and running DISM/SFC, perform an in-place Windows 11/10 Repair Upgrade (keeping all files and apps) to restore signed Defender binaries.

⚠️ Expert Safety & Verification Advisory: Never permanently disable Real-Time Protection, Tamper Protection, or exclude the entire C:\ drive to silence alerts—doing so leaves your PC exposed to ransomware and infostealers. Verify your BitLocker Recovery Key is backed up before changing TPM or Core Isolation settings.

Frequently Asked Questions

Will fixing "Windows Security asking for UAC Administrator permission but the "Yes" button is…" delete my personal files, data, or account history?

Resetting Windows Security, updating Defender signatures, running Microsoft Defender Offline Scan, or re-enabling WinDefend/MpsSvc services will not delete your personal files. Legitimate files flagged as false positives can be restored safely from Protection History.

How long does it normally take to resolve this Windows Defender & Security issue?

Service restarts, signature updates, and PowerShell resets take 2–5 minutes. A Microsoft Defender Offline Scan takes 10–15 minutes during reboot, while a full disk scan takes 30–90 minutes depending on drive size.

What should I do if the problem returns after following these steps?

If WinDefend or SecurityHealthService still fails to start with error 577, 0x80070422, or blank UI screens after removing legacy AV drivers and running DISM/SFC, perform an in-place Windows 11/10 Repair Upgrade (keeping all files and apps) to restore signed Defender binaries. You can also connect directly with a certified Windows Defender & Security expert 24/7 on AnswerDesk for guided 1-on-1 troubleshooting.

Did this diagnostic guide solve your issue?

Let us know if your issue is resolved, or get connected to an active Windows Defender expert in seconds.

Thank you for your feedback! We're glad this resolved your issue.