aubymori
Sophomore Member
👅👅👅👅👅
Posts: 162
OS: Windows 10 IoT Enterprise LTSC 2021
Theme: Windows 10 Default
CPU: Intel Core i5-9300H
RAM: 8GB
GPU: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1650
|
Post by aubymori on Aug 3, 2023 17:09:30 GMT -8
Hi! Me and ephemeralViolette have been in ClassicServ tinkering with system files for the past few hours in an attempt to get the old, non-XAML/DirectUI UAC prompt back, and we did it! Files needed:
https://aubymori.github.io/#!/files/classic-uac (bbcode doesn't parse this correctly)
Once you've downloaded these files, run INSTALL.cmd as administrator and follow the steps on screen.
Cheers! Attachments:
|
|
|
Post by ephemeralViolette on Aug 3, 2023 17:13:41 GMT -8
If anyone has any idea why the black backgrounds are drawn, any help would be appreciated. This UAC UI uses DirectUI rather than GDI directly or anything else like WPF or XAML.
I will look into the DUI files of the dialog later and attempt to discover any potential cause.
|
|
aubymori
Sophomore Member
👅👅👅👅👅
Posts: 162
OS: Windows 10 IoT Enterprise LTSC 2021
Theme: Windows 10 Default
CPU: Intel Core i5-9300H
RAM: 8GB
GPU: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1650
|
Post by aubymori on Aug 3, 2023 17:49:46 GMT -8
Tested and confirmed that this in fact does NOT work on Windows 11.
See new update.
|
|
|
Post by ephemeralViolette on Aug 3, 2023 18:42:32 GMT -8
We got it working perfectly fine on 21H2 by modifying the DirectUI resource in authui.dll! Turns out it was using an invalid ID for transparent backgrounds with newer versions of Windows 10 or something, so it just ended up drawing black instead.
The link should be corrected in the original post to provide a version to this modified version.
|
|
aubymori
Sophomore Member
👅👅👅👅👅
Posts: 162
OS: Windows 10 IoT Enterprise LTSC 2021
Theme: Windows 10 Default
CPU: Intel Core i5-9300H
RAM: 8GB
GPU: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1650
|
Post by aubymori on Aug 3, 2023 18:46:33 GMT -8
Update: The issue's been fixed. The link now points to a new ZIP which contains the updated files. The ZIP also now contains authui7.dll.mui, which is modified to have Windows 7 strings (e.g. computer instead of PC)
|
|
|
Post by anixx on Aug 3, 2023 19:22:51 GMT -8
Still does not work on Windows 11?
|
|
|
Post by ephemeralViolette on Aug 3, 2023 19:28:02 GMT -8
It may work on Windows 11 if you additionally replace consent.exe with a Windows 10 version, but we haven't tested that.
|
|
|
Post by TechSalt on Aug 4, 2023 5:49:26 GMT -8
Does this also bring back the old authentication dialog (for example, SMB shares)?
|
|
emerald
Freshman Member
Posts: 49
OS: Windows 11 23H2, Windows 10 1809, Windows 8.1
CPU: Intel Core i5-8265U CPU
RAM: 8.00 GB
GPU: Nvidia GeForce MX250
Computer Make/Model: ASUS VivoBook S15 S531 X531FL
|
Post by emerald on Aug 4, 2023 6:24:55 GMT -8
Hi! Me and ephemeralViolette have been in ClassicServ tinkering with system files for the past few hours in an attempt to get the old, non-XAML/DirectUI UAC prompt back, and we did it!
Once you've downloaded these files, follow these steps:
1. Place the system files where they need to go; DLLs in System32, and MUIs in System32\en-US. (If your system locale is not en-US, download 1607 in your language and grab the MUI files from there instead, and of course put them in the proper locale folder instead of en-US.)
2. Import the registry file provided.
3. Make sure that HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\TestHooks\XamlCredUIAvailable is set to 0. This should already exist as a DWORD.
4. Restart, and you should get old UAC UI!
Note that this is slightly broken, as you will see black boxes in many places, even with classic theme. Screenshots of this phenomenon both themed and unthemed are shown below. (This is now fixed.)
Cheers! omg im so fucking happy rn i cant believe u guys actually did it
|
|
golddl
Freshman Member
Posts: 52
OS: Windows 10, Windows 7
Theme: Toxic (W10), Seven Milestone 2 Aero (Opaque Maximized Windows)(W7)
|
Post by golddl on Aug 4, 2023 6:27:32 GMT -8
Is there a way to make the window frames the basic style like in windows 7 / vista?
|
|
|
Post by ephemeralViolette on Aug 4, 2023 7:21:00 GMT -8
Does this also bring back the old authentication dialog (for example, SMB shares)? It should, but we only tested UAC specifically. From taking a peek at the disassembly again, it doesn't seem there are any CLSIDs pertaining to such a feature, so I assume they are controlled by the same one (CLSID_AuthUICredUI) as the UAC dialog. My guess has been that UAC uses a lot of the same code as other authentication dialogs anyway.
|
|
|
Post by ephemeralViolette on Aug 4, 2023 7:22:46 GMT -8
Is there a way to make the window frames the basic style like in windows 7 / vista? It should work if you run BasicThemer as NT AUTHORITY\SYSTEM (and on the Winsta0\Winlogon window station if you have it use the Secure Desktop).
|
|
Vas0sky
New Member
Posts: 4
OS: Windows 10 LTSC 2021
Theme: Windows 10
|
Post by Vas0sky on Aug 4, 2023 12:29:33 GMT -8
I tested this in a LTSC 2021 VM, and there is a decent delay between the moment the screen goes dark to the moment the UAC prompt comes up and blings at you. Is there a way to reduce this delay? It's my only gripe with it, it's otherwise perfect.
|
|
Souper
Freshman Member
Posts: 65
OS: Manjaro | Windows 10 (2021)
Theme: Placeholder | Aero / Luna
|
Post by Souper on Aug 4, 2023 16:37:46 GMT -8
Okay, so while the XAML side of things shows up fine (regarding the 1607 UAC Prompt), the non-XAML version straight up fails to appear on a non-LTSC release. Don't know what's different here..
Edit: Appears fine on Administrative accounts but not regular. This might be a fairly big tradeoff.
|
|
aubymori
Sophomore Member
👅👅👅👅👅
Posts: 162
OS: Windows 10 IoT Enterprise LTSC 2021
Theme: Windows 10 Default
CPU: Intel Core i5-9300H
RAM: 8GB
GPU: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1650
|
Post by aubymori on Aug 4, 2023 17:19:36 GMT -8
I tested this in a LTSC 2021 VM, and there is a decent delay between the moment the screen goes dark to the moment the UAC prompt comes up and blings at you. Is there a way to reduce this delay? It's my only gripe with it, it's otherwise perfect. Have absolutely no idea why this happens, sorry.
|
|
aubymori
Sophomore Member
👅👅👅👅👅
Posts: 162
OS: Windows 10 IoT Enterprise LTSC 2021
Theme: Windows 10 Default
CPU: Intel Core i5-9300H
RAM: 8GB
GPU: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1650
|
Post by aubymori on Aug 4, 2023 17:20:00 GMT -8
New update: Correct authui7.dll.mui strings ("app" -> "program")
|
|
Windows 10-7
Sophomore Member
Posts: 234
OS: Windows 11 22H2
Theme: Aero7 - WindowsBlinds 11
RAM: 16gbs
|
Post by Windows 10-7 on Aug 4, 2023 18:13:28 GMT -8
well Attachments:
|
|
aubymori
Sophomore Member
👅👅👅👅👅
Posts: 162
OS: Windows 10 IoT Enterprise LTSC 2021
Theme: Windows 10 Default
CPU: Intel Core i5-9300H
RAM: 8GB
GPU: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1650
|
Post by aubymori on Aug 4, 2023 18:33:49 GMT -8
Releasing a new version shortly.
|
|
emerald
Freshman Member
Posts: 49
OS: Windows 11 23H2, Windows 10 1809, Windows 8.1
CPU: Intel Core i5-8265U CPU
RAM: 8.00 GB
GPU: Nvidia GeForce MX250
Computer Make/Model: ASUS VivoBook S15 S531 X531FL
|
Post by emerald on Aug 4, 2023 18:42:50 GMT -8
Works amazingly! Huge props to you guys. Windows 10 22h2
|
|
aubymori
Sophomore Member
👅👅👅👅👅
Posts: 162
OS: Windows 10 IoT Enterprise LTSC 2021
Theme: Windows 10 Default
CPU: Intel Core i5-9300H
RAM: 8GB
GPU: Intel UHD Graphics 630 / NVIDIA GeForce GTX 1650
|
Post by aubymori on Aug 4, 2023 19:11:13 GMT -8
Update: Include 21332 consent.exe for Windows 11 and add README document
|
|