Raphire / Win11Debloat

A simple, easy to use PowerShell script to remove pre-installed apps from Windows, disable telemetry, remove Bing from Windows search as well as perform various other changes to declutter and improve your Windows experience. This script works for both Windows 10 and Windows 11.
MIT License
12.88k stars 545 forks source link

Issue with the pinned apps in start menu #94

Closed TheRazaAhmed closed 2 months ago

TheRazaAhmed commented 2 months ago

While running the batch file in that i chose the custom mode and by mistake i chose yes for removing the pinned apps from start and continued how can i revert it back to its normal state

Note: If i manually go and select the apps to the pin, it stays there for the current session as soon as i restart my laptop the pinned app is removed again.

Help me resolve this issue.

Raphire commented 2 months ago

Heya,

Sorry you're running into this. I do find it strange that pinned apps get removed again after restarting, that shouldn't happen.

As for restoring your start menu, you can restore the start menu with the backup that Win11Debloat created:

  1. Open Windows Explorer
  2. Click the adressbar and copy this to navigate to the correct folder: %userprofile%\AppData\Local\Packages\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\LocalState\
  3. In this folder you should see at least 2 files: start2.bin and start2.bin.bak
  4. First, rename start2.bin to something else, like start2.bin.old
  5. Now, copy and paste the start2.bin.bak file inside the folder and rename the copy start2.bin
  6. Lastly, open task manager, find Windows explorer, rightclick Windows Explorer and click Restart

After Windows Explorer restarts your start menu should be back to how it was before running the script. Let me know if these steps worked for you.

TheRazaAhmed commented 2 months ago

Thanks! Appreciate your work and support. It worked, Thank you