Windows 10: Microsoft Store - PowerShell or CMD Manual Install???

Discus and support Microsoft Store - PowerShell or CMD Manual Install??? in Windows 10 Software and Apps to solve the problem; I'm runing Windows 11 Home Edition. I tweaked my system for better performance via Scripts, and I inadvertently unistalled the Microsoft Store App. I... Discussion in 'Windows 10 Software and Apps' started by Smokey Vanid, Aug 8, 2023.

  1. Microsoft Store - PowerShell or CMD Manual Install???


    I'm runing Windows 11 Home Edition. I tweaked my system for better performance via Scripts, and I inadvertently unistalled the Microsoft Store App. I do not want to perform a system restore or reinstall Windows 11 to get the Microsoft Store App back as it will undo the changes I have made and I will have to go back through the whole process. My question is:"Is there a PowerShell or CMD Line Script that I can use to maually reinstall the Microsoft Store App?"Thanks.

    :)
     
    Smokey Vanid, Aug 8, 2023
    #1

  2. Re-Installing the Microsoft Store

    Hi Wisedred,



    Thank you for writing to Microsoft Community Forums.



    In this scenario we would suggest you to perform these steps to Reinstall and Re-Register all Windows apps for all accounts.



    1. Press Windows + X key and select Windows PowerShell (Admin).
    2. Copy and paste this command, then press enter:
      Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    3. Close the PowerShell command and restart the PC.
    4. Open Microsoft Store and install the game.


    If the issue persists, then we would suggest you to create a new administrator user account and check if you are able to open Microsoft Store and then install the game, refer this article to
    create a local user or administrator account in Windows 10.



    Regards,



    Aditya Roy

    Microsoft Community – Moderator
     
    Aditya_Roy, Aug 8, 2023
    #2
  3. Microsoft Store is not working

    Hi Rajibkarmakar,

    Thank you for posting in Microsoft Community, we appreciate your interest in Windows 10.

    I understand the inconvenience caused to you with accessing Windows Store, we will help you with this issue.

    This issue might have occurred because of some issues with the Windows Store cache.

    So, I suggest you to try the steps provided below and see if it helps you to fix the issue.

    Step 1: Run WSReset.exe
    .

    • Press Windows+R key to open
      Run
      box
    • Enter wsreset.exe in the Run command and then tap or click
      OK.
    • Restart your computer and check.

    If resetting Windows Store cache does not help then,

    Step 2: Re-register Windows Store by running the following commands in a CMD window started as Administrator:

    Follow the below steps.

    • Open the Start menu, type Windows PowerShell in the search bar.
    • Right click on the Windows PowerShell and select Run as administrator.
    • Press OK the UAC prompt if shown. That will open an elevated command prompt. (It will show Administrator in the caption.)
    • Then enter the chkdsk command

      PowerShell -ExecutionPolicy Unrestricted

      $manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest
    • Restart the computer and try to download the apps.

    Hope it helps. Reply to the post with an updated status of this issue, we'll be glad to assist you.
     
    Deepika Gowda, Aug 8, 2023
    #3
  4. Gino Des Win User

    Microsoft Store - PowerShell or CMD Manual Install???

    Windows Store problem

    Hi,

    In order to diagnose the issue, we suggest that you try the following methods:

    Method 1: Run the Windows Store Apps troubleshooter.

    The Windows Store Apps troubleshooter fixes problems that may prevent Windows Store Apps from working properly. To run it, follow the steps below:

    • Click Start.
    • On the search bar, type Troubleshooting, and click on
      Troubleshooting
      from the results.
    • On the left pane, click View all.
    • Click Windows Store Apps.

    Method 2: Clear Windows Store app cache.

    We suggest you to manually reset Windows Store app cache then try to download the game again. To manually reset, follow the steps below:

    • Click Start.
    • On the search bar, type CMD, and right-click CMD
      from the results.
    • Click Run as administrator.
    • Type wsreset, and press Enter.

    Make sure that you are logged in to your computer using your Microsoft account.

    We also suggest that you download and install any pending updates that needs to be installed on the computer through Windows Update and check if it helps resolve the issue.

    Let us know if you need further assistance.
     
    Gino Des, Aug 8, 2023
    #4
Thema:

Microsoft Store - PowerShell or CMD Manual Install???

Loading...
  1. Microsoft Store - PowerShell or CMD Manual Install??? - Similar Threads - Microsoft Store PowerShell

  2. Trying to manually add Microsoft Store using Powershell

    in Windows 10 Software and Apps
    Trying to manually add Microsoft Store using Powershell: Been Having issues with microsoft store and everything points to using powershell to remove and re add store. when i try and do this i get the following errors:Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources...
  3. Trying to manually add Microsoft Store using Powershell

    in Microsoft Windows 10 Store
    Trying to manually add Microsoft Store using Powershell: Been Having issues with microsoft store and everything points to using powershell to remove and re add store. when i try and do this i get the following errors:Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources...
  4. Trying to manually add Microsoft Store using Powershell

    in Windows 10 Gaming
    Trying to manually add Microsoft Store using Powershell: Been Having issues with microsoft store and everything points to using powershell to remove and re add store. when i try and do this i get the following errors:Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources...
  5. Microsoft Store won't install via PowerShell

    in Windows 10 Gaming
    Microsoft Store won't install via PowerShell: I had to uninstall the store because it wasn't launching properly. To reinstall it, I've launched PowerShell as administrator and have pasted the following commands:Get-AppxPackage -allusers Microsoft.WindowsStore Foreach {Add-AppxPackage -DisableDevelopmentMode -Register...
  6. Microsoft Store won't install via PowerShell

    in Windows 10 Software and Apps
    Microsoft Store won't install via PowerShell: I had to uninstall the store because it wasn't launching properly. To reinstall it, I've launched PowerShell as administrator and have pasted the following commands:Get-AppxPackage -allusers Microsoft.WindowsStore Foreach {Add-AppxPackage -DisableDevelopmentMode -Register...
  7. Microsoft Store - PowerShell or CMD Manual Install???

    in Windows 10 Gaming
    Microsoft Store - PowerShell or CMD Manual Install???: I'm runing Windows 11 Home Edition. I tweaked my system for better performance via Scripts, and I inadvertently unistalled the Microsoft Store App. I do not want to perform a system restore or reinstall Windows 11 to get the Microsoft Store App back as it will undo the...
  8. Microsoft Store Install via PowerShell fails

    in Microsoft Windows 10 Store
    Microsoft Store Install via PowerShell fails: I need to reinstall the MS Store. using the PowerShell command I get: Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened. error 0x80070003: Opening file from location: AppxBundleManifest.xml failed with error: The system cannot find...
  9. Install Microsoft Store manually on Windows 10

    in Microsoft Windows 10 Store
    Install Microsoft Store manually on Windows 10: We have an image without Microsoft Store in it. Some users are requesting to access Microsoft Store, is there a way to manually install Microsoft Store on Windows 10 system?...
  10. CMD and PowerShell

    in Windows 10 BSOD Crashes and Debugging
    CMD and PowerShell: Hi all, I run Windows 10, v 1803. Clicking Start, typing CMD, there is only "Command Prompt (desktop application)". Win key + X shows "Windows PowerShell" and "Windows PowerShell (Admin)". If after Win key+R I choose Windows PowerShell" pops up a message: Same with...