WinRM service could not start

Martin Kováč 1 Reputation point
2024-01-18T13:53:35.29+00:00

Hi, our domain joined windows 2019 standard server is unable to start WinRM service. There is an even in system eventlog 10119: The WinRM service is unable to start because of a failure during initialization. Additional Data The error code is 234. Can you help us how can we fix this issue ? Is there a way how to reinstall WinRM service ?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,970 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Karlie Weng 19,141 Reputation points Microsoft External Staff
    2024-01-19T05:43:42.84+00:00

    Hello Martin Kovac,

    Here are a few things to consider:

    • Confirm whether the required ports for WinRM are open and accessible. The default ports are 5985 for HTTP and 5986 for HTTPS. To confirm WinRM is listening on HTTPS, type the following command: winrm enumerate winrm/config/listener
    • Try running the command winrm quickconfig in Command Prompt with administrator privileges. This command helps configure the WinRM service with default settings and might provide additional information on any configuration issues
    • Check if the WinRM service dependencies are met. Specifically, ensure that any services or components that WinRM relies on are running and configured correctly.

    User's image

    I hope this helps! Please let me know if you need any further assistance.

    ---If the Answer is helpful, please click "Accept Answer" and upvote it.


  2. Amit Singh 5,221 Reputation points
    2024-01-22T05:56:20.3266667+00:00

    I'd suggest checking the event logs for events for this service and using the details for further investigation. Have you seen this thread?  https://social.technet.microsoft.com/Forums/en-US/ad600d2b-a8af-431f-a1c0-42e6ddfa22b8/winrm-wont-start-with-nt-authority-and-when-started-under-another-account-a-connection-error?forum=ITCG


  3. Guido Steeghs 0 Reputation points
    2025-03-14T10:45:15.46+00:00

    We had the same issue on Windows 2016 and Windows 2022 servers. The root cause was a GPO which contained incorrect settings: User's image

    This was applied on the HTTP service on which WinRM is depended on. Changing the REG_SZ to REG_DWORD solved the issue immediately. Adding this to this article as this is exact the same issue. Unfortunately for us, there was not yet a solution known. Hopefully this helps others in the future.

    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.