Re-register Microsoft Store app in Windows 10  

Page 22 of 30 FirstFirst ... 122021222324 ... LastLast

  1. Posts : 68,961
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #210

    heywoodg said:
    tried re-setting, a repair install was my next option but thought it was a bit drastic so was trying to see if there was anything else I could try
    A repair install is heavy handed, but it will give you the fastest and best way of fixing it without losing anything.
      My Computers


  2. Posts : 12
    Win 10
       #211

    Cheers, I will do as you suggest, thanks for the fast response and the welcome
      My Computer


  3. Posts : 68,961
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #212

    heywoodg said:
    Cheers, I will do as you suggest, thanks for the fast response and the welcome
    You're most welcome. Please let us know how it went.
      My Computers


  4. Posts : 5,330
    Windows 11 Pro 64-bit
       #213

    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
      My Computer


  5. Posts : 12
    Win 10
       #214

    microsoft store problems


    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.
      My Computer


  6. Posts : 68,961
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #215

    heywoodg said:
    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
    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.
      My Computers


  7. Posts : 12
    Win 10
       #216

    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
      My Computer


  8. Posts : 68,961
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #217

    heywoodg said:
    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
    It appears the apps have been corrupted.

    Normally other then sometimes resetting or reinstalling the app, a repair install of Windows 10 would fix this, but since it didn't, I'm not sure what else would other than a clean install.
      My Computers


  9. Posts : 4
    windows 10
       #218

    Command doesn't run


    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
      My Computer


  10. Posts : 68,961
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #219

    LukasAKS said:
    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
    Hello Lukas, and welcome to Ten Forums.

    How did you originally block the Microsoft Store? This will help to determine what may need to be done to enable it again.
      My Computers


 

Tutorial Categories

Re-register Microsoft Store app in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:42.
Find Us




Windows 10 Forums