*UPDATE - 12/05/2019* -- I rewrote the code to handle the appx package name changes.
*UPDATE - 04/14/2019* -- I'm updated the code to make it more reliable and to simply the instructions
This tutorial will help you reset the Start Menu if you are experiencing issues such as it won't load at all or the icons appear faded.
Test your Start Menu.
*UPDATE - 04/14/2019* -- I'm updated the code to make it more reliable and to simply the instructions
This tutorial will help you reset the Start Menu if you are experiencing issues such as it won't load at all or the icons appear faded.
- Press [Windows key + r]
- Type powershell in the run box and press enter
- Copy everything from the "Code" section below and paste into the Powershell prompt and hit enter
Code:
# Need to stop explorer since it keeps an open handle to the appx package setting directory
Taskkill /F /IM explorer.exe
Start-Sleep -Milliseconds 500
# Collect package details
$PackagesDirctroy = "$($env:LOCALAPPDATA)\Packages\"
$SEHPackage = Get-AppxPackage -Name "*ShellExperienceHost*"
if(-not($SEHPackage))
{
Write-Host "Unable to locate the package, try changing the text after -Name" -ForegroundColor Red
Pause
Exit
}
$SEHPackageFullName = $SEHPackage.PackageFullName
$SEHPackageManifest = "$($SEHPackage.InstallLocation)\AppxManifest.xml"
$UserSEHPackageSettingsDirectory = "$PackagesDirctroy$SEHPackageFullName"
# Rename settings directory and re-register the package
Rename-Item $UserSEHPackageSettingsDirectory -NewName "$SEHPackageFullName.bak" -Force
Add-AppPackage -Path $SEHPackageManifest -Register -DisableDevelopmentMode
#Restart explorer
Start-Process explorer.exe
Test your Start Menu.