diff --git a/scripts/Windows/OS/User.ps1 b/scripts/Windows/OS/User.ps1 index ad09d99e..53428caf 100644 --- a/scripts/Windows/OS/User.ps1 +++ b/scripts/Windows/OS/User.ps1 @@ -30,5 +30,6 @@ function New-PersonalUser([Context] $context) Rename-LocalUser $user $context.UserName; Add-LocalGroupMember -Group "Administrators" -Member $user && Set-LocalUser $context.AdminName -Password (ConvertTo-SecureString -AsPlainText "Admin"); + $context.Reboot(); } }