New
#210
Cheers, I will do as you suggest, thanks for the fast response and the welcome
With this batch script you can re-register Microsoft Store app for your account or all users in Windows 10.
Code::: Re-register Microsoft Store app in Windows 10 @Echo Off & Color 0E net sess>nul 2>&1||(powershell start cmd -ArgumentList """/c %~0""" -verb Runas & exit) :Choice Cls Echo. Echo 1. Re-register Microsoft Store app for Current User Echo. Echo 2. Re-register Microsoft Store app for All Users Echo. Echo. Set /p input= Type a number: If %input%==1 Goto :Current If %input%==2 Goto :All Goto :EOF :Current Cd %TMP% Echo Get-AppXPackage *Microsoft.WindowsStore* ^| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} > Current.ps1 Powershell -ExecutionPolicy ByPass -File Current.ps1 Del Current.ps1 Goto :Choice :All Cd %TMP% Echo Get-AppXPackage *WindowsStore* -AllUsers ^| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} > All.ps1 Powershell -ExecutionPolicy ByPass -File All.ps1 Del All.ps1 Goto :Choice
Brink,
I did a windows repair install but problem still exists
microsoft store still does not appear in the Settings Apps & features list
It does appear in the Start list, when I try to open App settings for store in the start list a window appears with a cog in centre and then immediately disappears.
Doing the powershell re-register fails just like before, see my earlier screen capture
When I do a Reset microsoft store cache, I get an error: ms-windows-storePurgeCaches, File system error (-2147219195)
I'm out of ideas, any suggestions
Also tried FreeBooter's batch script above, still no joy
Last edited by heywoodg; 03 Mar 2020 at 07:10.
Usually when this happens, you may end up needing to do a clean install of Windows 10 instead. This will wipe out everything, so you would want to back up anything you do not want to lose first.
Clean Install Windows 10
If Windows 10 is installed on a HDD, I'm concerned that it may be an issue with the hard drive going bad causing this corruption. I would recommend to run a scan on the HDD with something like SeaTools for Windows or SeaTools Bootable just to be thorough and see if it reports the disk in good or bad condition. Check with the hard drive's manufacturer for their recommended diagnostic tool though.
It's on an SSD and I've checked for file corruption and all is okay, so as you say a clean install of windows may be necessary. For now I can do without microsoft store, everything seems to work okay, I'll wait until I update my motherboard.
- - - Updated - - -
Just found out that several other windows programs are behaving in the same way: Groove, Mail, Calculator, Money. Don't use these so that's why I've just noticed. I would normally now do a restore to say, before the November windows update but having just done a repair install I don't have any old restore points, all have been removed.
Does the fact these other programs don't work provide any clues
Command doesn't run because microsoft store doesn't open.
I blocked the microsoft store earlier back and now I need to unblock it. When I ran the command given it said this. I would apreaciate if someone would assist me with this issue.
Get-AppXPackage *Microsoft.WindowsStore* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Get-AppXPackage : The service cannot be started, either because it is disabled or because it has no enabled devices
associated with it.
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
At line:1 char:1
+ Get-AppXPackage *Microsoft.WindowsStore* | Foreach {Add-AppxPackage - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-AppxPackage], Exception
+ FullyQualifiedErrorId : System.Exception,Microsoft.Windows.Appx.PackageManager.Commands.GetAppxPackageCommand