Forum Discussion

gongyan's avatar
gongyan
Copper Contributor
May 03, 2023
Solved

Get-Counter: Could not find any performance counter sets on the 192.168.50.101 computer: error 80000

I use hyper-v to virtualize a Windows Server 2016 on my Windows 10. I ensured that the network between the host machine and the virtual machine is unblocked, as follows:       PS 2023年5月3日 16:44...
  • LainRobertson's avatar
    May 04, 2023

    gongyan 

     

    Your ping test doesn't prove you have connectivity since Get-Counter does not use ICMP.

     

    Get-Counter leverages SMB, which operates over TCP 445.

     

    You've only provided the first part of the error code, but my guess is the full error code is 800007d0. If this is the case, then you have something blocking your ability to reach TCP 445. That could be a firewall on your client, a firewall on the target host, or even a firewall appliance somewhere between the two.

     

    This is a Wireshark trace showing the repeated attempts to connect to TCP 445 during the connection attempt that ultimately fails with error 800007d0.

     

     

    Once you get past the firewall issue, you still need to have sufficient rights on the target host. If you do not, you will fail with error c0000bdb, for which I've included the Wireshark trace showing the "access denied" error sent from the target host back to the client.

     

     

    Cheers,

    Lain

Resources