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

Similar Messages

  • 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!)

  • 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

  • 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.

  • 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.

  • 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

  • Webex APP from BB.World throws all users out of running Webex

    Hi folks,
    Until recently, I could log into Webex calls and enjoy telephone and screen conferences using the BB Webex app.
    Received an OS update due to the Outlook issue ( KB35813 )
    I am now running a Z30 (OS 10.2.1.2941 / 10.2.1.3175 ) and the Webex App (3.5.0.443 )
    Yesterday I joined a running conf call using the app and upon joining
    ALL people were dropped from the call.
    Subsequent tests with colleagues confirmed this behaviour !
    Whenever I use the App to join a call - the call is immediately closed.
    Any suggestions or tips where I can get the developers to check this out ?
    Cheers from BB-Hamburg !

    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

  • 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.

  • 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.

  • 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/

  • Changing default open with for file type for all users

    hello
    can I change the default app to open a specific file type for all users and not juist for my user?
    i am admin for my mac mini.
    tnx
    gil

    What applications are offered for open with depends on the application itself informing the system it can open certain files, plus your own custom selections for opening files. Evidently the alternate app you want to use does not claim to be able to open the files you are assigning it. If you have a plist editor and know how to use it you could edit the info.plist file inside the application itself to add the file type you want to the application's declaration of file types it will open. Then restart so the system will read that declaration. I think it would be far easier to simply launch the application and then drop a file you want it to open onto its icon in the Dock.
    Francine
    Francine
    Schwieder

  • Set a default layout for all users via DIAPI

    Hello everyone,
    I am attempting to set a default report for all users/business partners using the DI-API. 
    I can accomplish this in the B1 application via Tools> Layout Designer...>Set as Default
    If there are entries in the RDFL table for this layout, I am prompted to delete these entries and set this layout as the default for all users/BP's
    Based on the SDK Documentation, the following code should accomplish the same thing via the DI-API
    (stripped down for clarity)
    Dim oDefaultReportParams As DefaultReportParams
    oDefaultReportParams = oLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiDefaultReportParams)
    oDefaultReportParams.LayoutCode = sMyLayoutCode
    oDefaultReportParams.ReportCode = sMyReportCode
    Me.oLayoutService.SetDefaultReport(oDefaultReportParams)
    Code executes fine, but it doesn't have the expected impact on settings.  The above code adds an entry to the RDFL table rather than changing the DfltReport field in the RTYP table like I expected, so instead of setting the default report globally for all bps/users, its adding an entry to the RDFL table to set the value for a specific user/bp
    I experimented by including and setting the following properties to every combination I could think of with the same results
            oDefaultReportParams.UserID = 'tried 1, 0, -1
            oDefaultReportParams.CardCode = 'tried "", "0", "-1"
    Am I misunderstanding the API, or using the wrong objects/calls...? If all else fails I could accomplish this via the UI-API instead, but the application was intended to be a stand alone app that didn't rely on SAP B1 application running, so any help or suggestions would be much appreciated.
    Thanks!

    Hi,
    Please repost at SDK forum to get quick response. Close this thread here with helpful answer.
    Thanks.

  • Win7 and Reader X - default settings for ALL users/profiles

    I have a custom browser/app that opens PDF's within the app which can sometimes cause issues. I found that if I set Reader X to not open in the browser (Edit>Preferences>Internet - uncheck "Display PDF in Browser") that this does resolve most issues. My problem...when changed this only affects the current user/profile that's logged in. Potentially there can be dozens of users on these laptops. The other setting is when opening a PDF, I get the warning about Protected Mode not being able to be used due to the current configuration. I can select "Always open with Protected Mode disabled" and I no longer get the message; but again, current user/profile only.
    Is there a way to set these settings for ALL users/profiles? Running Win7 (32bit) with Reader X.

    I do not know why you experience this; what exactly happens when a non-admin users attempts to highlight something?
    You are talking about highlighting in the same document?

  • How do you set default programs for all users when deploying Windows 8.1?

    I have my Windows 8.1 image set up the way I want including the start screen, theme, etc. But how can I set the default programs for all users. Most of out computers are non-touch and I want the desktop apps (e.g. Windows Photo Viewer), not the store apps
    to be the default for opening pictures, videos, etc. Can that be done?

    Great question, this has been bugging me too!
    So, I did some research by using "Set Default Programs" app in Windows 8. Then I ran the super ProcMon.exe tool from Sysinternals.com <Thanks Mark!>
    After filtering out the junk, I could see some *interesting* writes to the registry:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\UserChoice]
    "Hash"="57y87/ogggU="
    "ProgId"="PhotoViewer.FileAssoc.Jpeg"
    But the "Hash" part had me concerned. I did some internet searching for the hash, and came across a post and a pointer to a blog with some answers.  This is both good news and bad.
    Background:
    One of the problems with Windows XP is that any program can come in and party on the entire system. No, I don't want you to put a shortcut on the desktop, install a crappy IE Toolbar, and change the default file association for *.jpg files to your app, I
    just wanted to play a stupid game. Since Windows 7, Microsoft has been attempting to block that functionality from the stupid applications, and give them back to the user. Take note of the last line in the ITaskbarList3 interface:
       Applications cannot programmatically pin themselves to the taskbar. That functionality is reserved strictly for the user.
    Of course that sucks for us IT Pros who may wish to create *default* working environments for corporate images, but there are some tricks we can do.
    Solution:
    This blog appears to have the answer:
    http://blogs.technet.com/b/mrmlcgn/archive/2013/02/26/windows-8-associate-a-file-type-or-protocol-with-a-specific-app-using-a-gpo-e-g-default-mail-client-for-mailto-protocol.aspx
    New for Windows 8 is a dism command: /Get-DefaultAppAssociations that allows you to export a control case from a known good computer. Microsoft the supports importing the exported xml file via GPO. For example, before I changed the file association, .AVI
    was pointing to the Modern App, after the change the /export-DefaultAppAssociations shows change to the new app:
    From:
    <Association Identifier=".avi" ProgId="AppXhjhjmgrfm2d7rd026az898dy2p1pcsyt" ApplicationName="Video" />
    To:
    <Association Identifier=".avi" ProgId="VLC.avi" ApplicationName="VLC media player" />
    I am still doing some investigation to see if a GPO is required, or if you can inject the association into a local user account. Also, if you do have some Modern Windows 8 Touch Tablets, it would recomend keeping most of the Modern App defaults in place,
    perhaps seperate GPO's for Desktops/Laptops vs Tablets?
    -k
    Keith Garner - keithga.wordpress.com

Maybe you are looking for