How to Repair Error Code: How to Fix Microsoft Store Error 0x87E00013 in Windows 10 - [4 Solutions] 2024 While Installing Updates in Windows 10. How to Solve Windows App Install Error 0x87E00013 in Windows 8. . Error Code 0x87E00013 Windows 10 Solution. Windows Store Error 0x87E00013 Fix.
This troubleshooting guide will work on Windows 10, windows 7, windows 8, mac, linux operating systems and desktops, laptops, tables and computers manufactured by the following brands: , Dell, Hewlett Packard, MSI, Alienware, MSI, Toshiba, Acer, Lenovo, razer, huawei among others.
Copy and paste this
# Get all the provisioned packages
$Packages = (get-item 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications') | Get-ChildItem
# Filter the list if provided a filter
$PackageFilter = $args[0]
if ([string]::IsNullOrEmpty($PackageFilter))
{
echo "No filter specified, attempting to re-register all provisioned apps."
}
else
{
$Packages = $Packages | where {$_.Name -like $PackageFilter}
if ($Packages -eq $null)
{
echo "No provisioned apps match the specified filter."
exit
}
else
{
echo "Registering the provisioned apps that match $PackageFilter"
}
}
ForEach($Package in $Packages)
{
# get package name & path
$PackageName = $Package | Get-ItemProperty | Select-Object -ExpandProperty PSChildName
$PackagePath = [System.Environment]::ExpandEnvironmentVariables(($Package | Get-ItemProperty | Select-Object -ExpandProperty Path))
# register the package
echo "Attempting to register package: $PackageName"
Add-AppxPackage -register $PackagePath -DisableDevelopmentMode
}