trio.so
How-Tos

How to Disable a GPO (and Why to Leave the Default Domain Controllers Policy Alone)

Disable a GPO safely: disable the link, disable user or computer settings, or unlink it, and why to leave the Default Domain Controllers Policy alone.

Mountain landscape representing leadership perspective and vision
Written by
Atena Ladchartabi

Content writer, trio.so

Published on
Modified on

To disable a GPO, open Group Policy Management, right-click the GPO's link under the OU and clear Link Enabled. That stops the GPO applying to that OU and nothing else. To stop it everywhere it is linked, set the GPO's status to All settings disabled instead, or disable only its user or computer half. Do not disable the Default Domain Controllers Policy: put your change in a separate GPO linked to the Domain Controllers OU.

Three ways to disable a GPO

MethodWhat it doesUse it when
Disable the linkStops the GPO applying to one OU, site or domain. Other links keep working.One OU should stop getting the policy
Set GPO statusTurns off the user settings, the computer settings or both, everywhere the GPO is linkedThe policy itself is wrong or no longer wanted
Delete the link (or the GPO)Removes the link, or removes the GPO and all its linksYou are sure you will not need it again

Disabling is reversible in one click. Deleting a GPO is not, unless you have a backup, so disable first and delete later.

Disable a GPO link

  1. Open Group Policy Management (gpmc.msc).
  2. Expand the forest and domain and find the OU where the GPO is linked.
  3. Right-click the GPO link under that OU and clear Link Enabled.

The link stays in place, greyed out, so you can turn it back on later. In PowerShell, the GroupPolicy module does the same:

Set-GPLink -Name "Old Proxy Settings" -Target "OU=Sales,DC=example,DC=local" -LinkEnabled No

Disable the GPO's user or computer settings (GPO status)

  1. In Group Policy Management, open Group Policy Objects and select the GPO.
  2. Right-click it and point to GPO Status.
  3. Choose User Configuration Settings Disabled, Computer Configuration Settings Disabled or All Settings Disabled.

Disabling the half you don't use is also good housekeeping: a GPO with only computer settings processes faster if its user half is disabled. In PowerShell:

(Get-GPO -Name "Old Proxy Settings").GpoStatus = "AllSettingsDisabled"

The other values are UserSettingsDisabled, ComputerSettingsDisabled and AllSettingsEnabled.

Check that the change took effect

Group Policy refreshes in the background, roughly every 90 minutes on member computers and every 5 minutes on domain controllers. To check now, on an affected computer:

gpupdate /force
gpresult /r

The disabled GPO should drop out of the list of applied Group Policy objects, or show as filtered out. For a full report, run gpresult /h C:\Temp\gp.html and open the file. Note that some settings stay on the computer after the GPO stops applying ("tattooing"), mainly old registry-based preferences. Set those back explicitly if they matter.

The Default Domain Controllers Policy: don't disable it

The Default Domain Controllers Policy sets the user rights and security options domain controllers need, such as who can log on locally or back up files. Disabling it or its link can break logons, replication and admin access across the domain, and Microsoft recommends keeping both default GPOs in place.

If you need different settings on your domain controllers:

  1. Create a new GPO with only the settings you want to change.
  2. Link it to the Domain Controllers OU.
  3. Move it above the Default Domain Controllers Policy in the link order, so its settings win.
  4. Test on one domain controller first, then check with gpresult.

The same advice applies to the Default Domain Policy at the domain level: change it only for account policies, and put everything else in separate GPOs.

Disable a GPO on one computer only

You can't disable a domain GPO from the computer itself. Use security filtering or a WMI filter so the GPO doesn't apply to that computer, or move the computer to an OU without the link. Local Group Policy (gpedit.msc) is a different, lower-priority layer and does not override domain GPOs.

Related reading: disable Control Panel using Group Policy, enable Remote Desktop with Group Policy and the Group Policy Client service failed the sign-in.

Ready-to-use Templates

Must-have Template Toolkit for IT Admins

Explore All
Template Toolkit

Start your free trial

No credit card required
Full access to all features

Manage Every Device From One Console

trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.

14-day free trial. No credit card required.

trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.

Smiling womanAbstract geometric patternAbstract geometric patternSmiling womanSmiling woman

Frequently Asked Questions (FAQ)

Have questions? We've got answers. This section covers some of the most commonly asked questions related to this topic.

In Group Policy Management, right-click its link and clear Link Enabled to stop it on one OU, or set GPO Status to All Settings Disabled to stop it everywhere.

Disabling a link stops the GPO for that one OU, site or domain. Disabling the GPO (its status) stops it everywhere it is linked.

No. Leave it in place and put different settings in a separate GPO linked to the Domain Controllers OU with a higher link order.

Related

From the blog

The related industry news, interviews, technologies, and resources.