sodcalculator

10 Tech How-To

Fix Optional Features Not Installing in Windows 11

Guide 10-19175 · Updated · Step by step

Optional features in Windows 11 (like .NET Framework, Hyper-V, or Windows Subsystem for Linux) sometimes fail to install with errors like 0x800F0922 or simply hang. This guide walks you through the most reliable fixes, from checking system health to resetting Windows Update components, so you can get the feature installed without a full system reset.

What You’ll Need

  • Administrator access to your Windows 11 PC
  • An internet connection (for downloading feature files)
  • Your Windows 11 installation media (optional, for repair installs)

Step-by-Step

  1. Run Windows Update Troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters, click Run next to “Windows Update,” and follow the prompts. This fixes common update corruption that can block optional features.
  2. Check for pending Windows updates. Open Settings > Windows Update and click Check for updates. Install any pending updates, then restart your PC and try installing the optional feature again.
  3. Use DISM and SFC to repair system files. Open Command Prompt as administrator (right-click Start, choose “Terminal (Admin)” or “Command Prompt (Admin)”). Run these commands one by one, pressing Enter after each:
    DISM /Online /Cleanup-Image /RestoreHealth
    sfc /scannow
    Wait for each to finish (DISM may take 15-30 minutes). Restart after both complete.
  4. Try installing via PowerShell. If the Settings app fails, use PowerShell. Right-click Start and select “Terminal (Admin)” or “Windows PowerShell (Admin).” Type the command for the feature you need. For example, to install .NET Framework 3.5:
    Enable-WindowsOptionalFeature -Online -FeatureName NetFx3 -All
    For other features, replace NetFx3 with the feature name. To list available features: Get-WindowsOptionalFeature -Online
  5. Install using DISM with source files. If the above fails, you can point DISM to Windows installation media. Insert a USB or mount an ISO of Windows 11, note the drive letter (e.g., D:), then run:
    DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:D:\sources\sxs
    Adjust the path if your media is on a different drive.
  6. Reset Windows Update components. Open Command Prompt as admin and run these commands in order:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 Catroot2.old
    net start wuauserv
    net start cryptSvc
    net start bits
    Restart your PC and try again.
  7. Perform an in-place upgrade repair. If nothing else works, download the Windows 11 ISO from Microsoft and run setup.exe from inside Windows. Choose “Keep personal files and apps.” This reinstalls Windows while preserving your data, often fixing deep corruption.

Common Mistakes

  • Skipping the restart after DISM/SFC. Always restart after system file repairs; otherwise, changes may not apply.
  • Using the wrong feature name. PowerShell and DISM require exact feature names. For example, “NetFx3” is correct for .NET 3.5, but “NetFx4” is not a valid name. Check with Get-WindowsOptionalFeature.
  • Running commands without admin rights. If you see “Access denied,” you didn’t open the terminal as administrator.
  • Forgetting to disable third-party antivirus. Some security software can block feature installation. Temporarily disable it (if safe) and try again.

Tips

  • Ensure enough disk space. Optional features need free space—check Settings > System > Storage to confirm you have at least 10 GB free.
  • Use the correct Windows edition. Some features (like Hyper-V) are not available on Windows 11 Home. Verify your edition in Settings > System  About.
  • Keep Windows fully updated. Many feature install failures are fixed by cumulative updates.
  • Try the offline installer. For .NET Framework, you can download the offline installer from Microsoft’s website instead of using Windows Update.

Troubleshooting

If the feature still won’t install, check the specific error code. Common ones include:

  • 0x800F0922: Often means the feature files can’t be downloaded. Try the DISM source method (Step 5) or reset Windows Update components.
  • 0x800F0954: Usually indicates a problem with Windows Update. Run the Windows Update troubleshooter and check that the Windows Update service is set to Automatic (services.msc).
  • 0x800F081F: The source files are missing. Use the installation media source method.
  • If the install hangs at “Searching for files…” Wait at least 30 minutes before giving up. If it never completes, run DISM with the source path.

If all else fails, consider using the “Reset this PC” option (Settings > System > Recovery) while keeping your files. This reinstalls Windows and usually resolves persistent feature installation problems.

Frequently Asked Questions

Why do optional features fail to install on Windows 11?

Common causes include corrupted system files, Windows Update service issues, insufficient disk space, or missing source files. The fixes above address these systematically.

Can I install optional features without an internet connection?

Yes, if you have Windows installation media. Use the DISM source method (Step 5) to install from the local files.

Will these fixes delete my files?

No, except for the in-place upgrade repair (Step 7) which preserves your files and apps. Resetting Windows Update components only renames folders, not your data.

How long does DISM take?

DISM can take 15-30 minutes or longer depending on your system. It may appear stuck, but let it finish.

Do I need to reinstall Windows if nothing works?

Not necessarily. The in-place upgrade repair (Step 7) is a less drastic option that often fixes the issue without a full reset. If that fails, a reset is the last resort.

Can I install optional features from the command line?

Yes, using PowerShell or DISM as shown in Steps 4 and 5. This is often more reliable than the Settings app.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →