In Windows 11, the User Account Control (UAC) system is responsible for preventing unauthorized software from making catastrophic changes to your computer. By default, when a program requests administrative privileges (like installing a new driver or modifying the registry), Windows invokes a feature called the “Secure Desktop.” It instantly dims your entire screen, suspends all background applications, and forces you to interact exclusively with the UAC Yes/No prompt.
While this is an incredibly robust security measure against advanced malware (preventing malicious scripts from programmatically clicking “Yes” on your behalf), the Secure Desktop dimming effect is often infuriating for developers and power users. If you have a highly customized multi-monitor setup, the sudden forced dimming of all your screens can cause your graphics driver to stutter, momentarily freeze your mouse cursor, and completely break your focus during rapid software deployment. If you want to retain the security of UAC prompts but want them to appear as standard, non-blocking window dialogues without plunging your desktop into darkness, you must completely disable the Secure Desktop feature.
Disabling Secure Desktop via the Local Security Policy
The safest and most reliable way to modify the behaviour of the UAC prompt without disabling it entirely is through the Local Security Policy editor (available in Windows 11 Pro and Enterprise).
- Press the Windows Key + R to open the Run dialogue box.
- Type
secpol.mscand press Enter. (Click “Yes” on the UAC prompt to open the editor). - In the left-hand navigation pane, expand Local Policies and click on Security Options.
- In the right-hand panel, scroll down to the very bottom of the alphabetical list.
- Locate the policy named exactly: User Account Control: Switch to the secure desktop when prompting for elevation.
- Double-click this policy to open its properties.
- Change the radio button from “Enabled” to Disabled.
- Click Apply, then click OK.
The change takes effect immediately; no reboot is required. The next time you run a program as an administrator, the UAC prompt will still appear, asking for your permission. However, it will appear as a normal, floating dialogue box. Your screen will not dim, your other applications will continue running in the background, and your multi-monitor workflow will remain completely uninterrupted.