ExecQuery() returns Access_Denied RRS feed

  • Question

  • hi guys,

    I tried to connect a hyper-V server from a client machine with XP professional OS. I just used the sample code from the following MSDN link "ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.WIN32COM.v10.en/wmisdk/wmi/example__getting_wmi_data_from_a_remote_computer.htm".

    I succeeded in connecting the server but ExecQuery() method always returning Access_Denied error.

    In the server machine i allowed remote launch settings for the username thro which i try to connect and also i did firewall settings for WMI.

    Is there any other settings that need to be done in server or client machine to get the info right.

    Pls help me..!!

    Friday, April 16, 2010 2:13 PM

All replies