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

Hi

Modern applications (appx) are installed via the Microsoft Store, authentication to the store is based upon your Microsoft Live ID. As a consumer you simply click on the store icon and use the Windows 8/8.1 Store to get an application. However if you are an Enterprise looking to get Metro applications onto your employees/students or lab Windows 8 desktops then you will likely want to do it more directly.

Which is where sideloading fits in.

Microsoft Technet has detailed documentation on Windows 8 Sideloading to add and remove line-of-business (LOB) Metro style apps.

Windows 8.1 Update: Sideloading Enhancements

http://blogs.windows.com/itpro/2014/04/03/windows-8-1-update-sideloading-enhancements/

Try it out: sideload Windows Store apps

https://technet.microsoft.com/en-us/windows/jj874388.aspx

Regards,

D. Wu

Free Windows Admin Tool Kit Click here and download it now
June 30th, 2015 2:39am

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

Other recent topics Other recent topics