From 660c33a843da0da731d4c5efbcb2ee7353cea28e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 18 Aug 2024 10:24:15 +0200 Subject: [PATCH] Remove unnecessary command --- scripts/Windows/Resources/Autounattend.template.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/Windows/Resources/Autounattend.template.xml b/scripts/Windows/Resources/Autounattend.template.xml index 075f51e8..f24f2ac2 100644 --- a/scripts/Windows/Resources/Autounattend.template.xml +++ b/scripts/Windows/Resources/Autounattend.template.xml @@ -206,12 +206,6 @@ --> 1 - true - cmd /C wmic useraccount where name="Admin" set PasswordExpires=false - Password Never Expires - - - 2 false powershell -Command "Set-ExecutionPolicy -Force Bypass" Allow PowerShell scripts from anywhere.