1

Due to turn windows features on or off is blank, so I need to install IIS using command line, How can I install default IIS using command line?

Saif
  • 2,611
  • 3
  • 17
  • 37
  • I am wondering why this question voted down without any reason! if you do not understand, just let me know to explain further – Saif Apr 20 '16 at 07:46
  • I am wondering why my answer voted down without any reason! – Milán Pintér Apr 20 '16 at 09:46
  • Your answer is voted down because on `embedded` system, there're only a few items in the optional features. You are supposed to select everything you need before the system is installed – Andrey Marchuk May 19 '16 at 12:48

2 Answers2

1

I have found a solution to it. See: http://reboot.pro/topic/16383-windows-embedded-standard-7-add-packages-on-a-live-image/

Basically you need to get the .cab package from the installation dvd and then feed it to DISM, like: DISM.exe /online /Add-Package /PackagePath:C:\Temp /NoRestart

Andrey Marchuk
  • 13,301
  • 2
  • 36
  • 52
-1

Have you try to use the optionalfeatures command? Are you administrator on the computer?

enter image description here

Also you can try the DISM if the above doesn't work for you.

Milán Pintér
  • 232
  • 1
  • 8