From bc56474a1678ff895e699b1cf5d3ed8825c90e49 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 22 Aug 2024 20:41:17 +0200 Subject: [PATCH] Fix infinite loop --- scripts/Windows/OS/Install.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index f454dd05..d6ce47d1 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -611,6 +611,8 @@ $null = New-Module { if (-not $msAccount) { net user $name /logonpasswordchg:yes; } + + Set-UserStage ([UserStage]::Completed); } } }