I am getting

> 
> [SC] StartService FAILED 1056 An Instance of this service is already running`
> 
> 
> 

for `w3svc` when I try to start the service in a batch file using:

```
sc \\%server% query w3svc | find "STATE" | find "RUNNING"
sc \\%server% start w3svc

```

This only happens when I run the build after making a change. 

For some reason it is saying that the service is running, when in fact, it is not.