当前位置:网站首页>Group policy export import

Group policy export import

2022-06-24 10:55:00 shawyang

Not all group policies are saved in the registry Group policy default database :%windir%\security\database\secedit.sdb

Export Group Policy :secedit /export /cfg C:\secconfig.inf secedit.exe /export /cfg C:\secconfig.cfg

Suffixes don't matter

useless /db The parameter specifies that the database adopts the default (%windir%\security\Database\secedit.sdb) Import all group policies :secedit /configure /db %windir%\all_secedit.sdb /cfg C:\secconfig.cfg Import security policy :secedit.exe /configure /db %windir%\security_secedit.sdb /cfg C:\secconfig.cfg /areas SECURITYPOLICY

Reference resources :https://www.top-password.com/blog/change-account-lockout-password-complexity-policy-in-windows/

The above method is widely spread on the Internet , It has been proved that this method is completely unreliable

原网站

版权声明
本文为[shawyang]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/06/20210615213509001E.html