Sideloading metro apps for all users

I am having problems with my sideloaded metro app…… Doesn’t seem to work anymore on any of my machines.
For the first few months, I originally installed my Metro app by first installing the app’s signed certificate to the local machine root store (All OK), then running the following command logged on as the actual user I wanted the app run
under.
Add-AppxPackage
-Path "MyMetroApp.appx"
-ForceApplicationShutdown
While this method sort of worked, it had two problems:
I needed to manually renew the developer licence every 30 days running
Show-WindowsDeveloperLicenseRegistration
and I had to do this logged on as the user on the actual console, couldn’t to this using remote PowerShell.
I want to install the app properly for all users without needing to keep renewing the developer license. I have now run the following to install the app for all users:
#Allow Trusted Apps
New-Item
-Path "HKLM:\Software\Policies\Microsoft\Windows\Appx"
New-ItemProperty
-Path "HKLM:\Software\Policies\Microsoft\Windows\Appx"
-Name AllowAllTrustedApps
-PropertyType DWord
-Value 1
#Install the app for all users
Add-ProvisionedAppxPackage
-Online -PackagePath
"MyMetroApp.appx"
-SkipLicense
This method – even though it seemed to complete successfully, a couple of issues:
there’s no shortcut added to the start screen on one of my machines, so I can’t open the app
I am getting a message popup upon opening my app “The app can’t open: There's a problem with {app name}. Contact your system administrator about repairing or reinstalling it. [Close].” on another machine
Can someone please point me in right direction to get my app working again? I don’t think it’s anything major, I think I’m on the right track.

The main steps are detailed here:
https://technet.microsoft.com/en-us/library/hh852635.aspx
It sounds like the app needs to be un-provisioned on your troublesome machine ?
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Similar Messages

  • Adding a domain user to the admin role within the local user management breaks all metro apps for all users!!

    Hi,
    I have posted this in another large thread under the "Windows 8 General" group but have not had any appropriate feedback from MS.
    After hours of testing and working with other users I have managed to isolate a simple situation that breaks all metro ui applications within Windows 8 for all users on the machine. Here are my exact steps and notes.
    Before continuing if you are running Avast then your solution may be to turn of the behaviour shield functionality as this also breaks metro apps. This is NOT the problem we are having!
    I have performed 3 cleans installs after isolating the problem and am able to reproduce the issue every time using the same steps on two different machines. 
    First thing to say is that for us it has nothing to do with simply joining the domain, domain/group policies nor does it appear to have anything to do with the software we installed, the problem here is much more simple but the result is pretty terrible.
    Here are my exact steps of what I did to reproduce our problem:
    Complete format of HDD in preperation for a clean install
    Clean install performed
    Set up the machine initially with a local account
    Test metro apps - all working fine
    Open control panel from the desktop, click on System, change the system to join the domain, click reboot
    Log into the system using my domain account
    Test metro apps - all working fine
    Here's were the problem starts. I need my domain account to have admin rights on the local machine so I can install programs without the IT men having to come over and enter their password every 5 mins.
    I go to control panel via the desktop and click on User Accounts. From with here I then click on "Manage User Accounts". This requires the IT guys to enter their details to give me access to such functionality. This is fine
    In the dialog box that opens I can only see the local user that was initially created during setup. The "Group" for this local account shows as "Administrators" - Image included below (important to note that metro apps are working at this point)
    I click add and then add my domain account - also giving it administrator access
    Sign off or reboot to ensure the new security is applied
    Sign back in to the domain account
    Test metro - ALL BROKEN
    Sign out
    Sign in as local account
    Test Metro - NOW ALL BROKEN FOR THIS USER ALSO
    So as soon as I add my domain account to the local user accounts and set it as admin it breaks all metro apps for all users. This is on a totally clean install with nothing at all installed other than the OS.
    Annoyingly if I go back and change the domain account to a standard user or if I totally remove the domain account from the local account management system the problem does not go away for either user. basically it is now permanently broken. The only fix I
    could fathom was a full re install and not giving the domain user admin access to the local  machine.
    Screen one - this is the local user accounts window AFTER joining the domain and logging in with my domain account (All metro apps working at this point)
    Screen 2: User accounts AFTER joining the domain and AFTER adding domain account to local user management (METRO BROKEN)
    I have isolated my machine from all group policies so nothing like that is affecting me. Users I have spoken to in different companies have policies that automatically add users to the local user management. This means that metro apps break as
    soon as they join the domain which leads them to wrongly think it is group policies causing the error. Once they isolate themselves from this they can reproduce following my steps.
    Thanks

    Hi Juke,
    Thank you for the response and apologies for the delay in getting back to you. My machine was running a long task so I couldn't try your suggested solution.
    I had already tried running the registry merge suggested at the top of the thread to no avail. I had not tried deleting the OLE key totally so I did that and the problem still exists. I will post all the errors I see in event viewer below. For
    your info, since posting my initial comment I have sent out my steps to 7 different people and we can all reproduce the problem. This comes to 10 different machines (3 of them mine then the other guys) in 3 different businesses / domains. We see the same errors
    in event viewer.
    Under "Windows Logs" --> "Application" : I get two separate error events the first reads "Activation of app winstore_cw5n1h2txyewy!Windows.Store failed with error: The app didn't start. See the Microsoft-Windows-TWinUI/Operational log for additional
    information." The second arrives in the log about 15 seconds after the first and reads "App winstore_cw5n1h2txyewy!Windows.Store did not launch within its allotted time."
    Under "Windows Logs" --> "System" : I get one error that reads "The server Windows.Store did not register with DCOM within the required timeout."
    Under "Applications And Services Logs" --> "Microsoft" -->  "Windows" --> "Apps" --> "Microsoft-Windows-TWinUI/Operational" : I get one error that reads "Activation of the app winstore_cw5n1h2txyewy!Windows.Store for the
    Windows.Launch contract failed with error: The app didn't start."
    If you require any further information just let me know and I will provide as much as I can.
    Thanks

  • Any way to remove all "apps" for all users?`

    I get that the new start menu is a compromise, and it's neat that it's "back."
    What I'm not clear on, is if it's possible to remove/hide the "apps" for all users.
    I'm not keen on having all users have all of these, especially in a corporate environment.
    Would be preferable to have none, except for perhaps what's "allowed" by admins.
    Standard office users, power users, devs, artists, accountants, most folks at work simply don't have a use for most of these apps. I also don't want bandwidth constantly being used by any of the live tiles. If a user wants to know the weather, they can go to
    weather.com. If they want news, this is also available via any number of sites.
    The other compromise of having apps "windowed" is also nice, but for an office environment, I just don't see people firing up a sandboxed calculator app (or, any of the other built-in ones).
    Sorry, but honestly, I'd honestly just like to know if it's possible to set up a GPO, or use some other method to get the "apps" out of the way of the "standard office user."

    Hi techresource0,
    Use export-startlayout cmdlet to export the start menu configuration first:
    Export-StartLayout
    http://technet.microsoft.com/en-us/library/dn283401.aspx
    Windows 10 Technical Preview has a new policy under start menu  and taskbar:
    Meanwhile, I have two thoughts on this if you are planning your environment:
    One: a customized image.
    Two: customize default profile.
    For the first thought, you can uninstall all provisioned windows store app and then deploy this image to your environment. Of course, you can do this in an online system as well.
    Removing Windows 8.1 Built-in Applications
    http://blogs.technet.com/b/deploymentguys/archive/2013/10/21/removing-windows-8-1-built-in-applications.aspx
    For second thought, you may prepare default profile, it would always copy to new created user profile:
    Customize the default local user profile when preparing an image of Windows
    http://support.microsoft.com/kb/973289
    Alex Zhao
    TechNet Community Support

  • How to provision an app for all users with all dependencies?

    I have created an app package with VS that I want to provision for all users of a target system using
    DISM /Online /Add-ProvisionedAppxPackage /FolderPath:".\%package%" /SkipLicense
    The path contains the content of the *Test folders VS creates when creating store packages. However DISM expects a ".main" file in this folder to work (0xc1570102).
    What's the correct way to provision an app with all its dependency packages? (Using the PackagePath option?)

    After some further testing in Profile Manager I found that adding the applescript to items that open at logon seems to work. No need for the plist, unless of course I decide not to use Profile Manager at all.

  • Make a metro tile for all users

    I have a single WIndows Server 2012 running RDS with Desktop Experience Enabled.
    what I'm trying to figure out is how to create a Modern UI set of tiles that all users get on this box. presently, we log in as each user and add all the tiles manually.
    Is there a way to create a tile group and ensure that each user gets that set of tiles?
    For example: A tiles group called "Partner Websites" with individual tiles that are shortcuts to different websites?
    I don't have a lot of users in my company, but it's still a pain to have to reset up all tiles the same way for each user manually.
    In Xp/Vista/Win7 it used to be you could drop desktop or start menu shortcuts for "all users". Looking for the equivalent in Windows Server 2012 with Metro.
    Bob

    Hi,
    Thanks for posting here.
    Regarding your request, maybe we could deploy the metro tile via GPP. For details, please refer to the following article.
    Deploy Windows 8 Start Tiles Using Group Policy Preferences
    http://skatterbrainz.blogspot.in/2012/11/deploy-windows-8-start-tiles-using.html
    Hope it helps.
    Best Regards,
    Andy Qi
    Andy Qi
    TechNet Community Support

  • Install Air App for All Users

    Does air have an option to install the app across all users , not jus the current user?

    It would seem like that article ''should'' solve the problem, but it doesn't seem to have had any effect. I extracted the contents of the .xpi file into the browsers\extensions folder using the extension ID, yet that doesn't seem to have done anything. I ran firefox after copying the uncompressed files with an administrator account with no luck. Any thoughts?

  • Sideloading app on 8.1 for all users

    I want to sideload a windows 8.1 app for all users on a surface tablet. What I was originally doing was running a powershell script as part of a MSI to sideload an app using the
    Add-AppxPackage command. I have found out that I actually need to install the windows app for all users and from googling, it looks like
    Add-AppxProvisionedPackage is what I am looking for. However, it seems that this command is designed to modify a windows image or modify the Online (current install) to have this app when
    a new user is created as the documentation for -PackagePath reads "This package will be added for every new user account." I want the install to add the app to all current users on the machine and to allow new users to have this app as well that
    log into the machine. How can I do this?

    Hi,
    According to the article below, the command Add-AppxProvisionedPackage should be work to sideload store app to all user.
    https://technet.microsoft.com/en-us/library/hh824882.aspx
    https://technet.microsoft.com/en-us/windows/jj874388.aspx
    Sideload the app for all users
    DISM is a command-line tool that you can use to service a Windows image—online or offline. (If you are not familiar with DISM, see Deployment Image Servicing and Management Technical Reference.) You can use DISM to provision a Windows Store app in an online
    Windows image for all users who share the computer. To do that, you use the Add-ProvisionedAppxPackage option:
    Log on to contoso-pc using an account with administrative privileges on the computer. You must use an administrator account here, because you are provisioning an app in the image.
    On the Start screen, type PowerShell and press Ctrl + Shift + Enter.
    On the User Account Control dialog box, click Yes.
    At the Windows PowerShell prompt, run the following command, where SampleApp is the path and file name of the package file you created (for example, MySample_1.0.0.0_AnyCPU_Debug.appx):
    DISM /Online /Add-ProvisionedAppxPackage /PackagePath:“SampleApp” /skiplicense
    Monitor the installation, and close the Windows PowerShell window after it finishes.
    To test this example, you need to log onto to the computer using one of your test accounts. You cannot run the app by using the built-in local or domain Administrator account. In this case, we logged on to the computer as Mark. Then, on the Start screen, click
    the app to run it. (If you do not see the app on the Start screen, type the app’s name to find it, and then click the app’s tile.) After verifying that the app works for the current user account, log onto the computer using a different test account and run
    the app. Because you used DISM to provision the app in the image, it is available to both accounts.
    Roger Lu
    TechNet Community Support

  • Is there an easy way to add a desktop shortcut for all users?

    Looking for an easy way to add a shortcut to an app for all users.

    William is correct. There are global system settings, and then there are personal user settings. Adding a shortcut to the desktop, or more commonly the Dock is a personal setting.
    Unless its in some kind of mass deployment scenario where you can create a pre programed image for large amounts of computers which has it already has your app shortcut setup, its easier to just do it one user at a time.

  • Is GB 9.0.4 update today at App Store needed for all users, or just for Lion? Will it be in Software Update or is it paid update only? Please clarify

    Is the GB 9.0.4 update today at App Store needed for all users, or just for Lion? Will it be in Software Update or is it paid update only? Please clarify.

    I sure hope you are correct, Christoph. Seems one Mac site has questioned this also:
    http://www.tuaw.com/2011/07/11/iphoto-garageband-and-imovie-updated-in-mac-app-s tore/
    No iWeb updates either way so far. Not that I use it, just an observation.

  • How to uninstall a specific sideloaded app for mutiple users from windows 8.1 through windows power shell?

    I have sideloaded a windows 8.1 app for mutiple
    users in the device using the following command in windows power shell:-
    DISM /Online /Add-ProvisionedAppxPackage /PackagePath:”packagepath” /SkipLicense
    Now i want to un-install the same app for mutiple
    users in windows 8.1 since i want to install latest package of that app but i am not able to un-install the app for mutiple
    users in windows 8.1 using windows power shell
    This is what i have tried :-
    DISM.exe /Online /Remove-ProvisionedAppxPackage /PackageName: "PackageFullName"
    This what the error i am getting:-
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    Image Version: 6.3.9600.17031
    Error: 2
    The system cannot find the file specified.
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    Am i missing anything ??
    1)How to un-install a specific app for mutiple users in windows 8.1 using windows power shell??????
    2)What are the variousways/Alternatives to un-install a specific app for mutiple users in windows 8.1 using windows power shell??????
    Please let me know
    Looking forward for your response
    Thanks in advance

    I am getting the same error, though I have verified the package name is correct. I am trying to uninstall the Reader App from a captured WIM (offline). Any suggestions?
    dism /image:c\mount Get-ProvisionedAppxPackage Result:
    DisplayName : Microsoft.Reader
    Version : 2013.822.1823.785
    Architecture : neutral
    ResourceId : ~
    PackageName : Microsoft.Reader_2013.822.1823.785_neutral_~_8wekyb3d8bbwe
    Attempt to remove the app returns this same error message:
    C:\WINDOWS\system32>dism /image:c:\mount /remove-provisionedappxpackage /Package
    Name:Microsoft.Reader_2013.822.1823.785_neutral_~_8wekyb3d8bbwe
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    Image Version: 6.3.9600.17031
    Error: 2
    The system cannot find the file specified.
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    The error is accompanied by the following entries in the error log:
    2015-04-14 12:44:53, Error                 DISM   DISM Appx Provider: PID=9000 TID=8104 Failed to get staged packages for package 'Microsoft.Reader_2013.822.1823.785_neutral_~_8wekyb3d8bbwe'.
    - CPackageAdapter::CreateForRemove(hr:0x80070002)
    2015-04-14 12:44:53, Error                 DISM   DISM Appx Provider: PID=9000 TID=8104 Failed while initializing package adapter for package 'Microsoft.Reader_2013.822.1823.785_neutral_~_8wekyb3d8bbwe'
    - CAppxManager::RemoveAllUserAppx(hr:0x80070002)
    2015-04-14 12:44:53, Error                 DISM   DISM Appx Provider: PID=9000 TID=8104 Failed to remove package 'Microsoft.Reader_2013.822.1823.785_neutral_~_8wekyb3d8bbwe'
    - CAppxManager::ProcessCommandRemoveAllUserAppx(hr:0x80070002)
    2015-04-14 12:44:53, Error                 DISM   DISM Appx Provider: PID=9000 TID=8104 Failed processing command to remove Appx package - CAppxManager::ExecuteCmdLine(hr:0x80070002)

  • Request to make a free iwork apps for all ios device users

    I am using iphone 4s & ipad 4th gen, i have request you to make a free all iworks apps for all ios devices, these apps are really good for daily use in business & college also.
    Thank you

    You are not talking to Apple here, just us users. You can give feedback to Apple if you like, but most companies are unlikely to start giving away core products to everybody.

  • Set trusted protocols for all users

    we can´t find out how to add our protocol to registry (trusted protocols) for all users. 
    we are developing office addin, which enable insert special link to word document in format like this:
    corinth://app/foo?p1=vegetarian&p2=food
    our protocol is associated with our metro app, user click opens our metro app with some parameters which opens app and sets the app state using parameters contained in link
    Because our protocol is not trusted for all users, the annoying alert message appear, if user click on our link. Issue described here: https://support.microsoft.com/kb/925757?wa=wsignin1.0
    only way we have is adding our protocol to current user registry, like this:
    [HKCU\Software\Policies\Microsoft\Office\11.0\Common\Security\Trusted Protocols\All Applications\corinth:]
    What we have tried?
    * put it under same path in HKLM, but it doesn´t work.
    * registry propagation described in http://blogs.msdn.com/b/mshneer/archive/2007/09/04/deploying-your-vsto-add-in-to-all-users-part-i.aspx, but this solution were unable to write under security node
    Do you have any idea, how to solve our problem? How registr our protocol for all users?
    Edit: added link describing trusted protocols issue

    thanks for reply.
    But, your answer doesnt solve our problem. Maybe my question is imprecise. We have no problems to deploy VSTO addin for all users, also we have our certificate and we are trusted publishers.  We have problem with settings our protocol as trusted for
    all users. I apologize, becouse i inserted incorrect link to allert message, which points to trusted publishers issue. Correct link to our issue is https://support.microsoft.com/kb/925757?wa=wsignin1.0. What we need is set this registry HKCU\Software\Policies\Microsoft\Office\11.0\Common\Security\Trusted
    Protocols\All Applications\corinth: for all users, not only for current user. Registry propagation described in your first link is not working as i wrote in my original question:
    "* registry propagation described in http://blogs.msdn.com/b/mshneer/archive/2007/09/04/deploying-your-vsto-add-in-to-all-users-part-i.aspx,
    but this solution were unable to write under security node"

  • Audio output device same for all users Yosemite

    I use more then one account on my recent Macbook Pro.  For the first account I like to have the audio output set to the speakers but for the other account I want the audio output set to the headphones. 
    With Mavericks the Macbook remembered the last audio settings for each user account.
    With Yosemite any changes to the audio settings (input, output,system sound, etc.) on one account affects the audio setting on other the user account. 
    I tried various audio settings to see if it affected them all.  It seems to.
    I tried seeing if it happened only when the users accounts were logged in or it was different on boot etc.  It seems to always change the settings for all users no matter what. 
    I tried resetting the PRAM but that did not solve it.
    I tried a 3rd party program called AudiSwitcher from the App store to see if this could help but no luck.
    I searched here and more widely to see if anyone else was reporting this and found one other person who seemed to mention the same problem and they concluded "I did some tests and came to the conclusion that the system now does not remember settings for each user, and applies the current setting of audio output for all accounts."
    Curious to know:
         a) Does this affect other people?  If not, I'll look for conflicting apps on my computer.
         b) Is this intended behavior or should I look for a way to report it as a bug?
         c) And most importantly if there is a way around it? 
    Thanks!

    I'm also have the same problem. I tested it on fresh Yosemite installation without any additional software. Your mentioned my conclusion about tests.

  • HELP needed on Remote Management set to allow access for all users

    my mac mini snow leopard server runs in a data center and i use screen sharing to interact with it. i played with the sharing settings remotely yesterday and changed "allow access for" to all users. i was disconnected immediately and i couldn't logon again. i have no luck changing to other users. i don't want to make a special trip to the center to change it back to whatever it used to be. i can still use afp to connect but the screen sharing option is no longer available. what does "allow access for all users" mean anyway?
    thanks!

    As its name implies, allow access for all should allow any valid user account to access the server. I'm not sure why it's no longer working. It almost sounds like the ARDAgent crashed.
    Either way there's a command-line interface to the ARD preferences:
    /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/ki ckstart
    man kickstart discusses the options, including examples of how to enable access for specific users.

  • Set default application for *all* users

    Hello people, my 1st post here, so forgive me for possible imprecisions, ambiguity, inappropriateness....
    When I search how to set/change the default app for opening some type of file I always find the answer "through the getinfo". But doing that, I only change the default application for the current user.
    I want to do that for all users of my mac, without repeating the getinfo process for each of them.
    Is there any adminstrative tools for doing that?
    Thank you.

    You could download and install RCDefaultApp 2.1 for all users: check the Read Me and then test it on something to see if it accomplishes what you want.
    http://www.rubicode.com/Software/RCDefaultApp/

Maybe you are looking for

  • Can I sync my scandisk to a desktop folder?

    I'm a total newbie to the forums and to Macs for that matter. Anyhow, I've got a little 256MB flash drive (Scandisk). If possible, I'd like to know if OSx has any function or setting to automatically refresh a folder on my iMac from the contents of m

  • Strange Gradient Stroke Behavior on Some Path Corners

    Hello All, I'm a Photoshop user who has recently started learning Illustrator for a project. I am experiencing a strange behavior where some of the corners of a path with a gradient stroke overlap. In some of the corners, the stroke does not bend cle

  • Budgeting & Workflow variant

    Hi S.A.P Gurus Need to create Budgets for various locations, but i am able to create only on e FM area per company code. Can anyone tell me how the same can be done Workflow variant in compay code. How do i create the same & can you tell me the purpo

  • Numbers: how to edit multiple "sheets" "tables" all at the same time

    I have read earlier posts from 2004 about this topic. Hoping things have changes. I have 19 sheets/tables in a numbers file "Pigeonrecords.numbers". I would like to globally alter all of them a one time as new columns or rows are needed and or data t

  • Detect duplicates in ITAB

    Hi All, I want to detect all duplicates in itab and then display entries with duplicates. My itab only has one columns. How do I do this? I do not wish to delete the duplicates. Thanks. Tyken