windows service on start code is not executing while shutdown and restart device. But while device is restarting on start code is running. I want to execute a process while device is starting. while device starts service will start. so I thought inside onstart I can run the process. But while simply shutdown and power ..