hi when trying to install a program using powershell i get the following issue
C:\Program Files\fm2021> add-appxpackage -path .\appxmanifest.xml -register
add-appxpackage : Deployment failed with HRESULT: 0x80070005, Access is denied. AppX Deployment operation failed with error 0x0 from API Logging data because access was denied for file: C:\Program
Files\fm2021\microsoft.system.package.metadata, user SID: S-1-5-21-4238350349-2441648155-1045941222-1001
NOTE: For additional information, look for [ActivityId] 77ef7a60-8edb-0000-0a84-f077db8ed701 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 77ef7a60-8edb-0000-0a84-f077db8ed701
At line:1 char:1
+ add-appxpackage -path .\appxmanifest.xml -register
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (C:\Program Files\fm2021\appxmanifest.xml:String) [Add-AppxPackage], PSSe
curityException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand