diff --git a/scripts/Windows/Scripts/Users.ps1 b/scripts/Windows/Scripts/Users.ps1 index eee92a8b..7024231c 100644 --- a/scripts/Windows/Scripts/Users.ps1 +++ b/scripts/Windows/Scripts/Users.ps1 @@ -97,7 +97,7 @@ $null = New-Module { $userArguments.fullName = $displayName; } - New-LocalUser -NoPassword @userArguments; + New-LocalUser -Disabled -NoPassword @userArguments; Set-LocalUser $name -PasswordNeverExpires $true; Set-LocalUser $name -PasswordNeverExpires $false; }