I need to ensure that a particular service is always running on the computer. To do this, I use a bat with the command
sc start "servicename"
However, if the service has been marked for deletion, I get the above error. So, what is the proper way to solve this situation via bat?