Unable to Add or Remove Features:

KB What

Member
Joined
Dec 22, 2019
Posts
10
Hi,

I am trying to upgrade some software that requires the following 3 Windows Features:
• Remote Desktop Services (Remote-Desktop-Services)
• Windows Media Foundation (ServerMediaFoundation)
• Application Server (AppServer)

The version of the software currently installed also requires the above features and those features are already installed and enabled (dism /online /Get-Features). My guess is the upgrade process needs to ensure those features are installed.

Looking at the log file of the installer, it executes the following command:
dism.exe /online /english /enable-feature /featurename:Remote-Desktop-Services /featurename:ServerMediaFoundation /featurename:AppServer /logpath:c:\somelogpath\RDS_Install.log

After working this out, rather than execute the upgrade installer, I am simply executing the DISM commands directly into an administrative command prompt. And to break it down even further, I am executing the DISM commands individually for each feature.
Each install attempt for each feature has a new CBS log and install log to make it easier to review.

I started with RDS, i.e.
dism.exe /online /english /enable-feature /featurename:Remote-Desktop-Services /logpath:d:\temp\Remote-Desktop-Services_no_source.log

I actually had a win with the RDS feature. Without specifying a source, the CBS log show this:
Exec: Not able to pre-stage package: Microsoft-Windows-Virtualization-RemoteFX-User-Mode-Transport-Package~31bf3856ad364e35~amd64~en-US~10.0.14393.0
This error is repeated for a number of DLLs.

I managed to get Remote Desktop Services dism command to succeed by adding the latest Servicing Stack and CU (matching the CU of the machine I am working on) to a stock install.wim. I simply added the install.wim:4 (datacenter edition) as a source to the dism command and it succeeded.

The AppServer DISM command executed without issue, no source required.

Unfortunately, this is where the success stops. I cannot get Windows Media Foundation installed. I have tried many different install.wim as source and none have helped.
I have included the log files, 2 for each feature except for AppSever (with and without source).

I have googled and googled and tried many different things. Most of the responses on social.technet (inc. those who logged tickets with MS) results in a repiar or rebuild (my very very last options) and even MS unable to help. IN saying that I do also have the option of logging a support ticket with MS.


This forum seems to the king of fixing these sorts of issues. Any assistance would be greatly appreciated.
 

Attachments

I have performed the sfc /scannow - log attached.

It bums out at 68% with the following error:

Code:
2021-02-05 13:42:37, Error                 CSI    00004a08@2021/2/5:02:42:37.123 (F) onecore\base\wcp\componentstore\deltastore.cpp(2483): Error STATUS_INVALID_PARAMETER originated in function ComponentStore::CRawStoreLayout::DecompressFile expression: Parameter check failed [gle=0x80004005]

Thanks.
 

Attachments

The more and more I look into this, the more I feel it's going to be extremely difficult to resolve.

While I am rebuilding, I'll leave the VM as is in case someone from the forum likes a good hair puller.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top