修改server core 组策略.note
1、先在一台图形化机器(没加域的机器):
建议是在 那台ansible上
修改好组策略后导出:

然后拷贝到 server core

2、在server core上使用命令导入:
# sdb这个文件必须要不存在,它会自动创建
secedit /import /db c:\1.sdb /cfg c:\1.inf /overwrite
secedit /configure /db c:\1.sdb /cfg c:\1.inf /areas SECURITYPOLICY
gpupdate /force

模板:
直接输入 secedit /import 就能看

