Enable OneShot listener for MS accounts

This commit is contained in:
Manuel Thalmann 2024-08-10 15:18:10 +02:00
parent d62ea6ffaa
commit e2013f8db5

View file

@ -513,6 +513,7 @@ $null = New-Module {
if (Get-UserConfig -UserName "$user" -Name "microsoftAccount") {
Enable-UAC;
Disable-Autologin;
Enable-OneShotListener;
Set-BootMessage -Caption "Please Log In" -Message "Please log in using your new Microsoft Account ``$user``.";
} else {
Set-AutologinUser "$user";