|
Post by wiktorwiktor12 on Jun 21, 2024 14:35:33 GMT -8
For the past month I have been cooking up a new project, and I am excited to say that it is ready for a public beta release today! Introducing Console Logon Hook, a UI Wrapper project for ConsoleLogon.dll, the fallback Console Logon UI for Windows 10. This project hooks into ConsoleLogon.dll and provides an UI for ConsoleLogon. It works by having a hook dll override ConsoleLogon.dll references in registry and calling back the exports ConsoleLogon.dll has. This then allows for hooks to listen in on and control behaviour for ConsoleLogon.dll. This is split into 2 dlls, the hook dll, and UI dll. The hook dll handles all the heavy lifting and provides an interface for someone to make a UI for ConsoleLogon. The UI dll handles all UI. This is done via exports and imports that should be language neutral. Currently, there are two UI dlls already made, an ImGUI prototype UI and a DirectUI windows 7 Logon UI. This project is open-source and released on GitHub. github.com/wiktorwiktor12/ConsoleLogonHookFeel free to fork and contribute for any improvements!
|
|
Olivia
New Member
Posts: 13
OS: Windows 10 IoT enterprise LTSC 2021
Theme: Windows 7 Aero
CPU: Intel Core i5-8350
RAM: 24gb DDR4
Computer Make/Model: Lenovo ThinkPad T480
|
Post by Olivia on Jun 21, 2024 14:38:20 GMT -8
This is so fire 🔥
Edit: I have also have had access to the source since it first started and I am also proud to say that I have also contributed nothing of value
|
|
|
Post by ephemeralViolette on Jun 21, 2024 14:38:30 GMT -8
I'm proud to have had access to the source code for the entire period of development, yet have not only not contributed anything, but haven't even tested it at all.
Jokes aside, cheers! This seems absolutely amazing and I need to test it sometime.
|
|
|
Post by leet on Jun 21, 2024 14:48:53 GMT -8
I have attempted to do this multiple times with no avail. Hence my terrible solution with Classic Logon Shell v1. Even though Nik has taken over the CLS project and found a more stable way to hook the login screen, it is still not perfect. I perhaps see an opportunity here to create the next generation of CLS, as I would assume this would have perfect control over the login sequence and stuff like Ctrl+Alt+Del screens. Nik perhaps a joint venture to port CLS to use this?
|
|
|
Post by wiktorwiktor12 on Jun 21, 2024 14:51:39 GMT -8
I have attempted to do this multiple times with no avail. Hence my terrible solution with Classic Logon Shell v1. Even though Nik has taken over the CLS project and found a more stable way to hook the login screen, it is still not perfect. I perhaps see an opportunity here to create the next generation of CLS, as I would assume this would have perfect control over the login sequence and stuff like Ctrl+Alt+Del screens. Nik perhaps a joint venture to port CLS to use this? the apis for console logon hook should be language neutral, tho i don't think ull be able to port any existing CLS stuff without quite a lot of rework
|
|
arbestriagain
Sophomore Member
👅
Posts: 143
OS: Windows 11 Home 23H2
Theme: Default
CPU: Intel Core i7-10700F
RAM: 32GB
GPU: GeForce RTX 2060 SUPER
Computer Make/Model: HP OMEN 25L Desktop GT12-0xxx
|
Post by arbestriagain on Jun 21, 2024 15:19:44 GMT -8
I'm going to imagine that this will be better than CLS which uses WinForms
|
|
|
Post by ephemeralViolette on Jun 21, 2024 15:20:47 GMT -8
I'm going to imagine that this will be better than CLS which uses WinForms The use of WinForms isn't why CLS is bad.
|
|
Ittr
Freshman Member
👅👅👅👅👅
Posts: 49
OS: Windows 10
Theme: 👅
CPU: Intel Core i3-1005G1
RAM: 8GB
GPU: 👅
Computer Make/Model: 👅
|
Post by Ittr on Jun 21, 2024 15:24:12 GMT -8
Glad to finally see some actual innovation that goes right to the core of the system rather than weird, patchy overlay software which was never feasible for the majority of users. Writing this as I'm quite tired so I'll highlight the main things I've noticed from a quick test through: - DirectUI usage is a massive bonus and will be appealing to those who want exact UI.
- Passwords are correctly recognised and can be changed.
- Switching users can yield some strange behaviour (duplicate Switch User buttons, input recognition behaving strangely).
- Password input-box doesn't auto-select itself when it should (might be misremembering though, I'm sleepy)
- Occasionally a Console window saying to press Ctrl+Alt+Del will appear despite this not being enabled in-system (when it is, the XAML/UWP lockscreen will show up with it anyway).
It's probably worth noting on the README also that it's currently only designed for Vibranium-based builds (1904x) of Windows 10, and will not work on 1903 or earlier.
Overall some really good work and I look forward to seeing this progress further.
|
|
|
Post by wiktorwiktor12 on Jun 21, 2024 15:31:30 GMT -8
Glad to finally see some actual innovation that goes right to the core of the system rather than weird, patchy overlay software which was never feasible for the majority of users. Writing this as I'm quite tired so I'll highlight the main things I've noticed from a quick test through: - DirectUI usage is a massive bonus and will be appealing to those who want exact UI.
- Passwords are correctly recognised and can be changed.
- Switching users can yield some strange behaviour (duplicate Switch User buttons, input recognition behaving strangely).
- Password input-box doesn't auto-select itself when it should (might be misremembering though, I'm sleepy)
- Occasionally a Console window saying to press Ctrl+Alt+Del will appear despite this not being enabled in-system (when it is, the XAML/UWP lockscreen will show up with it anyway).
It's probably worth noting on the README also that it's currently only designed for Vibranium-based builds (1904x) of Windows 10, and will not work on 1903 or earlier.
Overall some really good work and I look forward to seeing this progress further.
On the Press Ctrl Alt Del, I recommend fully disabling the lock screen and options for it, as that completely stops that behaviour in my testing, I tried manually bypassing it in the hook dll, but it proved to be difficult/ unreliable
|
|
anthony92800
New Member
Posts: 7
OS: Windows 10 22H2
Theme: Windows 7 (Aero10)
CPU: AMD A10-7800 Radeon R7
RAM: 8 GB
GPU: AMD Radeon(TM) R7 Graphics
|
Post by anthony92800 on Jun 21, 2024 16:38:10 GMT -8
This is incredible, it makes so happy to finally be able to use the Windows 7 login UI for Windows 10. Would it be possible at all to have it fade to black to the desktop rather than fade straight into the desktop?
|
|
|
Post by wiktorwiktor12 on Jun 21, 2024 16:55:27 GMT -8
This is incredible, it makes so happy to finally be able to use the Windows 7 login UI for Windows 10. Would it be possible at all to have it fade to black to the desktop rather than fade straight into the desktop? it should be possible, just need to figure out and implement
|
|
anthony92800
New Member
Posts: 7
OS: Windows 10 22H2
Theme: Windows 7 (Aero10)
CPU: AMD A10-7800 Radeon R7
RAM: 8 GB
GPU: AMD Radeon(TM) R7 Graphics
|
Post by anthony92800 on Jun 21, 2024 17:28:43 GMT -8
This is incredible, it makes so happy to finally be able to use the Windows 7 login UI for Windows 10. Would it be possible at all to have it fade to black to the desktop rather than fade straight into the desktop? it should be possible, just need to figure out and implement Ah that is good to know
|
|
|
Post by Windows User on Jun 21, 2024 17:44:10 GMT -8
it doesn't work for me
|
|
|
Post by iwantlibrariesheader on Jun 21, 2024 18:02:09 GMT -8
it doesn't work for me Instead of running the registry, open cmd as administrator with winaero tweakers "Run as Trusted Installer", and paste this into cmd reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Internal.UI.Logon.Controller.ConsoleBlockedShutdownResolver /v DllPath /t REG_SZ /d %systemroot%\System32\ConsoleLogonHook.dll /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Internal.UI.Logon.Controller.ConsoleLockScreen /v DllPath /t REG_SZ /d %systemroot%\System32\ConsoleLogonHook.dll /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Internal.UI.Logon.Controller.ConsoleLogonUX /v DllPath /t REG_SZ /d %systemroot%\System32\ConsoleLogonHook.dll /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Internal.Shell.PlatformExtensions.ConsoleCredUX /v DllPath /t REG_SZ /d %systemroot%\System32\ConsoleLogonHook.dll /f Then it should work, it worked for me, using the registry edit provided didnt for somereason
|
|
|
Post by Windows User on Jun 21, 2024 18:32:24 GMT -8
it doesn't work for me Instead of running the registry, open cmd as administrator with winaero tweakers "Run as Trusted Installer", and paste this into cmd reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Internal.UI.Logon.Controller.ConsoleBlockedShutdownResolver /v DllPath /t REG_SZ /d %systemroot%\System32\ConsoleLogonHook.dll /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Internal.UI.Logon.Controller.ConsoleLockScreen /v DllPath /t REG_SZ /d %systemroot%\System32\ConsoleLogonHook.dll /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Internal.UI.Logon.Controller.ConsoleLogonUX /v DllPath /t REG_SZ /d %systemroot%\System32\ConsoleLogonHook.dll /f reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Internal.Shell.PlatformExtensions.ConsoleCredUX /v DllPath /t REG_SZ /d %systemroot%\System32\ConsoleLogonHook.dll /f Then it should work, it worked for me, using the registry edit provided didnt for somereason It's still not helping
|
|
|
Post by iwantlibrariesheader on Jun 21, 2024 18:36:34 GMT -8
did you rename the login dll\ use 1909+
|
|
|
Post by ephemeralViolette on Jun 21, 2024 18:50:00 GMT -8
it doesn't work for me Do you have any information beyond just "it doesn't work"? Could you walk through the steps you have attempted so that we can tell where you may have made a mistake?
|
|
arbestriagain
Sophomore Member
👅
Posts: 143
OS: Windows 11 Home 23H2
Theme: Default
CPU: Intel Core i7-10700F
RAM: 32GB
GPU: GeForce RTX 2060 SUPER
Computer Make/Model: HP OMEN 25L Desktop GT12-0xxx
|
Post by arbestriagain on Jun 21, 2024 19:22:05 GMT -8
Works really good for me! I modified some DLLs to use Vista branding instead of 7 branding and it turned out good
|
|
|
Post by winxpenjoyer on Jun 21, 2024 20:05:43 GMT -8
Works really good for me! I modified some DLLs to use Vista branding instead of 7 branding and it turned out good View Attachmentcould you send those modified dlls for the vista logonui? looks pretty nice!
|
|
arbestriagain
Sophomore Member
👅
Posts: 143
OS: Windows 11 Home 23H2
Theme: Default
CPU: Intel Core i7-10700F
RAM: 32GB
GPU: GeForce RTX 2060 SUPER
Computer Make/Model: HP OMEN 25L Desktop GT12-0xxx
|
Post by arbestriagain on Jun 21, 2024 20:16:10 GMT -8
Works really good for me! I modified some DLLs to use Vista branding instead of 7 branding and it turned out good View Attachmentcould you send those modified dlls for the vista logonui? looks pretty nice! Here is a ZIP with the 2 files I modified. Now I think you can just use the authui.dll from Vista but I haven't tested that yet. VistaStyle.zip (1.64 MB)
|
|