Change login message

This commit is contained in:
Manuel Thalmann 2024-08-09 22:11:12 +02:00
parent c0748548e1
commit c42b30b52e

View file

@ -489,7 +489,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;
Set-BootMessage -Caption "Login" -Message "Please login using your account."; Set-BootMessage -Caption "Please Log In" -Message "Please log in using your new Microsoft Account ``$user``.";
} else { } else {
Set-AutologinUser "$user"; Set-AutologinUser "$user";
} }