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
sxs
folder from theSources
directory to any location on your local machine. In this example we are copying toC:\Sources\sxs
. (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
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Servicing
- In this location, create the following registry entry:
“LocalSourcePath”=”C:\Sources\sxs”
(Note: If you copied thesxs
folder 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)