i was installing microsoft store from powershell and i got an error what should i do now?

Anonymous
2020-11-25T16:50:59+00:00

this is the error 

Windows for home | Windows 10 | Microsoft Store

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lester Bernard Reyes 68,300 Reputation points Independent Advisor
    2020-11-25T17:14:14+00:00

    Hi and thanks for reaching out. My name is Bernard an Independent Advisor and a Windows fan like you. I'll be happy to help you out today.

    Actually I have the same problem and by following the steps below fixed my issue, I know some of these steps already done, you have just skip it if you think it will have the same result.

    Method 1. Repair Windows Store:

    1. Download the Windows Store App Troubleshooter. Link below.

    http://aka.ms/solutionstoreapp

    1. Temporarily Disable the Anti-virus (If you have third party anti viru)
    2. Run Powershell
    3. On Powershell(admin), copy and paste the command below:

    Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    Method 2. repair Windows Store and update components

    Open Powershell with Admin or CMD with Admin (Press Windows key + X then click Windows Powershell(Admin))

    Copy each line of command to Powershell then press enter (one line at a time)

    net stop bits

    net stop wuauserv

    net stop appidsvc

    net stop cryptsvc

    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"

    rmdir %systemroot%\SoftwareDistribution /S /Q

    rmdir %systemroot%\system32\catroot2 /S /Q

    regsvr32.exe /s atl.dll

    regsvr32.exe /s urlmon.dll

    regsvr32.exe /s mshtml.dll

    netsh winsock reset

    netsh winsock reset proxy

    net start bits

    net start wuauserv

    net start appidsvc

    net start cryptsvc

    -Once done restart the device and check

    If none will work from the above solution I suggest to do an in-place upgrade wherein it will upgrade the device to the latest version and repair all issues without deleting any files.

    Note: before doing this make sure to create a restore point: https://support.microsoft.com/en-hk/help/402753...

    1. go to this link: https://www.microsoft.com/en-us/software-downlo...
    2. Select Download tool, and select Run. You need to be an administrator to run this tool.
    3. On the License terms page, if you accept the license terms, select Accept.
    4. On the What do you want to do? page, select Upgrade this PC now, and then select Next.
    5. After downloading and installing, it should fix the issue.

    Reference: https://www.microsoft.com/en-us/software-downlo...

    Note: if you receive error: “This Pc can’t be upgrade, follow the steps below”

    Method 1. Go to C:$WINDOWS.~BT\Sources\Panther then delete the file name compatscancache.dat

    Then try again or reboot the PC first then try again.

    You might not see the folder as it is hidden, make sure to show hidden files first.

    Let me know how does it goes and I hope that helps.

    Bernard

    Independent Advisor

    0 comments No comments