VC++ Windows Service (VS2019) could not start and displays Error 1053 in Win Server 2019

Chandra Sekhar K 40 Reputation points
2024-01-24T18:34:46.4533333+00:00

VC++ Windows Service (VS2019 Platform toolset, Win SDK 10) is not getting started and displays alert message like "Windows could not start the <service name> service on Local computer. 
Error 1053: The service did not respond to the start or control request in a timely fashion". It is happening after it is getting migrated to Win Server 2019. Same service works fine in Win Server 2012 without any issue. Another vc++ windows services is running fine in the same server. Issue related service is using RPC and other components when compared to the one which works fine. Have already tried adding ServicesPipeTimeout in registry, Admin mode to run service etc but no luck. Please suggest if anyone has any clue on this issue.

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

1 answer

Sort by: Most helpful
  1. Chandra Sekhar K 40 Reputation points
    2024-02-21T07:43:01.55+00:00

    By keeping logs in each code block in service and as suggested by @RLWA32 , I was be able to identify the issue related to one of the application registry setting missing. After that registry key, service has started running without any issue.


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.