Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Group Policies / Fix: Group Policy Processing Error in Windows

February 27, 2023 Group PoliciesWindows 10Windows Server 2019

Fix: Group Policy Processing Error in Windows

I encountered a strange problem when applying new GPO settings on one of the computers. To diagnose the problem, I updated GPO settings manually using the gpupdate /force command and saw the following error in the console:

Computer policy could not be updated successfully. The following errors were encountered:
The processing of Group Policy failed. Windows could not apply the registry-based policy settings for the Group Policy object LocalGPO. Group Policy settings will not be resolved until this event is resolved. View the event details for more information on the file name and path that caused the failure.

The processing of Group Policy failed - Windows couldn't apply the policy settings for the GPO

At the same time, an event with the EventID 1096 and the same description (The processing of Group Policy failed) appeared in the System event log:

Log Name:     System
Source:       Microsoft-Windows-GroupPolicy
Event ID:     1096
Level:         Error
User:         SYSTEM

If you try to diagnose the GPO applying issue with the gpresult command (gpresult.exe /h c:\tempt\gpresultreport.html ), you can see that only Group Policy Registry settings are not applied (Group Policy Registry — Failed):

Registry failed due to the following error listed below.
Additional information may have been logged. Review the Policy Events tab in the console or the application event log.

Group Policy Registry failed due to the following error listed below.

This means that only Group Policy Objects with CSE (client-side extension) settings that manage registry keys through GPO are not applied to the client computer.

The Registry client-side extension could not read the registry.pol file. Most likely the file is corrupted (we recommend checking the file system for errors using chkdsk). In order to re-create this file, go to c:\Windows\System32\GroupPolicy\Machine, and rename it to registry.bak.

reset registry.pol file in GPO

You can rename the file from the elevated command prompt:

cd "C:\Windows\System32\GroupPolicy\Machine"
ren registry.pol registry.bak

Update the group policy settings on a computer usingthe command:

gpupdate /force

Windows will re-create the registry.pol file (local GPO settings will be reset) and successfully apply all GPO settings.

If you see the Event ID 1096 (The processing of Group Policy failed. Windows could not apply the registry-based policy settings for the Group Policy object LDAP://) with the ErrorCode 13 and “The data is invalid” description, this means that the error is related to the domain GPO mentioned in the error details.

Event ID 1096 - The processing of Group Policy failed

Copy the policy GUID and find the GPO name using the PowerShell command below:

Get-GPO -Guid 19022120-0250-407E-EB99-8438B6BB06C7

  1. Open the Domain Group Policy Management console (gpmc.msc) and make sure that the Group Policy object exists;
  2. Check that there are registry.pol and gpt.ini files in the SYSVOL folder on DC and you can read them (check the NTFS permissions);
  3. Make sure that the GPO version is the same on all domain controllers (check that the domain and AD replication work correctly);
  4. Delete GPO files from the SYSVOL folder on your domain controller the client gets GPO from (get your current logonserver: $env:LOGONSERVER) and wait until it is replicated from the neighboring DC;
  5. If the previous methods don’t help, re-create the GPO, or restore it from a backup.

1 comment
3
Facebook Twitter Google + Pinterest
previous post
Configure PowerShell Remoting (WinRM) for Non-Domain (Workgroup) Computers
next post
Disable Web Search Results in Windows 10/11 Start Menu

Related Reading

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 2023

How to Use Ansible to Manage Windows Machines

September 25, 2023

Installing Language Pack in Windows 10/11 with PowerShell

September 15, 2023

How to View and Change BIOS (UEFI) Settings...

September 13, 2023

1 comment

Aura September 8, 2023 - 1:25 am

What a legend!!!! I was stuck with some devices not enrolling in Intune after we applied the MDM enable policy.
I was resetting the devices initially and now I found out there are 40 devices not enrolled.
I used this guide to fix the GPO issue and the device enrolled instantly.
I will try this on the other devices now.

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023
  • How to Use Ansible to Manage Windows Machines

    September 25, 2023
  • Installing Language Pack in Windows 10/11 with PowerShell

    September 15, 2023
  • Configure Email Forwarding for Mailbox on Exchange Server/Microsoft 365

    September 14, 2023
  • How to View and Change BIOS (UEFI) Settings with PowerShell

    September 13, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Updating List of Trusted Root Certificates in Windows
  • Fix: Remote Desktop Licensing Mode is not Configured
  • Configure Google Chrome Settings with Group Policy
  • How to Delete Old User Profiles in Windows
  • How to Backup and Copy Local Group Policy Settings to Another Computer
  • Allow Non-admin Users RDP Access to Windows Server
  • How to Find the Source of Account Lockouts in Active Directory
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top