Multiple choice technology

How will you disable restarting of IIS on the local system ?

  1. Iisreset

  2. inetmgr -disable

  3. IISreset /disable

  4. iisreset /donotreset

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The 'iisreset /disable' command prevents the IIS service from being restarted. This is useful during maintenance windows when you want to ensure IIS stays stopped. Option A without any flags would actually restart IIS. Option B uses 'inetmgr' which opens the IIS management console, not a command-line tool. Option D uses a nonexistent flag - the correct flag is '/disable'. Note: The command is typically case-insensitive, so 'IISreset' and 'iisreset' both work.