Hi Albert,
Welcome to Microsoft Community.
I'm Hahn and I'm here to help you with your concern.
I'm sorry to hear that you are having trouble with your Windows 10 installation. It sounds like you have accidentally removed some essential apps and components from your system. Don't worry, I will try to help you restore them.
- Method 1: Use the Settings app to reset the Microsoft Store app. This will also reinstall the app and fix any issues with it.
- On Windows 10, navigate to Settings app > Apps > Apps & features.
- Locate the Microsoft Store entry and click on it to reveal the Advanced options link. Click the Advanced options link.
- In the Reset section, click the Reset button. This will reinstall the app and clear its data.
- Method 2: Use PowerShell to reinstall the Microsoft Store app and other built-in apps. This will register the apps again on your system and restore their functionality.
- Open PowerShell as administrator. You can do so by searching for PowerShell, right-clicking on Windows PowerShell in search results, and then clicking the Run as administrator option.
- To reinstall the Microsoft Store app only, copy and paste the following command at the PowerShell window and press the Enter key.
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$ ($_.InstallLocation)\\AppXManifest.xml"}
- To reinstall all built-in apps, copy and paste the following command at the PowerShell window and press the Enter key.
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$ ($_.InstallLocation)\\AppXManifest.xml"}
- Restart your PC and check if the apps are working properly.
- Method 3: Perform a repair install of Windows 10 with an in-place upgrade. This will repair broken system files while preserving your personal files, settings, and installed applications. How to perform an In-place Upgrade with Windows 10 Step-by-Step Guide - Microsoft Community
Disclaimer: Please ensure that you backup any important data, including Documents, Pictures, Videos, and more.
I hope these methods help you restore your Microsoft Store and other default apps on Windows 10. Please let me know if you have any questions or need further assistance.
Your Sincerely
Hahn - MSFT | Microsoft Community Support Specialist