How to install IIS using Windows CMD


This knowledge base provides step-by-step instructions on how to install Microsoft Internet Information Services (IIS) on a Windows operating system using the Command Prompt (CMD).


  • We can reduce the process of installing IIS to a one-line command. It can be done in Windows Command Prompt.
  • Type cmd┬áin the search bar and the top result should be Command Prompt. Click on Run as administrator.