PowerShell commands: errors and failure to register the Store


  1. Posts : 858
    Windows 10 Home 64-bit
       #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 Computer


  2. Posts : 226
    Many
       #2

    Post the command you're typing
      My Computer


  3. Posts : 858
    Windows 10 Home 64-bit
    Thread Starter
       #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 Computer


  4. Posts : 68,840
    64-bit Windows 11 Pro for Workstations
       #4

    Hello clayto, :)

    You might see if resetting the apps may help.

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


  5. Posts : 858
    Windows 10 Home 64-bit
    Thread Starter
       #5

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


  6. Posts : 68,840
    64-bit Windows 11 Pro for Workstations
       #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 Computers


  7. Posts : 226
    Many
       #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 Computer


  8. Posts : 68,840
    64-bit Windows 11 Pro for Workstations
       #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 Computers


  9. Posts : 858
    Windows 10 Home 64-bit
    Thread Starter
       #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 Computer


  10. Posts : 68,840
    64-bit Windows 11 Pro for Workstations
       #10

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


 

  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 12:46.
Find Us




Windows 10 Forums