Im attempting to install an appx package to a remote PC that's on my network and domain.
I figured it could be as simple as the following ps command:
Invoke-Command -ScriptBlock { powershell.exe -noprofile -executionpolicy bypass "<path to Add-AppDevPackage.ps1>" } -ComputerName <fully qualified PC name>
This command goes and does something but when I look at its output I see this:
error 0x80070005: Adding a tile failed with unexpected error.
NOTE: For additional information, look for [ActivityId] 5cbb8ed0-af81-0010-3d1c-bf5c81afd001 in the Event Log or use the command line Get-AppxLog -ActivityID 5cbb8ed0-af81-0010-3d1c-bf5c81afd001
And then looking at the activity log, I see this:
6/25/2015 4:30:40 PM 827 Capability parsing started for the package <app name omitted>
6/25/2015 4:30:40 PM 5060 error 0x80070005: Adding a tile failed with unexpected error.
6/25/2015 4:30:40 PM 303 error 0x80070005: While preparing to process the request, the system failed to register the windows.visualElements extension due to the following error: Access is
denied.
.
6/25/2015 4:30:40 PM 300 error 0x80070005: Cannot register the <app name omitted> package due to the following error: Access is denied.
.
6/25/2015 4:30:40 PM 605 The last successful state reached was ResolvedDeferredRegistrations. Failure occurred before reaching the next state RegistrationChanged.
6/25/2015 4:30:41 PM 401 Deployment Add operation with target volume C: on Package <app name omitted> from:
(file:/// <app name omitted>.appx) failed with error 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for help
diagnosing app deployment issues.
6/25/2015 4:30:41 PM 404 AppX Deployment operation failed for package <app name omitted> with error 0x80073CF6. The specific error text for
this failure is: error 0x80070005: Adding a tile failed with unexpected error.
I have double checked that I have permissions to install the app on the remote computer, so it makes me think it could be a ntlm double hop thing happening?
Is there actually a way to remotely install appx packages?- Moved by Rob Caplan [MSFT]Microsoft employee Saturday, June 27, 2015 12:25 AM deployment question not a dev question