From 6828743418b81ddaac9be3be843ba96c4e327ac3 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 18 Sep 2025 22:09:47 +0200 Subject: [PATCH] feat: Replace WMIC command with PowerShell --- assets/win11x64-enterprise-eval.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/win11x64-enterprise-eval.xml b/assets/win11x64-enterprise-eval.xml index 39caac3..96b7ad2 100644 --- a/assets/win11x64-enterprise-eval.xml +++ b/assets/win11x64-enterprise-eval.xml @@ -358,7 +358,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