By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: How to Fix PowerShell 0x800f0906 Error when Installing Windows Features
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
IT Pro

How to Fix PowerShell 0x800f0906 Error when Installing Windows Features

Published February 18, 2024
3 Min Read
SHARE

How to Fix PowerShell 0x800f0906 Error when Installing Windows Features. PowerShell The source files could not be downloaded.

Contents
SolutionSolution

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 downloaded.

Use the “source” option to specify the location of the files that are required to restore the feature.

For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.

Error: 0x800f0906 At line:1 char:1

+ Install-windowsfeature NET-Non-HTTP-Activ

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo          : InvalidOperation: (@{Vhd=; Credent…Name=localhost}:PSObject) [Install-WindowsFeature],Exception

+ FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Windows.ServerManager.Commands.InstallWindowsFeatureCommand

Solution

1. Insert Windows installation disk to your CD/DVD drive or mount *.iso image;

NOTE: Better use the same language for Windows distributive as you have installed on your workstation.

2. Run Windows PowerShell as admin;

3. Add the source option to your cmdlet:

Install-windowsfeature NET-Non-HTTP-Activ –Source E:\Sources\Sxs

You can also specify a *.wim file to look for source files:

Install-windowsfeature NET-Non-HTTP-Activ -Source wim:C:\win2016.wim:1

PowerShell 0x800f0906. PowerShell The source files could not be downloaded.

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 downloaded.

Use the “source” option to specify the location of the files that are required to restore the feature.

For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.

Error: 0x800f0906 At line:1 char:1

+ Install-windowsfeature NET-Non-HTTP-Activ

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo          : InvalidOperation: (@{Vhd=; Credent…Name=localhost}:PSObject) [Install-WindowsFeature],Exception

+ FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Windows.ServerManager.Commands.InstallWindowsFeatureCommand

Solution

1. Insert Windows installation disk to your CD/DVD drive or mount *.iso image;

NOTE: Better use the same language for Windows distributive as you have installed on your workstation.

2. Run Windows PowerShell as admin;

3. Add the source option to your cmdlet:

Install-windowsfeature NET-Non-HTTP-Activ –Source E:\Sources\Sxs

You can also specify a *.wim file to look for source files:

Install-windowsfeature NET-Non-HTTP-Activ -Source wim:C:\win2016.wim:1
TAGGED:Microsoft Windows ServerPowerShellWindows
Previous Article Office Insider 2001 for Windows
Next Article SCCM KB4535819
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
adbanner
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?