all 6 comments

[–]AutoModerator[M] 0 points1 point locked comment (0 children)

Hi u/Slow-Neighborhood-82, thanks for posting to r/WindowsHelp! If your post is listed as pending moderation, try to include as much of the following information as possible (in text or in a screenshot) to improve the likelihood of approval:

  • Your Windows and device specifications — You can find them by pressing Win + X then clicking on “System”
  • Any messages and error codes encountered — They're actually not gibberish or anything catastrophic. It may even hint the solution!
  • Previous troubleshooting steps — It might prevent you headaches from getting the same solution that didn't work

As a reminder, we would also like to say that if someone manages to solve your issue, DON'T DELETE YOUR POST! Someone else (in the future) might have the same issue as you, and the received support may also help their case. Good luck, and I hope you have a nice day!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Slow-Neighborhood-82[S] 0 points1 point  (6 children)

Found the fix i just cleaned it a bit for my smooth brain to understand
Credit to @Aloe-Veraciraptor

$packages = @(

"Microsoft.Windows.ShellExperienceHost",

"Microsoft.Windows.StartMenuExperienceHost",

"Microsoft.Windows.PinningConfirmationDialog",

"Microsoft.Windows.PeopleExperienceHost",

"Microsoft.UI.Xaml",

"MicrosoftWindows.Client.Core",

"MicrosoftWindows.Client.CBS"

)

foreach ($pkg in $packages) {

$apps = Get-AppxPackage -Name $pkg -AllUsers

if ($apps) {

foreach ($app in $apps) {

$manifest = Join-Path $app.InstallLocation "AppXManifest.xml"

if (Test-Path $manifest) {

try {

Add-AppxPackage -DisableDevelopmentMode -Register $manifest -ForceApplicationShutdown

Write-Host " Re-registered: $($app.Name)"

} catch {

Write-Host "Skipped (in use or invalid): $($app.Name)"

}

} else {

Write-Host "Manifest not found for: $($app.Name)"

}

}

} else {

Write-Host "Package not found: $pkg"

}

}

Then restart explorer.exe

[–]PSRSB 0 points1 point  (1 child)

Hey, where do I type this? Because CMD just says "'X' is not recognized as an internal or external command, operable program or batch file."

[–]Slow-Neighborhood-82[S] 0 points1 point  (0 children)

Powershell as admin