Search code examples
iisconfigurationiis-express

How do I exit the IIS Express worker process without getting confirmation message?


Every time I right-click my IIS Express worker process to exit, I receive the following confirmation message: "Are you sure you want to stop all the worker processes and exit?"

Are you sure you want to stop all the worker processes and exit?

Is there a setting somewhere that will allow me to turn off this confirmation message?


Solution

  • There's not. But you can write a batch file to automate the termination.

    taskkill /im "iisexpress.exe"