EnableUAC is a lightweight script written in PowerShell that restores and enables User Account Control (UAC) on Windows.
This repository contains the full open-source PowerShell code, which has also been compiled into a standalone EXE for easier usage.
Ideal if UAC has been disabled, corrupted, or misconfigured.
- Must be run as Administrator.
- Restores UAC to its default configuration.
- By default, sets UAC to Option 4 — Always Notify, the highest security level.
- Prompts the user to restart the PC after enabling UAC.
- Windows 10 😉
- Windows 11 🪟
- Windows 10 or 11
- Administrator rights
- PowerShell 5.1+