Windows Local Security Policies

By | November 5, 2020

Export current state of the machine

secedit.exe /export /cfg C:\some-filename.inf

How to Reset All Local Security Policy Settings to Default in Windows

When finished, you can close the elevated command prompt if you like

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

Reset the computer to apply

Reference https://www.tenforums.com/tutorials/68588-reset-local-security-policy-settings-default-windows.html