Issue: WinRM QuickConfig Fails – WSManFault Error 0x80338012

ramin azali 0 Reputation points
2025-04-30T10:01:14.75+00:00

Hello Microsoft Support,

I'm experiencing a persistent issue when trying to configure WinRM on a Windows Server 2019 machine. When I run the winrm quickconfig or Enable-PSRemoting -Force command, I receive the following output:

winrm qc

WinRM is not set up to receive requests on this machine. The following changes must be made: Start the WinRM service. Make these changes [y/n]? y

WinRM has been updated to receive requests. WinRM service started. WSManFault Message = The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". Error number: -2144108526 0x80338012 The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: "winrm quickconfig". actually i try to run anyhting i getting this error speak be my side in this question write we tested and worked or not and write all information that we done at the general with default values , removed and reinstalled and clean the question for microsoft

Despite the message saying "WinRM service started," I am unable to use WinRM or PowerShell Remoting, and every attempt results in the same error.

Environment

OS: Windows Server 2019 (fully updated)

Account: Running everything under Administrator (elevated PowerShell)

Goal: Enable PS Remoting / manage the machine remotely using WinRM

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,777 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Geoff McKenzie 860 Reputation points
    2025-05-01T01:50:09.9+00:00

    Hi Ramin,

    Have you tried This article?
    https://learn.microsoft.com/en-us/troubleshoot/windows-client/system-management-components/errors-when-you-run-winrm-commands
    winrm invoke Restore winrm/Config

    followed by

    winrm quickconfig

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.