# Need to kill these two processes as they lock up the package resource directory
taskkill /IM explorer.exe /F
taskkill /IM shellexperiencehost.exe /F
# Pause
Start-Sleep -Seconds 2
$PackageRoot = "$($env:LOCALAPPDATA)\Packages"
$PackageName = "\*ShellExp*"
$PackagePath = "$PackageRoot$PackageName"
# Rename old package data cache
Get-Item -Path $PackagePath | % { Rename-Item -Path "$($_.FullName)" -NewName "$($_.FullName).old"}
# Reinstall ShellExperienceHost
Get-AppxPackage -Name *ShellExp* | % { Add-AppxPackage -Path "$($_.InstallLocation)\AppxManifest.xml" -Register...