Windows 7/8.1/10 UAC Recreation
This mod recreates the Windows 7, 8.1 and 10 UAC prompts on Windows 10/11 without changing UAC behavior or disabling the secure desktop
Author: babamohammed
This mod recreates the classic Windows 7 and 8.1 UAC interface, and the Windows 10 prompt that came
after it, on Windows 10 and 11. It changes only the presentation: Windows retains control of consent,
authentication, and the secure desktop.
Features
- Five themes: Windows 7 Basic, custom Aero, Windows 8.1, Windows 10 (1507–1607), and the modern Windows 10 prompt (1709 and later).
- The prompt is a dialog and behaves like one: its title bar menu offers Move and Close only, so a UAC prompt can be neither minimised, maximised nor resized.
- It restores the native prompt if the recreation fails; never makes an elevation decision.
- It leaves system files and settings untouched, and never answers a prompt on its own. The
credential prompt and the prompts of apps the list excludes are never replaced; the one thing that
does apply to them is the background, see The background behind the prompt.
- It matches the banner and shield to Windows' publisher verdict.
- Optional Classic Theme colours for the four classic skins:
ButtonFace as the background, WindowText as the text, read from the system through GetSysColor and refreshed on WM_SYSCOLORCHANGE.
- It shows the requesting program's icon and native prompt details when available.
- Optional Windows 7 background: the dimmed screenshot of the whole screen behind the prompt, instead of the
wallpaper that Windows 8 and later leave there.
Prompt languages
Button recognition uses a list of localized Yes/No labels. The list includes labels used in
English, Italian, German, French, Spanish, Portuguese, Dutch, Polish, Czech, Hungarian, Bulgarian,
Russian, Norwegian, Danish, Swedish, Icelandic, Latvian, Japanese, Korean, Chinese, Turkish, Arabic,
Persian and Hindi. This is not a guarantee for every Windows version or prompt wording: replacement
depends on the actual labels and a reliable match, not just the display language. If the buttons
cannot be recognized confidently, the mod returns to the native prompt instead. Other languages or
unlisted wordings generally keep the native prompt. The background setting may still apply.
Emergency shortcut
Press Ctrl+Shift+F10 to close the recreated dialog and return to the native prompt without approving or denying the request.
Themes
Windows 7 (Basic)

Windows 7 Aero

Windows 8.1

Windows 10 (1507–1607)

Windows 10 (1709 and later, modern prompt)

The background behind the prompt
The background behind the prompt setting chooses what the secure desktop shows behind the
recreated dialog:
- Dimmed screenshot of the whole screen (Windows 7, the default): when the prompt appears, the
screen as it was is photographed, and the picture is drawn behind the dialog with the windows, the
taskbar and the Start menu still in place, Windows' own dim over it, exactly the way the Windows 7,
8.1 and 10 (1507-1607) prompts looked.
- Only the wallpaper (Windows 8 and later): what Windows shows by itself.
The picture is taken before the switch to the secure desktop: it is a still image, so nothing behind
the prompt moves, and the secure desktop stays enabled either way. The mod replaces the one
full-screen draw with which Windows composes that background into a memory bitmap, and it does so
once per prompt; a Windows build that composes the background some other way keeps its own wallpaper
instead of showing a stale picture.
The picture is drawn for every prompt that process shows. A credential prompt, and a prompt for an app
the app list excludes, keep Windows' own dialog and flow untouched - the mod does not replace those -
but the background behind them is the screenshot as well, because Windows composes that background
before anything here knows which kind of prompt it is. In the modes that leave the Windows prompt
alone by design (Replace the UAC prompt off, Write a diagnostics dump on, How the prompt is
found set to hook only) nothing is photographed and no drawing function of the UAC process is
hooked, which is what those modes promise and what makes them usable to diagnose a failed elevation.
The setting does not touch the prompt, the elevation decision or the secure desktop, and choosing
Only the wallpaper is enough to get Windows' background back.
Extra dim over the screenshot adds more black over the picture, from 0 to 200; leave it at 0 to
keep the dim Windows draws.
Installation
Windhawk excludes consent.exe by default. To enable the mod:
- Open Settings → Advanced settings → More advanced settings.
- Add
consent.exe to the Process inclusion list.
- Install and enable the mod.
Without this change, the mod has no effect.
Settings
| Setting |
Description |
| Dialog skin |
Choose one of the five themes. |
| The background behind the prompt |
Show the dimmed screenshot of the whole screen behind the prompt, as Windows 7 did, or only the wallpaper, as Windows 8 and later do. |
| Extra dim over the screenshot |
More black over the screenshot (0-200); leave it at 0 to keep the dim Windows draws. |
| Use the system Classic Theme colours (classic skins) |
Paint the four classic skins with ButtonFace as the background and WindowText as the text, read from the system, so the prompt follows the Classic theme or any other scheme. Never applies to the modern Windows 10 skin. |
| Replace the UAC prompt |
Replace the prompt or observe it and log events. |
| Which apps get the Classic UAC prompt |
Apply to all apps, only listed apps, or all except listed apps. |
| App list |
Semicolon-separated application names for the filter above. |
| Button style |
Use the system button or the mod's Aero-style button. |
| Which shield is shown |
Choose automatic, verified, question, or exclamation. |
| Banner colour |
Choose automatic, blue, yellow, or red; manual choices can only make the prompt more cautious. |
| The Windows prompt, while the Windows 7 one is on screen |
Move the native prompt off-screen or hide it. |
| Read the elevation request |
Read request details to show the app icon and "File origin". |
| How long to wait for the prompt |
Wait time, in milliseconds, before leaving the native prompt unchanged. |
| Watchdog |
Close the recreated dialog after this many seconds without a response. |
| Panic hotkey |
Shortcut to restore the native prompt; default: Ctrl+Shift+F10. |
| Extra Yes/No key |
Optional Alt+letter shortcut forwarded to the original prompt. |
| Debug log |
Record mod activity. |
| Write a diagnostics dump |
Write diagnostics; the mod runs in observation mode. |
| Write the raw elevation request to the log |
Log the raw request, which may include file and user names. |
| How the prompt is found |
Choose desktop watchers (recommended), polling, or hook only. |
Behavior and limitations
- The banner follows the native publisher row. The shield follows the selected theme and Windows' verdict; the mod never upgrades an unknown or unverified publisher to verified.
- Publisher checks use the file's Authenticode signature or its Windows catalog when applicable. The native verdict is not overridden.
- Regedit is shown by its localized name only after Windows confirms the system file's signature.
- Details that cannot be read from the native prompt are omitted, not guessed.
- A XAML candidate without a Win32 edit control may be moved off-screen briefly during UI Automation classification.
- The Windows 10 (1709 and later) skin draws the title row of its reference inside the header: that skin alone has no system caption, and its close glyph means No, exactly like the X of the Windows prompt.
- In that skin the three states wear the header colours of its reference: blue
#7ABAEC, yellow #FDD266, red #E60026, with black text on each of them.
- The four classic skins ask for the UI font of Windows 7, 8.1 and Windows 10 (1507–1607) by name: Segoe UI at 9 pt, with the banner question at 12 pt in the regular weight and only the publisher value in bold, as the reference shows. Where the system's message font names a localized UI face those Windows used instead (for example Yu Gothic UI, Malgun Gothic or Microsoft YaHei UI), the classic skins keep that face, and a system without Segoe UI keeps its message font. The Windows 10 (1709 and later) skin is unchanged: it asks for Segoe UI by name through GDI+ (with Selawik and Arial as stand-ins) at its own sizes and weights.
- In that skin the black frame of Windows 10 is drawn around the button that has the keyboard focus, so the framed button is always the one Narrator announces and the one Enter and Space press. The prompt opens with that focus on No; the arrow keys move it between Yes and No, Tab and Shift+Tab walk it through Yes, No and "Show details", and Enter and Space press whichever of the three has it (the link toggles the details pane, which decides nothing).
- The prompt offers Move and Close in its title bar menu: Size, Minimize, Maximize and Restore are removed from the system menu and refused as commands, so a UAC prompt can be neither resized nor minimised.
- That skin is drawn with GDI+, which it needs: where GDI+ cannot start, the mod leaves the native prompt in place rather than drawing half a dialog.
- Every other skin keeps the caption, the frame and the shield behaviour it always had. Selecting a skin changes the dialog, not the flow: the secure desktop, the native prompt and every elevation decision are untouched.
- The background behind the prompt is a still picture of the screen as it was when the prompt process started: it cannot show live windows, and a display change while the prompt is up is not reflected in it.
- Logs and diagnostic files can contain prompt text, command lines, file names, and user names. Enable them only when needed.
Tested systems
The modification has been tested on the following systems:
- Windows 10 21H2
- Windows 11 24H2
- Windows 11 25H2
Credits
- AdministratoX — Windows 11 24H2/25H2 testing
- Microsoft — Documentation
- m417z — Technical reference and review
Reporting issues
If there are anomalies, please report them to the author. It is recommended to include the debug log and, if needed, the diagnostic file.