Cannot open Service Control Manager on computer

Hi All,

I am getting the below error when i tried to view the services on remote machines in different network. Is it related any firewall or GPO?

Get-Service : Cannot open Service Control Manager on computer ‘xxx.xxx.xxx.xxx’. This operation might
require other privileges.
At line:1 char:1

  • Get-Service -ComputerName xxx.xxx.xxx.xxx
  •   + CategoryInfo          : NotSpecified: (:) [Get-Service], InvalidOperationException
      + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetServi 
     ceCommand

Could be a lot of reasons. The error you’re seeing is the catch all exception.

  1. Check the computer name and make sure you can ping it.
  2. Is the computer on the same AD domain as you? If so does the account you’re using have permissions to view the services.
  3. Can you run this command against another machine and it work, if so your machine’s fw/policies aren’t blocking.
  4. Check the remote machines firewall

What firewall rule should I be checking in this case as it seems I have the same problem?