From 81c06bf5e0f00a9b56f8169000e3cdc11d64a457 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 12 Sep 2024 19:04:48 +0200 Subject: [PATCH] Reboot before creating users --- scripts/Windows/OS/Manage.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Windows/OS/Manage.ps1 b/scripts/Windows/OS/Manage.ps1 index 55b49f6c..6d59bd8f 100644 --- a/scripts/Windows/OS/Manage.ps1 +++ b/scripts/Windows/OS/Manage.ps1 @@ -134,6 +134,8 @@ $null = New-Module { Write-Host "Entering install phase"; Deploy-SoftwareAction; Set-SetupStage ([SetupStage]::CreateUser); + Restart-Intermediate; + return; } ([SetupStage]::CreateUser) { Install-ValhallaUsers;