Windows 10 comes with many built-in Modern apps of which some of them may not be useful to you. PowerShell, as you may’ve known, allows you to uninstall individual apps or all apps using a single command. If you had used the following command to uninstall all bundled apps in Windows 10, you should have noticed that the much useful Microsoft Store app is one of those removed apps.
Without the Microsoft Store app, you won’t be able to install apps from the Store. This video shows you how to get back Microsoft Store after uninstalling it accidentally using PowerShell. If the Store is missing, you can promptly skip to a second step. If, however, it is installed but it's not working, you'll need to remove it first.
1. Click Start, type Powershell. In the search results, right-click “PowerShell” and click Run as administrator.
2. In the PowerShell window, type the command, shown below and hit ENTER.
➤ COMMAND: Get-AppxPackage windowsstore | Remove-AppxPackage
BEFORE proceeding with the steps, make sure that the Client License Servie (aka ClipSVC) is running on your Windows device. If it has been stopped, do enable it by right-clicking on the service and selecting 'Start'. If necessary, restart your computer for the changes to take effect.
In order to restore or reinstall Microsoft Store, start PowerShell as Administrator. Click Start, type PowerShell. In the search results, right-click the PowerShell and click Run as administrator. In the PowerShell window, type the command given below and press ENTER. This should install/reinstall the Microsoft Store app. After the process ends, reboot your PC to complete this action.
➤ COMMAND: Get-AppXPackage WindowsStore -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
➤ COMMAND #1:
Get-AppXPackage -AllUsers -Name Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -Verbose}
➤ COMMAND #2:
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
➤ COMMAND #3:
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
➤ COMMAND #4:
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Powershell Get-AppxPackage not working?
The issue might occur because the AppX Deployment Service was disabled. Here's how to enable it:
1. Press WIN + or, type in 'regedit' and press Enter
2. Navigate the following path: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AppXSvc
3. On the right hand double-click on Start
4. Set it to 2 and press OK
5. Now, restart your computer.
It should work now, give it a try!
➤ MORE INFORMATION:
✓ https://www.winhelponline.com/blog/re...
✓ https://www.intowindows.com/how-to-re...
✓ https://superuser.com/questions/13679...
Watch video Reinstall Microsoft Store via PowerShell online without registration, duration hours minute second in high quality. This video was added by user Windows Love 21 July 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 45,12 once and liked it 22 people.