To set the source file path for the sxs folder, complete these steps:
- Ensure you have the correct installation media mounted or available on your machine (e.g. insert the installation media CD or mount the ISO)
- Navigate to
<installation_media>Sources - Copy the
sxsfolder from theSourcesdirectory to any location on your local machine. In this example we are copying toC:Sourcessxs. (Note: You can copy this to a network location so that multiple machines get their source files from a single source if required) - Launch Registry Editor (Start >> Run >> regedit)
- Navigate to
HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesServicing - In this location, create the following registry entry:
“LocalSourcePath”=”C:Sourcessxs”(Note: If you copied thesxsfolder to another location then set this as the value) - Close the registry and re-install the Windows Feature using the GUI (i.e. either Control Panel >> Programs and Features or Server Manager)