Cannot open Service Control Manager on computer

Welcome Forums General PowerShell Q&A Cannot open Service Control Manager on computer

This topic contains 2 replies, has 3 voices, and was last updated by

YCE
 
Participant
2 years, 2 months ago.

  • Author
    Posts
  • #30931

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

    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
    YCE

    Participant
    Points: 12
    Rank: Member

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

The topic ‘Cannot open Service Control Manager on computer’ is closed to new replies.