Enable OneShot listener for MS accounts
This commit is contained in:
parent
2e5fa8f5a0
commit
f45081ff99
|
@ -510,6 +510,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";
|
||||
|
|
Loading…
Reference in a new issue