Error 1053: The service did not respond to the start or control request in a timely fashion

  • Thread starter Thread starter pavankumar_872
  • Start date Start date
P

pavankumar_872

Guest
I am using sc.exe from CommandPrompt to create a windows service. But when i tried to run 'sc.exe create "sample_service" bin_path="C:\users\pavan\Desktop\notepad.exe" start=auto DisplayName="sample service" ' in CMD. I am facing the following error-

"Error 1053: The service did not respond to the start or control request in a timely fashion".


a.) I increased the timeout value to 200000 in "ServicesPipeTimeout" from regedit.

b.) https://support.microsoft.com/en-us/kb/839174

followed the above pasted link and i have microsoft .net framework service pack 1.1 to overcome this, but still the same issue

c.) when i tried to run the above command, i checked the task manager proceeses, the notepad.exe is running and the windows service status showing as "starting" forever.


How to resolve the below issue?

Continue reading...
 
Back
Top