Active Directory

dcgpofix

DestructiveReset default GPOs

dcgpofix /target:Domain

Resets the default GPOs to factory state — a last resort that erases every customization. Back up first.

Examples

  • dcgpofix /target:DCReset only the DC policy

Syntax

dcgpofix /target:Domain|DC|Both

Before you run it

Wipes all customizations in default GPOs.

Related commands

Check it once more before you run it

Some commands cannot be undone if one flag is wrong. An on-device reference works with no connection. Free to install, no ads.

Get it free on the App Store