修改本地安全策略(registry / powershell / other)(Modify Local Security Policy (registry/powershell/other))

编程入门 行业动态 更新时间:2024-10-23 14:22:39
修改本地安全策略(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.inf

I ended up putting the following into my Windows answer file

Secedit /configure /db secedit.sdb /cfg c:\it\localAccountPolicy.inf

更多推荐

本文发布于:2023-07-15 19:14:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1117719.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:安全策略   powershell   registry   Modify   Security

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!