I own an external HDD on which I installed a game from the Windows App store. My laptop got reset at some point and now the Windows App store wont recognize that it is installed there. I have tried to Manually Register the package via an administrator Powershell prompt, but it just returns an error about permissions. Does anyone have any idea on how I could register this package?
The command I used:
Get-AppxPackage | % { Add-AppxPackage -c -Register "D:\WindowsApps\Microsoft.SeaofThieves_2.95.2035.2_x64__8wekyb3d8bbwe\AppxManifest.xml" -verbose }
The Result:
Confirm
Are you sure you want to perform this action?
Performing the operation "Register package" on target
"D:\WindowsApps\Microsoft.SeaofThieves_2.95.2035.2_x64__8wekyb3d8bbwe\AppxManifest.xml".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
Add-AppxPackage : Deployment failed with HRESULT: 0x80070005, Toegang geweigerd.
error 0x80070005: Opening file from location: AppxManifest.xml failed with error: Toegang geweigerd.
.
NOTE: For additional information, look for [ActivityId] 4a766b3f-fac4-0004-1f28-774ac4fad601 in the Event Log or use th
e command line Get-AppPackageLog -ActivityID 4a766b3f-fac4-0004-1f28-774ac4fad601
At line:1 char:23
+ ... ckage | % { Add-AppxPackage -c -Register "D:\WindowsApps\Microsoft.Se ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (D:\WindowsApps\...ppxManifest.xml:String) [Add-AppxPackage], PSSecurityE
xception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
VERBOSE: Operation completed for: D:\WindowsApps\Microsoft.SeaofThieves_2.95.2035.2_x64__8wekyb3d8bbwe\AppxManifest.xml
User contributions licensed under CC BY-SA 3.0