I recently came across the following error message when adding Server 2012R2 features. It indicates that Server 2012 R2 source files should be specified, even through I had already done so.
1 2 3 4 5 6 7 8 9 10 |
Add-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 + Add-WindowsFeature $WinFeatFrontEnd -Source "D:\sources\sxs" -Verbose + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature], Exception + FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand |
Thanks to Terence Luk I found the answer. After removing Windows security update KB2966828, the problem is resolved.
You can quickly check if the update is installed by running the following PowerShell:
1 |
Get-HotFix | Where {$_.HotFixID -like "*2966828*"} |
I suspect that this has been resolved in a later update, as I have not seen this before and the server in question was out of date by a few months.