修改本地安全策略(registry / powershell / other)(Modify Local Security Policy (registry/powershell/other))
我正在创建Windows 10映像,发现如果我将本地安全策略设置为要求密码长度大于0的复杂密码,则在运行Sysprep后无法启动到桌面。
我想禁用图像中的复杂性和长度要求,但是通过某种脚本自动添加。 有人知道怎么做吗?
谢谢。
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.
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?
Thanks.
最满意答案
我最终将以下内容放入我的Windows答案文件中
Secedit /configure /db secedit.sdb /cfg c:\it\localAccountPolicy.infI ended up putting the following into my Windows answer file
Secedit /configure /db secedit.sdb /cfg c:\it\localAccountPolicy.inf更多推荐
发布评论