@echo off setlocal set "ASPC_STARTER_ROOT=%~dp0" set "IISEXPRESS=C:\Program Files\IIS Express\iisexpress.exe" rem IIS Express only runs ONE site per process, even when applicationhost.config rem defines several with serverAutoStart="true" (that attribute is honored by rem full IIS/W3SVC, not by a single ad-hoc iisexpress.exe invocation - per rem "iisexpress /?": "/config:config-file ... runs the first site in the rem specified configuration file"). So each site gets its own process here. echo Starting production site (http://localhost:8080/) ... start "IIS Express - Production (8080)" "%IISEXPRESS%" /config:"%~dp0applicationhost.config" /site:"Development Web Site" echo Starting tests site (http://localhost:8081/) ... start "IIS Express - Tests (8081)" "%IISEXPRESS%" /config:"%~dp0applicationhost.config" /site:"Tests Web Site"