Because the exact Defender-recommended GPO setting is not specified, only general, supported recovery options from the context can be provided.
If the GPO change has locked out sign-in to the domain controller (for example, by breaking authentication or Netlogon behavior), the practical remediation is to prevent the problematic policy from applying to the DC long enough to revert it.
Use one of these approaches:
- Boot the DC so the GPO does not apply
- If the DC is a virtual machine, start it in an isolated network (no connection to the production domain network) so it cannot contact a writable DC or SYSVOL share to refresh Group Policy.
- Sign in using cached credentials or local Administrator (if available).
- In Group Policy Management, unlink or disable the GPO that was changed, or move the DC computer object to an OU where the GPO does not apply.
- Force a policy update (
gpupdate /force) and then reboot the DC back on the production network.
- Stop Netlogon before shutting down/restarting during remediation
- If the DC is still reachable but authentication is unstable, stopping Netlogon before shutdown can reduce further authentication issues while recovering:
- On the DC, run:
net stop netlogon && net stop kdcbefore reboot. - Optionally, configure this as a shutdown script in Local Group Policy so it runs automatically:
- Run
gpedit.mscon the DC. - Go to Computer Configuration > Windows Settings > Scripts > Shutdown.
- Add a script with the command:
net stop netlogon && net stop kdc.
- Run
- On the DC, run:
- After stabilizing, revert or adjust the offending GPO and then remove this temporary shutdown script.
- If the DC is still reachable but authentication is unstable, stopping Netlogon before shutdown can reduce further authentication issues while recovering:
- Revert password or security policies if they broke DC authentication
- If the change was to password policy or a security option that affects DC authentication (for example, Netlogon or NTLM restrictions), revert those settings in the Default Domain Policy or in the GPO linked to the Domain Controllers OU:
- Ensure password and account policies are correctly set in Default Domain Policy, not in conflicting GPOs linked to the Domain Controllers OU.
- If Block Policy Inheritance is enabled on the Domain Controllers OU, clear it so the domain-level policy (with working settings) applies again.
- After adjusting, run on the DC:
secedit /refreshpolicy machine_policy /enforce.
- If the change was to password policy or a security option that affects DC authentication (for example, Netlogon or NTLM restrictions), revert those settings in the Default Domain Policy or in the GPO linked to the Domain Controllers OU:
- If the change was related to Netlogon / “Allow vulnerable Netlogon secure channel connections”
- If Defender recommended tightening Netlogon secure channel behavior and the DC is now denying accounts:
- Confirm that the DC has successfully applied and replicated the intended GPO configuration:
- On the DC, run
gpupdate /force. - Then run
gpresult /h c:\gpresult.htmland review which GPOs are applied and what settings are in effect.
- On the DC, run
- If a specific group was configured in Domain controller: Allow vulnerable Netlogon secure channel connections, verify that:
- Group membership has replicated to the DC that is denying connections.
- The GPO containing the setting has replicated and is applied on that DC.
- If necessary, temporarily relax or remove the restrictive Netlogon setting in the GPO, force replication, and then re-apply a corrected configuration.
- Confirm that the DC has successfully applied and replicated the intended GPO configuration:
- If Defender recommended tightening Netlogon secure channel behavior and the DC is now denying accounts:
- If still locked out or no admin access is possible
- If no administrative sign-in is possible on any DC after the GPO change, direct assistance from Microsoft Support is required. A support engineer can work with the environment (for example, via Directory Services Restore Mode or offline GPO editing) to roll back the change.
Once access is restored, review Defender’s recommendation and re-implement it in a staged manner:
- Test on a non-production OU or lab domain first.
- Apply to a subset of DCs and verify authentication, Netlogon, and Group Policy behavior.
- Only then roll out broadly.
References: