How to install Microsoft store app through powershell

Hello,

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

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

16 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi John,

I mean to say want to install app from Microsoft store

Like Microsoft to do application

4 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

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

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi nileshpawar4, My name is Jeremy, a Windows Independent Adviser. I'll be happy to help you out today. Let’s see what I can do.

I regret to inform you but, unfortunately, it is not possible to use PowerShell to install apps from Microsoft store as of this moment,

The Add-AppxPackage cmdlet adds a signed app package to a user account. An app package has an .msix or .appx file name extension. Use the DependencyPath parameter to add all other packages that are required for the installation of the app package. You can use the Register parameter to install from a folder of unpackaged files during the development of Windows:registered: Store apps.

In the meantime, please use the Feedback hub under your start menu and drop some comments and suggestions. Microsoft has always a room for improvement for the best experience of its user.

I hope this information helps

Kind regards,
Jeremy

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi!

I can't find and launch my Microsoft Store. I tried the PowerShell solution but it didn't work. 
It says, "You'll need a new app to open this ms-window store link" What does it mean? What should I do?

Thanks in advance!

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

It doesn't work on all versions of the App Store:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073D06, The package could not be installed because a higher       version of this package is already installed.                                                                           Windows cannot install package Microsoft.WindowsStore_12006.1001.1.0_x64__8wekyb3d8bbwe because it has version          12006.1001.1.0. A higher version 12007.1001.2.0 of this package is already installed.                                   NOTE: For additional information, look for [ActivityId] fad44870-7035-0006-c164-d4fa3570d601 in the Event Log or use    the command line Get-AppPackageLog -ActivityID fad44870-7035-0006-c164-d4fa3570d601   

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

You can install lots of store apps from admin powershell via chocolatey. e.g.

choco install wsl-ubuntu-2004

6 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

In my computer gived error

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi,

I cannot find or launch my Microsoft app and i would like to switch out of S mode. Every time i try it says "You'll need a new app to open this ms-window store link" What does it mean?  What can i do to fix the problem or at least switch out of s mode without the app cause thats all i really want to do? The powershell option is not working for me at all.

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

same to me

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated February 26, 2021 Views 26,844 Applies to: