Restarting the ColdFusion service

When restarting the ColdFusion service sometimes IIS connections get stuck.

To prevent the connections from getting stuck, you have to make sure IIS is stopped before restarting ColdFusion. Tedious work within the Services Manager. Instead, create a batch file with these contents:

net stop W3SVC
net stop "ColdFusion 11 Application Server"
net start "ColdFusion 11 Application Server"
net start W3SVC

Just be sure to replace the ColdFusion service name with your version.