4
Answers

How To Restart WIndows Service On Reboot.

Hi
 
 I have developed a windows service for sending data to server at specific time and as well as at regular interval of time.Its working fine as per my requirment but its not working on system reboot.service state is showing as running but its not doing any task.however my restarting manually daily once again its working fine. so my question is i don't want to restart it manually daily,it has to restart itself on reboot .so please guide me how can achieve this .
 
 
 
                       Thanks.
Answers (4)
0
Rajeev Ranjan

Rajeev Ranjan

NA 6.3k 1.7m 9y
During system boot, the SCM (service control management) starts all auto-start services and the services on which they depend. If an auto-start service with a SERVICE_ERROR_CRITICAL error control level fails to start
0
Archana Rajole

Archana Rajole

NA 6 2.9k 9y
ya its automatic.
0
Rajeev Ranjan

Rajeev Ranjan

NA 6.3k 1.7m 9y
Dear Archana

did you assign your service automatically or not??
0
Sneha Sneha

Sneha Sneha

NA 218 905 9y
you can choose it as start up process.for this type msconfig in run and u will get the option of startup services.