Enable OneShot listener for MS accounts
This commit is contained in:
parent
d62ea6ffaa
commit
e2013f8db5
1 changed files with 1 additions and 0 deletions
|
@ -513,6 +513,7 @@ $null = New-Module {
|
||||||
if (Get-UserConfig -UserName "$user" -Name "microsoftAccount") {
|
if (Get-UserConfig -UserName "$user" -Name "microsoftAccount") {
|
||||||
Enable-UAC;
|
Enable-UAC;
|
||||||
Disable-Autologin;
|
Disable-Autologin;
|
||||||
|
Enable-OneShotListener;
|
||||||
Set-BootMessage -Caption "Please Log In" -Message "Please log in using your new Microsoft Account ``$user``.";
|
Set-BootMessage -Caption "Please Log In" -Message "Please log in using your new Microsoft Account ``$user``.";
|
||||||
} else {
|
} else {
|
||||||
Set-AutologinUser "$user";
|
Set-AutologinUser "$user";
|
||||||
|
|
Loading…
Reference in a new issue