Windows 10: PowerShell commands: errors and failure to register the Store


  1. Posts : 193
    Windows 10 Home 64-bit and ANDROID Lollipop
       07 Nov 2016 #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 ComputerSystem Spec

  2.    07 Nov 2016 #2

    Post the command you're typing
      My ComputerSystem Spec


  3. Posts : 193
    Windows 10 Home 64-bit and ANDROID Lollipop
    Thread Starter
       07 Nov 2016 #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 ComputerSystem Spec


  4. Posts : 21,625
    64-bit Windows 10 Pro build 16226
       07 Nov 2016 #4

    Hello clayto,

    You might see if resetting the apps may help.

    https://www.tenforums.com/tutorials/4...dows-10-a.html
      My ComputersSystem Spec


  5. Posts : 193
    Windows 10 Home 64-bit and ANDROID Lollipop
    Thread Starter
       07 Nov 2016 #5

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


  6. Posts : 21,625
    64-bit Windows 10 Pro build 16226
       07 Nov 2016 #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 ComputersSystem Spec

  7.    07 Nov 2016 #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 ComputerSystem Spec


  8. Posts : 21,625
    64-bit Windows 10 Pro build 16226
       07 Nov 2016 #8

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

    https://www.tenforums.com/tutorials/8...dows-10-a.html
      My ComputersSystem Spec


  9. Posts : 193
    Windows 10 Home 64-bit and ANDROID Lollipop
    Thread Starter
       08 Nov 2016 #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 ComputerSystem Spec


  10. Posts : 21,625
    64-bit Windows 10 Pro build 16226
       08 Nov 2016 #10

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


 

Related Threads
Performance & Maintenance Re-register Store app in Windows 10 in Tutorials
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...
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...
moved in BSOD Crashes and Debugging
moved
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...
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 19:15.
Find Us