Modify Local Security Policy (registry/powershell/other)
<p>I am creating our Windows 10 image and found that if I set the Local Security policy to require a complex password with a minimum password length greater than 0, I can't boot to the desktop after running Sysprep.</p>

<p>I would like to disable the complexity and length requirements in the image, but have then added automatically, via some kind of script. Anyone know how to do this?</p>

<p>Thanks.</p>