none
Can't detect if HyperV role is enabled. RRS feed

  • Question

  • I need to detect if Hyper-V role is enabled on W2k8 r2.
    I use Win32_ServerFeature wmi class for getting feature with ID=20. I have 4 contexts of working of my application. In one context enumerating of features fails with error=WBEM_E_FAILED.

    Contexts:

    Application is run under Administrator. Ok

    Application is run as a service under Administrator. Ok

    Application is run under a User (not Administrator). Ok.

    Application is run as a service under a User (not Administrator). Failed.

    What is the problem? Are there any other solutions for detecting if HyperV role is enabled?

    Thanks.

     

    Thursday, July 29, 2010 2:10 PM

Answers

All replies