1. Joined : Jun 2015
    Posts : 154
    Windows 10 Home 32-bit
       4 Weeks Ago #1

    PowerShell commands: errors and failure to register the Store


    I have spent many hours for the last two days trying to get the Store and several apps re-registered and working. On other forums which I have been directed to, such as MS TechNet, much of the advice and links I have been given either generate various errors, or just fail to work. So I have tried here: How to Re-register the Store in Windows 10.
    Again I get errors, commands not recognised and so on.

    What is going on? I have activated the Windows Firewall, I have entered everything using Copy & Paste, so what else must I do to carry out this fairly common procedure?
      My System SpecsSystem Spec

  2.    4 Weeks Ago #2

    Post the command you're typing
      My System SpecsSystem Spec


  3. Joined : Jun 2015
    Posts : 154
    Windows 10 Home 32-bit
       4 Weeks Ago #3

    Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register

    "$($_.InstallLocation)\AppXManifest.xml"}PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

    PowerShell -ExecutionPolicy Unrestricted -Command & {$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + \AppxManifest.xml ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}

    Some of many links I have been given and which have failed
      My System SpecsSystem Spec


  4. Joined : Oct 2013
    Posts : 16,555
    64-bit Windows 10 Pro build 14986
       4 Weeks Ago #4

    Hello clayto,

    You might see if resetting the apps may help.

    App - Reset in Windows 10
      My System SpecsSystem Spec


  5. Joined : Jun 2015
    Posts : 154
    Windows 10 Home 32-bit
       4 Weeks Ago #5

    No, reset just produced the message "we cannot reset this app"
      My System SpecsSystem Spec


  6. Joined : Oct 2013
    Posts : 16,555
    64-bit Windows 10 Pro build 14986
       4 Weeks Ago #6

    If all else fails, you could do a repair install to fix them without losing anything.

    Repair Install Windows 10 with an In-place Upgrade
      My System SpecsSystem Spec

  7.    4 Weeks Ago #7

    Looks like the command syntax is not right. The path switch is a positional switch. If it is not the first argument you must prefix the appxmanifest.xml path with -Path
      My System SpecsSystem Spec


  8. Joined : Oct 2013
    Posts : 16,555
    64-bit Windows 10 Pro build 14986
       4 Weeks Ago #8

    In addition clayto, how does using the .bat file from below to run the command work for you?

    Store - Re-register in Windows 10
      My System SpecsSystem Spec


  9. Joined : Jun 2015
    Posts : 154
    Windows 10 Home 32-bit
       4 Weeks Ago #9

    Hi

    I tried the .bat file at the same time as I tried the Power Shell command from this forum, with the same negative result.

    Some of the PowerShell attempts produced a lot of red print which I guess is indicating errors (?), but I did get some which seemed to finish correctly all in green ---- but still did not restore anything.

    My puzzlement is added to by the fact that this is a new computer with newly installed OS and Anniversary plus I have run sfc and Dism, so I am not expecting any accumulated corruption.
      My System SpecsSystem Spec


  10. Joined : Oct 2013
    Posts : 16,555
    64-bit Windows 10 Pro build 14986
       4 Weeks Ago #10

    In that case, a repair install may be the best option.
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
Store - Re-register in Windows 10
How to Re-register the Store in Windows 10 If the Store app doesn't open, hangs, or not working correctly, then re-registering the Store will usually fix this issue. This tutorial will show you how to re-register the Store for your account in...
Tutorials
Solved Store PHOTOS app repetitive errors
Activation of the app Microsoft.Windows.Photos_8wekyb3d8bbwe!App for the Windows.BackgroundTasks contract failed with error: The operation was canceled by the user. or Activation of app Microsoft.Windows.Photos_8wekyb3d8bbwe!App failed with...
Software and Apps
moved
moved
BSOD Crashes and Debugging
Windows Update multiple Install errors/Failure (error 0x80070643)
Hi All, I'm wondering if anyone can help. I have upgraded to windows 10 for a few weeks now and over the last couple of days it has stopped installing any windows updates, the error code that pops up is (error 0x80070643) It's also...
Windows Updates and Activation
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 00:45.
Find Us
Twitter Facebook Google+



Windows 10 Forums