Where can the Sources\SxS” folder be obtained from?

Cataster picture Cataster · Apr 2, 2019 · Viewed 38k times · Source

I am getting an error when I run this command in PowerShell:

Install-WindowsFeature -Name Web-Net-Ext -source D:\Sources\SxS

Install-WindowsFeature : The request to add or remove features on the specified server failed. Installation of one or more roles, role services, or features failed. The source files could not be found.

Every article and blog I've read says that that path needs to be specified. How can a reference to this folder be obtained?

Answer

Cataster picture Cataster · Apr 2, 2019

Figured it out

  1. Download the .ISO for Windows Server 2016 (could be the 180 day evaluation version). https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2016

iso

  1. Mount the .ISO as a drive. mount

this is mounted by default to D:

  1. Copy the /sources/sxs folder to wherever it needs to go. by default, the SxS file will be at D:\Sources\SxS

  2. run the command :D

    Install-WindowsFeature -Name Web-Net-Ext -source D:\Sources\SxS