Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-1652: GPOE errors with code 80040154 for Energy Saver GP

Authentication Service ,  

12 April,16 at 11:06 AM

Applies to:  Centrify DirectControl 4.x on all 64 bit version of Windows




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




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


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.


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.

4) You should not see any errors when editing the GP for Energy Savers.



This will be fixed in Centrify DirectControl 5.0.