Reset windows security settings to default

From time to time I have had the need to reset a Windows Server 2003 security settings. The following comand does a pretty good job in reseting the following paramaters: SECURITYPOLICY, GROUP_MGMT, USER_RIGHTS, REGKEYS, FILESTORE, and SERVICES.

From the command prompt:

secedit /configure /cfg %windir%repairsecsetup.inf /db sesetup.sdb /verbose

You should eventually receive a “task complete” along with some warning message that can be safely ignored.