From 9cee9ff884e5e764813130afe05336c01adb13fb Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 18 Sep 2025 22:10:21 +0200 Subject: [PATCH] feat: Replace command to set user password policy --- assets/win2025-eval.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/win2025-eval.xml b/assets/win2025-eval.xml index d86f152..7ab91e1 100644 --- a/assets/win2025-eval.xml +++ b/assets/win2025-eval.xml @@ -257,7 +257,7 @@ 5 - cmd /C wmic useraccount where name="Docker" set PasswordExpires=false + powershell.exe -ExecutionPolicy Unrestricted -NoLogo -NoProfile -NonInteractive set-localuser -name Docker -passwordneverexpires 1 Password Never Expires