Group Policy GPOs fail to apply on some workstations

  • 7007661
  • 25-Jan-2011
  • 27-Apr-2012


Novell ZENworks 10 Configuration Management


In some cases, user assigned GPOs were failing to apply sucessfully.


Somehow the workstations already had a previous GPO file with unexpected format: C:\WINDOWS\system32\GroupPolicy\gpt.ini

ZENworks Policy enforcer requires that version be under the [General] tag.  Because an extra ini section is included, the version is not updated and the policy does not apply.
In this case, removing the bad ini file or editing to remove the extraneous [ ... ] section then renaming \program files\novell\zenworks\bin\handlers\cachefiles and rebooting fixed the problem.

Additional Information

Notes regarding symptoms of the problem:
The zmd-messages.log showed that the policy was seen and the Windows API called to apply:
The zmd-messages.log shows that ZENworks agent is setting up the policy:
[ZenworksWindowsService] [25] [] [grouppolicy] [] [ZEN GP Handler -  - Entered prepare for apply user-predesktop] [] []
[ZenworksWindowsService] [2600] [] [WindowsGPNativeHelper] [] [Refresh GPT exiting with code 0]
Running gpedit showed the correct policy setting (for example remove run from start menu), but it was not applied.
Running gpupdate /f on the workstation did not apply the policies.
If any single change was made in gpedit even to undo and re-do a single setting, then the GPO was saved and gpupdate /f applied, then all policies in the set would apply.
Note:  In this case the preexisting gpt.ini file was already present.  To ensure that a bad version is not being pushed out with ZENworks, run ZCC from a workstation that does not have the problem, edit the Group Policy, when uploading, copy the local zip prior to completing the upload and confirm that the gpt.ini file is valid.