mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 15:13:36 +00:00
![]() CORE-18351 CORE-18237 CORE-17137 CORE-16567 CORE-15360 CORE-5071 CORE-3804 Reset `LogonState` back to `STATE_LOGGED_OFF` before invoking `WlxDisplaySASNotice()` when: - in `STATE_LOGGED_OFF_SAS` state, `HandleLogon()` failed; - or when an attempted shutdown operation failed. This fixes the resulting inconsistent `LogonState` that happened if any of these operations failed due to legitimate reasons. For example, a corrupted user profile that caused the login attempt to abort, or, an ongoing shutdown attempt being aborted as well. One of the user-visible effects of this inconsistency, was the inability to access the familiar Logged-Out SAS dialog by pressing Ctrl-Alt-Del at the invite (SAS notice) dialog, because the `LogonState` was incorrectly left into the `STATE_LOGGED_OFF_SAS` state, instead of being reset to `STATE_LOGGED_OFF`. ---- Typical scenario: The "Administrator" user, who is auto-logged-in by default after the installation, gets a corrupted ntuser.dat profile registry hive if the 2nd-stage installation is aborted at the end by force-restarting ReactOS. After reboot, ReactOS tries to log into the account, but fails, and goes back to the Ctrl-Alt-Del invite dialog. Before this fix, the user couldn't go into the Logged-Out SAS dialog to enter new login credentials and attempt login to another account. This is now fixed. |
||
---|---|---|
.. | ||
autochk | ||
bootok | ||
chkdsk | ||
diskpart | ||
dllhost | ||
expand | ||
format | ||
logonui | ||
lsass | ||
msiexec | ||
regsvr32 | ||
rundll32 | ||
runonce | ||
services | ||
smss | ||
subst | ||
userinit | ||
winlogon | ||
CMakeLists.txt |