还原本地安全策略

1
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose

使用命令行重置组策略对象

1
2
3
RD /S /Q "%WinDir%\System32\GroupPolicyUsers"
RD /S /Q "%WinDir%\System32\GroupPolicy"
gpupdate /force