Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Security 修改本地安全策略(注册表/powershell/其他)_Security_Powershell_Registry_Windows 10 - Fatal编程技术网

Security 修改本地安全策略(注册表/powershell/其他)

Security 修改本地安全策略(注册表/powershell/其他),security,powershell,registry,windows-10,Security,Powershell,Registry,Windows 10,我正在创建Windows 10映像,发现如果我将本地安全策略设置为需要最小密码长度大于0的复杂密码,则在运行Sysprep后无法启动到桌面 我想禁用图像中的复杂性和长度要求,但随后通过某种脚本自动添加。有人知道怎么做吗 谢谢。我最后将以下内容放入我的Windows应答文件中 Secedit /configure /db secedit.sdb /cfg c:\it\localAccountPolicy.inf 为什么不使用组策略?好问题。在这种情况下,映像将用于部署到客户站点的工作组计算机。

我正在创建Windows 10映像,发现如果我将本地安全策略设置为需要最小密码长度大于0的复杂密码,则在运行Sysprep后无法启动到桌面

我想禁用图像中的复杂性和长度要求,但随后通过某种脚本自动添加。有人知道怎么做吗


谢谢。

我最后将以下内容放入我的Windows应答文件中

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

为什么不使用组策略?好问题。在这种情况下,映像将用于部署到客户站点的工作组计算机。