none
Access denied for WMI connection in AWS EC2 based vm machine. RRS feed

  • Question

  • Hello,

    I have a AWS EC2 based vm machine. Here are the details...

    AMI name :Microsoft Windows Server 2012 Base

    Instancetype:m3.medium(cpu capacity and storage)

    Elastic IP:52.200.153.32

    All tcp,udp,rdp,icmp  ports are available, and remote desktop connection is possible.

    As I wanted to monitor this using WMI, to connect it through WMI Explorer, I had to add this to my PCs hosts (C:\Windows\System32\drivers\etc) list. I have referred the following URL for this... https://social.msdn.microsoft.com/Forums/vstudio/en-US/99c278fe-df63-408b-b5b1-b95554b6b630/access-wmi-to-nated-machine?forum=netfxbcl

    After adding this VM to hosts list, I could query this using WMI Explorer... But when I tried this WMI query inside a REST service, it thrown me an access denied message....

    It would be nice, if anyone could shed some light into this issue...

    Thursday, March 31, 2016 9:08 AM