Open a command prompt with elevated permissions and run the following command to reset all security configurations to default in Windows 7 and Microsoft Windows Server 2008.
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose