Windows remote management service issue – Quick Fix

Environment : Server 2012 Standard

Error message: The Windows Remote Management (WS-Management) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

WinRM_ID issue

If you try to restart the Windows Remote management service you will receive the above error message. Additionally If you try to manage this server from a different server you will see that the server with “Verify winrm 3.0 service is installed running and required firewall ports are open” this message.

So first troubleshooting step would be to run the command “WinRM id” and observe the output.

WSManFault
Message = The WS-Management configuration is corrupted. Use the following command to restore defaults:

Then add any custom configuration settings.

Error number: -2144108539 0x80338005
The WS-Management configuration is corrupted. Use the following command to restore defaults:

winrm invoke Restore http://schemas.microsoft.com/wbem/wsman/1/config @{}

Then add any custom configuration settings.

So on a healthy server if you run the same command “WinRM id” you will see the output as below.

C:\Users\Renjith>winrm id
IdentifyResponse
ProtocolVersion = http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd
ProductVendor = Microsoft Corporation
ProductVersion = OS: 10.0.14393 SP: 0.0 Stack: 3.0

 

So to fix this issue export the below registry key from one of the working server of the same Windows version and import it on the problamatic server. Then simply restart the “Windows Remote Management (WS-Management)” Service.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.