Cannot open Service Control Manager on computer


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

  • Author
  • #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 ''. This operation might
    require other privileges.
    At line:1 char:1
    + Get-Service -ComputerName
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Get-Service], InvalidOperationException
    + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetServi

  • #30932
    Profile photo of Will Murphy
    Will Murphy

    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 Jarek C.
    Jarek C.

    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.