How to install Microsoft store app through powershell

Anonymous
2020-07-12T14:13:45+00:00

Hello,

Want to know how to install Microsoft store app directly through powershell.

I mean to say want to install app from Microsoft store

Like Microsoft to do application

Windows for business | Windows Server | User experience | PowerShell

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2022-02-18T19:44:04+00:00

    Hi,

    you should be able to use:

    winget install <identifier or search query> --source msstore

    example:

    winget install "firefox" --source msstore

    Winget is a fairly new feature, make sure you have installed any updates to Windows and the windows package installer.

    Regards,

    LightJack

    57 people found this answer helpful.
    0 comments No comments

42 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-08-30T05:47:18+00:00

    Over the weekend I uninstalled MSFT Store. Ran the command to have it reinstalled but always got "Cannot find path 'C:\AppXManifest.xml' because it does not exist.". After different search results. I found the one that helped me.

    < https://www.winhelponline.com/blog/restore-windows-store-windows-10-uninstall-with-powershell/ >

    * * * Mod note: Information on this page is safe and will probably be helpful. Page is full of ads. Be careful about what you click on.

    Now I didn't have to download NET Framework, .NET Runtime, and VC Libs. Just downloaded the windows store appxbundle. I had to right click and save link as since it believes it's a harmful file. Have to select Keep. Using google chrome. The version I selected was Microsoft.WindowsStore_11811.1001.2713.0_neutral___8wekyb3d8bbwe.appxbundle

    Double click the download file selected install for the MSFT Store. Store installed came up with no issues. Selected download and updates and the store updated to the newest version.

    Hope this helps.

    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-07-12T14:15:03+00:00

    Hello nileshpawar4,

    I'm John an Independent Advisor and a Microsoft user like you. I want to apologize if you encountered this issue. I understand you want to install Microsoft Store through powershell

    Reinstall the Store:

    Press Windows key + X

    Click and Run Windows PowerShell as Administrator

    At the command prompt, copy-paste the following then hit Enter:

    Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    Launch again your MS Store

    I hope this helps! Kindly inform me if my suggestions does not solve the problem. I can provide another solution for you to try.

    Sincerely

    John DeV

    Independent Advisor

    86 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-07-12T15:00:34+00:00

    Hi John,

    I mean to say want to install app from Microsoft store

    Like Microsoft to do application

    11 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-07-12T15:53:17+00:00

    Hello nileshpawar4,

    Thank you for updating me that information. Based on this thread with similar problem, It's not possible but let's check what others might say and provide a better solution about this issue.

    https://social.technet.microsoft.com/Forums/win...

    Sincerely

    John DeV

    Independent Advisor

    2 people found this answer helpful.
    0 comments No comments