Auf Windows Server 2022 Core kann kein AppX-Paket installiert werden, da die Erweiterung „windows.capability“ nicht registriert ist

Auf Windows Server 2022 Core kann kein AppX-Paket installiert werden, da die Erweiterung „windows.capability“ nicht registriert ist

Bei der Installation über Add-AppxPackageein Cmdlet tritt ein Fehler auf:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be
registered.
error 0x80040154: Cannot register the request because the following error was
encountered while initializing the windows.capability extension: Class not registered
.
NOTE: For additional information, look for [ActivityId]
66806e04-39e0-0000-bb37-17e40d75d901 in the Event Log or use the command line
Get-AppPackageLog -ActivityID 66806e04-39e0-0000-bb37-17e40d75d901
At line:1 char:1
+ Add-AppxPackage .\Microsoft.VCLibs.x64.14.00.Desktop.appx
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\Users\Admin\...00.Desktop.appx:String) [Ad
   d-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Comm
   ands.AddAppxPackageCommand

Ich glaube, diese Nachricht besagt, dass das AppX-Paket einen <windows.capability>Abschnitt im Manifest-XML hat, der zugehörige Handler aber nicht registriert ist.

Was soll ich tun? Was kann ich tun?

verwandte Informationen