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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
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