Windows Service faield to start on installation

Gudala, v s s GayatriKumar 1 Reputation point
2022-03-23T10:46:11.59+00:00

Hello,

We have a trouble with Window Service is not starting on installation. Actually, our installer will install windows service along with our application. However, the installed windows service is failed to start on installation with following error "Service <service name> failed to start. Verity that you have sufficient privileges to start the system services."

  • Also, we found out attached log in event viewer. Refer Image 1.
  • Also, we have tried to start the service manually in Services.msc and it is failed with error 1053 “Windows could not start the Service on Local Computer”. Refer Image 2.

Kindly provide resolution steps for this service starting error soon.

Image 1 :
![186039-image.png][2]

Image 2:
186065-image.png

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,818 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MotoX80 32,326 Reputation points
    2022-03-23T12:33:07.37+00:00

    Your program is crashing. Check the problem history in: Control Panel\System and Security\Security and Maintenance\Reliability Monitor

    Error reports are here: C:\ProgramData\Microsoft\Windows\WER\ReportArchive

    Have you developer look at that.

    If he needs a full dump you can use Procdump to catch the exception.

    https://learn.microsoft.com/en-us/sysinternals/downloads/procdump

    If you want to see what files are being accessed, trace the startup with Process Monitor.

    https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

    0 comments No comments

  2. Limitless Technology 39,436 Reputation points
    2022-03-29T13:46:10.173+00:00

    Hi @Gudala, v s s GayatriKumar

    It seems its custom service or Non Microsoft service So best it to get in touch with Developer or third party provider to troubleshoot more , But I can provide general guides to resolve this.

    1. Please try to remove service using below command and try to install it again sc delete < service Name >
    2. Please verify all dependencies installed to run this service ( Dot net frame work or any other run time )
    3. Please Disable any Antivirus program or Windows firewall you may have for temporary purpose.
    4. Cleanup below Temp folders
      C:\Windows\Temp
      %USERPROFILE%\AppData\Local\Temp
    5. Please verify this service is compatible to run with architecture of OS like 32 bit or 64 bit.

    Hope this answers your question :)
    Thank you.

    --
    --If the reply is helpful,please Upvote and Accept as answer--

    0 comments No comments