Submit a ticketCall us

AnnouncementsSystem Monitoring for Dummies

Tired of monitoring failures disrupting the system, application, and service? Learn the key monitoring concepts needed to help you create sophisticated monitoring and alerting strategies that can help you save time and money. Read the eBook.

Get your free eBook.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Connecting to remote server failed with the message WinRM cannot complete the operation

Connecting to remote server failed with the message WinRM cannot complete the operation

Updated January 18, 2018

Overview

A SAM component monitor returns the following error:

 

Connecting to remote server failed with the following error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote computers within the same local subnet.

Environment

  • SAM, all versions

Cause 

WinRM configuration on the target server is incorrect or non-existent.

Resolution

  1. Verify that the WinRM service is started and Automatic.
  2. Make sure that there is no firewall in between the Orion server, or if there is, there are exceptions for port 5985 for HTTP, and/or 5986 for HTTPS.
  3. If those are verified, from an administrator command prompt run:
    winrm quickconfig -q

This will correct any issues found automatically, such as the LocalAccountTokenFilterPolicy, and you are ready to test again.

 

 

 

Last modified

Tags

Classifications

Public