Installing remotely

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? 
June 26th, 2015 6:09am

The second link describes how to install an app if I were running commands directly on the target machine. But I am trying to install it from a remote powershell session.


Free Windows Admin Tool Kit Click here and download it now
June 30th, 2015 7:52pm

The second link describes how to install an app if I were running commands directly on the target machine. But I am trying to install it from a remote powershell session.


June 30th, 2015 11:50pm

Hi,

Installing appx with sideloading require volume license and other requirements, you could not install it directly on client machine. Refer to volume license center and make sure your environment meet these requirements for side loading. Regarding to side loading question, Id suggest that we post at MSND forum. There you can get more effective suggestion by other experts who familiar with Windows modern apps sideloading. Your understanding is highly appreciated.

MSDN->Publishing Windows Store apps

https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowsstore

Regards,

D. Wu

Free Windows Admin Tool Kit Click here and download it now
July 5th, 2015 10:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics