Hi all.

I'm having some problems with Windows Group Policies that I would like to solve.

I have installed a fresh ZCM 10.2.1 on a fresh SLES 10 SP2 + Patches. I have a few Windows XP + SP2/SP3 machines to test my settings.

When I assign Windows Group Policies, several errors appear in the Application Event Log and zmd-messages.log. Errors are:

Source Userenv, Id 1085:
The Group Policy client-side extension Script failed to execute. Please look for any errors reported earlier by that extension

Source Novell.Zenworks.Logger, Id 0:
Category: grouppolicy
POLICYHANDLERS.WinGPPolicy.EnforceError: There was an error while enforcing the policy policy_name. Please refer the managed device log for details

This happens with a simple GP setting the proxy of Internet Explorer. Even if these errors appear, the Policy is applied usually... but not always. And I'd like to have a reliable error source to look at.

These errors don't appear if other Policies are enforced, like DLU or Remote Control policies.

I have turned debugging on on the test client but I couldn't see any more info in zmd-messages.log. I copy you some significant? lines in case you find something interesting:

[DEBUG] [08/28/2009 17:23:00.828] [1316] [ZenworksWindowsService] [23] [User] [AssignmentManager] [] [Error returned from Web Service] [] []
[DEBUG] [08/28/2009 17:23:00.828] [1316] [ZenworksWindowsService] [23] [User] [AssignmentManager] [] [Error code: 2, Cannot contact Assignment service on the web server.] [] []
...
[DEBUG] [08/28/2009 17:23:00.968] [1316] [ZenworksWindowsService] [23] [] [AssignmentManager] [] [Successfull returned cache information] [] []
...
[DEBUG] [08/28/2009 17:23:10.859] [1316] [ZenworksWindowsService] [23] [User] [PolicyManager] [] [policyName = grouppolicy, Success = True, ExplanationID = Success.] [] []
[DEBUG] [08/28/2009 17:23:10.859] [1316] [ZenworksWindowsService] [23] [User] [PolicyManager] [] [policyName = Proxy, Success = True, ExplanationID = .] [] []
[DEBUG] [08/28/2009 17:23:10.859] [1316] [ZenworksWindowsService] [23] [User] [PolicyManager] [] [policyName = grouppolicy, Success = True, ExplanationID = Success.] [] []
...
[DEBUG] [08/28/2009 17:23:13.984] [1316] [ZenworksWindowsService] [23] [] [grouppolicy] [] [grouppolicy- Started- 17:23:13] [] []
[DEBUG] [08/28/2009 17:23:13.984] [1316] [ZenworksWindowsService] [23] [] [grouppolicy] [] [Original values of guid and name: ZEN Guid: 937a5a046edf678c1542f6dba271ab6f~80108ef8c639dc018 00d0014c263e345, Local Name: UsuariEstandar] [] []
[DEBUG] [08/28/2009 17:23:13.984] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [Finally using UserGuid - 937a5a046edf678c1542f6dba271ab6f~80108ef8c639dc018 00d0014c263e345, userName - UsuariEstandar] [] []
[DEBUG] [08/28/2009 17:23:13.984] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [Policy common classes - Found linked object with ID - 17548160b374c5e95c90987f6ca7b868] [] []
[DEBUG] [08/28/2009 17:23:13.984] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [Policy common classes - Found content with ID 17548160b374c5e95c90987f6ca7b868 at C:\Archivos de programa\Novell\ZENworks\cache\zmd\ZenCache\3b5988 cf-7ea9-41f2-8f33-6750bc086343] [] []
[DEBUG] [08/28/2009 17:23:13.984] [1316] [ZenworksWindowsService] [23] [] [ZenCache] [] [(Thread 23) EnumerateFiles(where owner = '(ActionManager)SYSTEM' and key like 'grouppolicy%') called] [] []
[DEBUG] [08/28/2009 17:23:13.984] [1316] [ZenworksWindowsService] [23] [] [ZenCache] [] [(Thread 23) EnumerateFiles returning 0 items in 2 ms] [] []
[DEBUG] [08/28/2009 17:23:13.984] [1316] [ZenworksWindowsService] [23] [] [ZenCache] [] [(Thread 23) EnumerateFiles(where owner = '(ActionManager)UsuariEstandar' and key like 'grouppolicy%') called] [] []
[DEBUG] [08/28/2009 17:23:14.000] [1316] [ZenworksWindowsService] [23] [] [ZenCache] [] [(Thread 23) EnumerateFiles returning 0 items in 1 ms] [] []
[DEBUG] [08/28/2009 17:23:14.000] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [started applying group policies] [] []
[DEBUG] [08/28/2009 17:23:14.000] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [platform handler is WinXP] [] []
[DEBUG] [08/28/2009 17:23:14.000] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [generating the settings request] [] []
[DEBUG] [08/28/2009 17:23:14.000] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [contaent path is C:\Archivos de programa\Novell\ZENworks\cache\zmd\ZenCache\3b5988 cf-7ea9-41f2-8f33-6750bc086343\8769450145614119.zip] [] []
[DEBUG] [08/28/2009 17:23:14.000] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [Request realm is UserPredesktop] [] []
[DEBUG] [08/28/2009 17:23:14.000] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [Started applying group policy sertings pertaining to user pre desktop realm] [] []
[DEBUG] [08/28/2009 17:23:16.234] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [Updating the post operations actions] [] []
[DEBUG] [08/28/2009 17:23:16.234] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [] [apply immediately flag isFalse] [] []
[ERROR] [08/28/2009 17:23:16.234] [1316] [ZenworksWindowsService] [23] [User] [grouppolicy] [POLICYHANDLERS.WinGPPolicy.EnforceError] [Error al aplicar la directiva Proxy. Consulte el registro de los dispositivos gestionados para obtener m341s detalles.] [] [1c2622ef8ea670daea66f0b98d0655bf]
...
[DEBUG] [08/28/2009 17:23:16.328] [1316] [ZenworksWindowsService] [23] [User] [PolicyManager] [] [The action results are:] [] []
[DEBUG] [08/28/2009 17:23:16.328] [1316] [ZenworksWindowsService] [23] [User] [PolicyManager] [] [policyName = grouppolicy, Success = True, ExplanationID = Success.] [] []
[DEBUG] [08/28/2009 17:23:16.328] [1316] [ZenworksWindowsService] [23] [User] [PolicyManager] [] [policyName = Proxy, Success = True, ExplanationID = .] [] []
[DEBUG] [08/28/2009 17:23:16.328] [1316] [ZenworksWindowsService] [23] [User] [PolicyManager] [] [policyName = grouppolicy, Success = False, ExplanationID = failedToEnforcePolicy.] [] []

Any clues? Where should I start looking at?

Thanks in advance

Diego