Tuesday, February 01, 2011

MS: Events 1085 and 8194 on Windows 2008 - Group Policy Issues

A full hard disk caused the following errors to appears on event viewer in a Windows Server 2008 running Terminal Server and Citrix XenApp. The lack of space caused a GPO corruption on the server.

Log Name: System
Source: Microsoft-Windows-GroupPolicy
Event ID: 1085
Level: Warning
Description:Windows failed to apply the Group Policy "MyPolicy" settings. Group Policy "MyPolicy" settings might have its own log file. Please click on the "More information" link.

Log Name: Application

Source: Group Policy Start Menu Settings
Event ID: 8194
Level: Error
Description: The client-side extension could not remove user policy settings for 'MyPolicy' because it failed with error code '0x8007000d The data is invalid.' See trace file for more details.

SOLUTION: Delete the content of folder C:\ProgramData\Microsoft\Group Policy\History, run GPUPDATE /FORCE and reboot server.


Philip said...

I was having this same issue and deleting the GPO history folder worked for me! Here is a script I created to run this command against all 2008/2008 R2 servers.

function DeleteGPOHistory ($computer)
$path = '\\' + $computer + '\c$\ProgramData\Microsoft\Group Policy\History'
Write-Host 'Deleting GPO history folder from: ' $computer
remove-item -path $path -Recurse -force

Get-QADComputer -SizeLimit 0 | where {$_.osname -like '*2008*'} | foreach {DeleteGPOHistory $_.name}

Entbark said...

This fixed my issue.