Cannot open Service Control Manager on computer

Tagged: 

This topic contains 2 replies, has 3 voices, and was last updated by Profile photo of JC JC 9 months, 3 weeks ago.

  • Author
    Posts
  • #30931

    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

  • #30932
    Profile photo of Will Murphy
    Will Murphy
    Participant

    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

  • #54789
    Profile photo of JC
    JC
    Participant

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

You must be logged in to reply to this topic.