locked
Win2K8 OS Discovery Script and Win32_PowerPlan RRS feed

  • Question

  • Hi,
    With SCOM 2007 R2 , on some of Win2K8 R2 computers, I got this event :
    Event ID 4001 Health Service Script
    "Microsoft.Windows.Server.2008.Discovery.Probe.vbs : The class name 'Win32_PowerPlan where IsActive=true' did not return any valid instances. Please check to see if this is a valid WMI class name.. This program is blocked by group policy. "

    So, the discovery of the Operationg System is not completed.
    I have other win2k8r2 computers into the same OU with the same GPOs applied and without any problem (OS is discovered).

    When I launch the script manually and get the same result.
    In Wbemtest, when I launch the query "select * from win32_powerplan" ,  I get the error "0x800704ec - This program is blocked by group policy" but this is the same result on a good server.

    Have you ever seen this symptom ? Is it a good idea to disable a portion of the script in reference to PowerPlan (for testing purpose) and which one exaclty ?

    Thanks a lot.

    Alain

    Monday, February 1, 2010 5:44 PM

Answers

  • Hi Alain,

    By "known issue" I meant that team who developed this MP is aware of this issue and that this issue is critical.

    It is related to Microsoft Windows Server 2008 R2 Operating System MP.

    The plans about addressing this issue are not finalized yet. I will provide more information as soon as possible.

    Thanks,
    Zaki
    • Marked as answer by Graham Davies Sunday, February 28, 2010 3:04 PM
    Thursday, February 11, 2010 1:01 AM

All replies

  • Hello again.

    Any idea ?

    Thanks,
    Alain
    Wednesday, February 3, 2010 9:09 PM
  • Hey Alain
    By chance on the servers that is does not return are they virtual and the ones that it work on physical?
    Paul Keely
    Wednesday, February 3, 2010 9:12 PM
  • Hi Paul,

    Unfortunatly, I did not find at this time a commun denominator. One of them is my sql reporting server used by SCOM that is a virtual machine. Others are physical cluster nodes. By exemple, two nodes of a 4 node cluster have this symptom.

    Alain
    Wednesday, February 3, 2010 11:39 PM
  • Hi Alain,

    Yes, this is a known issue. Unfortunately there is no workaround right now besides disabling this discovery and creating own discovery based on this script with removed (or handled properly) PowerPlan-related code.

    Let me find out about plans to address this issue.

    Thanks,
    Zaki
    Thursday, February 4, 2010 4:24 AM
  • For testing only, I put in remark those lines that refer to Powerplan on my Reporting Server and it is better. The script passed and now the agent is discovered.
    However, I suspect that each time the HealthService  service is restarted, the file is replaced by an original copy. Right ??

    Alain

    Friday, February 5, 2010 8:11 PM
  • Alain, that is correct. Upon restarting HealthService service it will redownload the original version.

    Friday, February 5, 2010 10:12 PM
  • Zaki,

    I do not find any reference about this "known issue".
    Is it related to SCOM or to the OS (WMI portion) ?

    Do you have more information on this ?


    Alain 
    Wednesday, February 10, 2010 1:38 PM
  • Hi Alain,

    By "known issue" I meant that team who developed this MP is aware of this issue and that this issue is critical.

    It is related to Microsoft Windows Server 2008 R2 Operating System MP.

    The plans about addressing this issue are not finalized yet. I will provide more information as soon as possible.

    Thanks,
    Zaki
    • Marked as answer by Graham Davies Sunday, February 28, 2010 3:04 PM
    Thursday, February 11, 2010 1:01 AM
  • Thanks for the info Zaki.
    Just to say that after further testing, we have a GPO setting that activates the Power Plan in High performance mode. Without any GPO the script runs without problem. The error on the script (event id 4001) is seen on all Win2K8 R2 servers but only some of them are not discovered correctly.

    I'll be waiting for this new MP version.

    Thanks again for your time passed on this post.

    Alain
    Thursday, February 11, 2010 12:23 PM
  • The updated MP is released and you can get more details in our blog post here.
    This posting is provided "AS IS" with no warranties, and confers no rights. Use of attachments are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
    Monday, March 22, 2010 5:57 PM