获取密码策略
标签:密码策略
1 2 3 4 5 6 7 8 | ;导出当前电脑的密码策略 Secedit /export /cfg SecContoso.inf /quiet ;导入修改过的密码策略 secedit /configure /db SecContoso.sdb /cfg SecContoso.inf /quiet ;SecContoso.sdb为临时文件,可以随便起个名字,自动生成 更多的命令请参考Secedit |
1 2 3 4 5 6 7 8 | ;导出当前电脑的密码策略 Secedit /export /cfg SecContoso.inf /quiet ;导入修改过的密码策略 secedit /configure /db SecContoso.sdb /cfg SecContoso.inf /quiet ;SecContoso.sdb为临时文件,可以随便起个名字,自动生成 更多的命令请参考Secedit |