12 April,16 at 11:06 AM
Applies to: Centrify DirectControl 4.x on all 64 bit version of Windows
Problem:
When you try to enable the Energy Savers GP in CentrifyDC Settings -> Mac OSX Settings -> Energy Savers via Group Policy Object Editor, you get a popup error message as shown below:
Detail unexpected error message:
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC} failed due to the following error: 80040154.
at Centrify.DirectControl.GroupPolicy.UI.PageNumeric.RunScript(RegistryKey regKey, Dictionary`2 data)
at Centrify.DirectControl.GroupPolicy.UI.TemplatePage.ValidateData(RegistryKey regKey)
at Centrify.DirectControl.GroupPolicy.UI.PolicyPage.ValidateData()
at Centrify.DirectControl.Util.UI.PropertyPage.InternalValidateData()
Additionally, you will run into this same error message if you try to enable any of the four Energy Saver Group Policies:
Centrify Settings>Mac OS X Settings>Energy Saver>On AC power>Set computer sleep time
Centrify Settings>Mac OS X Settings>Energy Saver>On AC power>Set display sleep time
Centrify Settings>Mac OS X Settings>Energy Saver>On battery power>Set computer sleep time
Centrify Settings>Mac OS X Settings>Energy Saver>On battery power>Set display sleep time
Cause:
The Energy Savers Group Policies have validation scripts written in VBScript. The GPOE extension snapin uses msscript.ocx to run the VBScript. 32-bit msscript.ocx is available on both 32-bit and 64-bit windows. However, there is no 64-bit msscript.ocx available on the 64-bit Windows and there are no plans from Microsoft for releasing 64-bit version of msscript.ocx
Workaround:
1) Please uninstall the 64-bit version of Centrify DirectControl console from Control Panel, add/remove programs.
2) Please download and install the 32-bit version of Centrify DirectControl suite. When this KB was written, the latest version is 2011. Below is the URL for the same. You need support credentials.
http://www.centrify.com/support/download.asp?asset=centrify-suite-2011-mgmt-std-win32.zip
3) Click on Start -> Run -> enter mmc /32 and then add GPMC (Group Policy Management console). Add the Centrify Group Policies (the xml templates are found C:\Program Files\Centrify\Centrify DirectControl\group policy\policy). For more detailed steps, please see pages 51/54 of the below guide.
http://www.centrify.com/downloads/products/documentation/suite2011/ga/centrify-dc-group-policy.pdf
4) You should not see any errors when editing the GP for Energy Savers.
Resolution:
This will be fixed in Centrify DirectControl 5.0.