Reset Local Group Policy Objects to default settings

  1. First, click on Start, Run and then type in CMD. Now copy and paste the following command into the window:
    secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

    If you are running Windows Vista or above and need to reset the security settings to their default values, use this command instead:
    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
  2. Delete the registry.pol file if it exists:
    del c:\windows\system32\grouppolicy\machine\registry.pol
  3. Reboot