Applications Systems

Failed to connect to the remote server, the following error message was returned: WinRM client received an HTTP status code 403 from the remote WS-Management service

This article provides brief information and steps to resolve the following error on SAM: WinRM client received an HTTP status code 403 from the remote WS-Management service

First published date

11/29/2018 10:53 PM

Last published date

4/9/2025 8:52 PM

Overview

Monitoring Windows Server components(e.g. Powershell Monitor, AppInsight for IIS, etc) may generate the error message below:
 

Failed to connect to the remote server, the following error message was returned: WinRM client received an HTTP status code 403 from the remote WS-Management service

Product section

Server Application Monitor

Cause

A proxy is configured in SAM server for WinHTTP connections

Resolution

Reset winhttp proxy settings to enable SAM to connect directly to target servers

  1. In the SAM server, run Command Prompt as Administrator
  2. Execute the command below

    netsh winhttp reset proxy