Thursday, July 12, 2012

How to Reset Local Group Policy Objects to default


How to Reset Local Group Policy Objects to Default

If you want to reset Group Policy to Default on your system, then please follow the below mentioned Steps:
1. If you need to clear IPSec settings and software restriction settings
a. reg delete HKLM\software\policies\microsoft /f
b. regedit /s "c:\policies.reg"
(where c:\policies.reg is the exported from HKLM\software\policies\microsoft to target machine)

2. Rest GPO settings to their defaults :
        secedit /configure /db reset /cfg "c:\windows\security\templates\setup security.inf" /overwrite

3. Delete the registry.pol file if it exists from:
         del c:\windows\system32\grouppolicy\machine\registry.pol

4. Reboot

1 comment: