Restoring a default GPO
This recipe shows how to restore the Default Domain Policy and the Default Domain Controllers Policy to default settings.
Getting ready
To restore the Default Domain Policy and the Default Domain Controllers Policy to default settings, sign in to a non-read-only domain controller with an account that is a member of the Domain Admins group.
How to do it...
The dcgpofix.exe
command-line utility can be used to restore the Default Domain Policy and the Default Domain Controllers Policy to their default settings.
Restoring the Default Domain Policy
Use the following command to restore the Default Domain Policy to its default settings on an elevated Command Prompt (cmd.exe
):
dcgpofix.exe /target:Domain
Type Y followed by Enter twice to continue and restore the Default Domain Policy.
Restoring the Default Domain Controllers Policy
Use the following command to restore the Default Domain Controllers Policy to its default settings on an elevated...