I fail to install the Xaml.2.6.Appx Error Code-0x80073D02

Tom_Sun 0 Reputation points
2024-01-24T02:57:04.7933333+00:00

Could someone tell me what can i do to slove this? =====environment ======= Windows 11 专业版 22H2 Operating system version: 22621.3007 ====terminal log =====
PS C:\Users\Administrator\Desktop> Add-appxPackage Xaml.2.6.Appx Add-appxPackage : 部署失败,原因是 HRESULT: 0x80073D02, 无法安装程序包,原因是它修改的资源当前正在使用中。 错误 0x80073D02: 无法安装,因为需要关闭以下应用: Microsoft.WindowsTerminal_1.18.3181.0_x64__8wekyb3d8bbwe。 注意: 有关其他信息,请在事件日志中查找 [ActivityId] a6a4aab4-4e6c-0000-4206-a5a66c4eda01,或使用命令行 Get-AppPackageLo g -ActivityID a6a4aab4-4e6c-0000-4206-a5a66c4eda01 所在位置 行:1 字符: 1

  • Add-appxPackage Xaml.2.6.Appx
  •     + CategoryInfo          : NotSpecified: (C:\Users\Admini...p\Xaml.2.6.Appx:String) [Add-AppxPackage], Exception
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
    

PS C:\Users\Administrator\Desktop> Add-appxPackage Xaml.2.6.Appx Add-appxPackage : 部署失败,原因是 HRESULT: 0x80073D02, 无法安装程序包,原因是它修改的资源当前正在使用中。 错误 0x80073D02: 无法安装,因为需要关闭以下应用: Microsoft.WindowsTerminal_1.18.3181.0_x64__8wekyb3d8bbwe。 注意: 有关其他信息,请在事件日志中查找 [ActivityId] a6a4aab4-4e6c-0000-720e-a5a66c4eda01,或使用命令行 Get-AppPackageLo g -ActivityID a6a4aab4-4e6c-0000-720e-a5a66c4eda01 所在位置 行:1 字符: 1

  • Add-appxPackage Xaml.2.6.Appx
  •     + CategoryInfo          : NotSpecified: (C:\Users\Admini...p\Xaml.2.6.Appx:String) [Add-AppxPackage], Exception
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
    

PS C:\Users\Administrator\Desktop>

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2024-01-24T16:34:44.91+00:00

    It looks like you're already running PowerShell using the "Administrator" account, but have you started PowerShell with "Run as administrator" while also logged on as the Administrator account? You probably need both because the package is installed in a users' account. Is it possible that the package can't be installed because the software's being used by something else running on the system?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.