After applying July Windows Update, my Folder Tree shows two items which were not there earlier.
Please note that I have deselected "Home" from the Preferences/Folder Tree/Content, still it is showing. How I can remove these two items from the Folder Tree?
That should at least take care of the Home shortcut but not sure if it will remove other stuff you want too. It might work for the Gallery shortcut too but I'm not sure because I had already removed it myself via the registry I believe, but I can't quite remember.
Removing it via the registry would also remove it from regular explorer. There are a few discussions online you can probably find for how to do that, like here: Redirecting
Thanks @ThioJoe . I had tried your suggestion regarding unchecking the boxes for "Show virtual (non-filesystem) folders" and/or "Remove dynamically added folders" in the preferences. It indeed removed the "Home" folder, but unfortunately it also removes the "Recycle Bin" which I don't want.
However I was able to remove the "Gallery" folder following the link you provided. Thanks for that. At least half of the problem is solved.
We're looking into this, and have confirmed it after installing the latest Windows 11 updates (which cause various other problems as well as failing to install on some machines... great work by the Windows team lately!).
It seems that, in addition to being unable to leave the folder tree alone and stop stuffing folders not a single person in the entire world wants into it (Gallery is the new 3D Objects, I guess), Microsoft have also decided to come up with yet another mechanism for inserting folders there, so our usual option to ignore all the clutter isn't filtering them out.
Edit: I was wrong about that last part, apologies. We'll probably block these by default now that we've found out we already can via the method Jon mentions below.