secedit
★ Multi-verb power tool
Configure and analyze system security using security templates.
secedit /export /cfg out.inf
/export save current settings · /configure apply a template · /analyze compare against a template
Practice line — try it from memory, then reveal
secedit /export /cfg C:\secpol.inf