This post discusses 4 ways to still enable the optional features in Windows while offline.

Error Code 0x8024402C

If you try and install a Windows optional feature without an internet connection, you will receive an error code 0x8024402C stating the following:

Error Code 0x8024402C Windows Feature Source Files How to Get Windows Feature Name How to Enable Windows Features While Offline Enable Windows Optional Features Using Command Prompt Enable Windows Optional Features Using PowerShell Enable Windows Optional Features through Group Policy Using Windows Registry Closing Words

This occurs when you either do not have an internet connection to download the files required for the feature, or are blocked behind Windows Server Update Services (WSUS). In that case, follow the guide given in this post to successfully install the Windows feature(s) that you require. Before we dig into the methods to enable the feature(s), let us understand how the task is achieved and what information may be required beforehand.

Windows Feature Source Files

As we mentioned, Windows downloads the source files for the respective features to enable them. However, these source files are already present in the installation media, such as an ISO file for Windows, in a folder named “SXS“. Unfortunately, these files are not moved to the local PC while installing Windows. Within the installation media, the SXS folder can be found at the following path: While offline, this folder is essential in installing the optional Windows features. Without the source files, you will not be able to install the feature(s).

How to Get Windows Feature Name

Two methods to enable Windows optional features while offline use the Command Line Interface (CLI). For these methods, you will need to know the technical names of the feature(s) that you wish to enable, as their technical names can defer from the ones shown in the “Turn Windows features on or off” window. For that, launch Command Prompt with administrative privileges and paste the following command: This command will display the technical names of the features, as in the image below. If you are still confused about which name corresponds to which feature, a simple Google search would be helpful.

How to Enable Windows Features While Offline

Before you start with the given methods, make sure you have a valid installation media for the same Windows version you want to enable the feature on. You can check your Windows edition and build number by typing in winver in Run.

Enable Windows Optional Features Using Command Prompt

Follow the steps below to enable Windows optional feature(s) when offline through Command Prompt: The respective features will now be enabled. You can repeat step 3 to enable multiple optional features in Windows by replacing FName. Alternatively, you can also copy the SXS folder from the installation media to a local drive and replace the path to the folder in step 3 above. If you wish to disable the feature in the future, this can be done using the conventional method (through “Turn Windows features on or off” or by using the following command (Replace FName with the feature’s technical name):

Enable Windows Optional Features Using PowerShell

You can also achieve the same using Windows PowerShell. Here is how: The respective Windows feature will now be enabled. If you wish to disable it, use the following command while replacing FName with the technical name of the feature:

Enable Windows Optional Features through Group Policy

If you are not comfortable using CLI, here is how to enable Windows optional feature(s) through the Graphical User Interface (GUI): As you proceed with step 8, you may notice that Windows automatically detects the source files and enables the feature(s), rather than asking you whether to download the source files through Windows Update or cancel the process. You can also disable the feature just as easily through the conventional method, with no additional steps required. In the future, if you wish to download the source files through Windows Update (active internet connection required), you will need to return to the Group Policy and select the Disabled radio button.

Using Windows Registry

As with the Group Policy method above, you can also use Windows Registry to point your system towards the local SXS folder, instead of going on the internet for the source files. Here is how: Misconfiguration of critical values in the system’s registry could be fatal for your operating system. Therefore, we insist that you create a system restore point before proceeding with the process. If you proceed with the last step, Windows will enable the optional feature(s) without asking to download through the Windows Update or aborting the operation entirely. Furthermore, you can use the same menu to disable any enabled feature(s). However, if you wish to download the source files through Windows Update (active internet connection required), you will need to return to the same location inside Windows Registry as in step 3 above, and delete the registry value LocalSourcePath.

Closing Words

In a corporate environment where hundreds of computers sit behind a proxy server, it is often found that Microsoft servers are blocked and WSUS is used to update Windows. In that case, you will need to use the SXS source files to install certain optional features. If you have to enable such features on more than one PC, it is recommended that you place the SXS folder on a shared network drive, map it to each PC, and then provide the path for the SXS folder where required.