I accidentally deleted the Windows 10 Store and found that many default picture apps could not be used and could not be opened. I tried many methods to no avail. Later, I found a feasible method, as follows
1. Open Windows Firewall .
I don't know why you want to open this, but you can't do the following operations without opening it
2. Run windows powershell as administrator
3. Execute the command
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
4. Execute the command
Get-Appxpackage -Allusers
find the path we need
5. Execute the command
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_11610.1001.25.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode
The path in the middle is the path you just found, replace it with the one on your own machine, open any unusable app, click to go to the app store, and you can see that the disappeared app store has come out again