I removed the windows app store for some reason. Then I try to reinstall it after removal, but it gives me error like this. I googled a bit but still cannot find relevant answers.
P.s. my firewall is okay and always running, so is windows updates. The services of both are running okay so it should not be the issues of these.
PS C:\WINDOWS\system32> Remove-Appxpackage –Package Microsoft.WindowsStore_11711.1001.5.0_x64__8wekyb3d8bbwe PS C:\WINDOWS\system32> Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_11711.1001.5.0_x6 4__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered. error 0x80070422: While preparing to process the request, the system failed to register the windows.capability extension due to the following error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. . NOTE: For additional information, look for [ActivityId] f35a13ba-82bd-0000-2f80-61f3bd82d301 in the Event Log or use the command line Get-AppxLog -ActivityID f35a13ba-82bd-0000-2f80-61f3bd82d301 At line:1 char:1 + Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Win ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\Program File...ppxmanifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand