"Iisreset /noforce"You can just run the command againg, and if it times out, run it once more, untill it completes.
BUT it's annoying and you have to monitor the command, to make sure IIS is not down more that necessary.
So I have begun just to run it as follows:
"iisreset /noforce /timeout:600"10 minutes is usually enough time, for iis to restart :-)
Restart attempt failed.
The service did not respond to the start or control request in a timely fashion. (2147943453, 8007041d)