I have a problem that is at least the same as this https://learn.microsoft.com/en-us/answers/questions/4324980/pictures-folder-redirects-to-documents-folder, plus additional problems. Please excuse the longish post, but I figure the more complete the explanation the better the advice I can receive.
I have just mostly (I hope) recovered from a near catastrophic situation regarding OneDrive. I have multiple computers and 4 iDevices that I share data across. So I started using OneDrive as an adjunct to DropBox. Some years ago some small errors seemed to be appearing, like mysteriously I now had a Pictures1 folder in addition to the original Pictures folder, but only on one computer. Then at some point, on one of the computers all the photo folders that were originally under the Pictures folder disappeared from there and reappeared under the Documents folder. etc etc
Fast forward to about one month ago, and I had purchased a new mini-computer that came with Windows11. When I first powered up and "unpacked" the new computer, OneDrive came along for the ride and installed itself. I have no recollection of actively encouraging or requesting this behaviour. Because this is to be a kind of specialty use computer, I don't actually want OneDrive on it, or certainly 99% of the files that are in my OneDrive. I do not even want the "placeholder" to be visible on this computer, just one folder that would be used to sync a few common files and applications that I want on all my computers. So I quickly tried to stop the downloading and syncing and all that that goes on at the beginning. Not sure I was successful, but this is where it gets very sad.
About this time I moved the new mini to its new home, and reconnected my new "main" computer to the monitor. Had to step away for a couple days to attend to a minor crisis and when I returned I apparently had a senior moment and forgot I was not on the new computer, and happily set forth to continue deleting all the files and folders that I did not want on the new machine. (NOTE: I am aware that at several points in this dissertation I am using incorrect terminology or and/or it will be apparent I was not doing something correctly. Mea culpa, just trying to explain as completely as possible what actually transpired). After a tranche or two a message window popped up and said Do You Really Want to Delete All These Files. That sparked the realization of what was actually happening and I replied NO. This occurred more than once. NOTE: Possibly a good time to add that such was the character of said senior moment that it also imbued confidence in my, and combined with some very large file sizes I used Shift-Del to bypass the Recycle Bin. Let it not be said that I cannot take a bad situation and with a few keystrokes (one in this case) make it exponentially worse.
Panic ensues. Some searching and reading I am lead to believe that I can recover them from the OneDrive Recycle Bin up to 30 days later. Complicating factor, there are many many thousands of files and many many of them are utterly useless and I would be happy to leave them deleted, but the way that Recycle Bin is set up I would be obliged to go through them all to selectively restore. I then discover the function of Restore OneDrive to a certain date. I'll move more quickly through this part because the Restore does not work, several times tried and leads to an even more f'd up situation. Around this time I realize that for some odd reason I have thousands of these files in the Recycle Bin on my local computer. No idea why they should be there, but don't look a gift horse in the mouth.
I now bite the bullet, go through the OneDrive Recycle Bin in the Cloud and examine every file in the bin and restore all the missing ones I could find. I think I got most, but not certain. I then went through the Recycle Bin on my computer and did the same. As a tribute or result of at least, the multiple failed Restores, I have multiple versions of every file in the Bin. Three or four of virtually every one. So there's a day or two. Egad. But I think mostly successful and pulled back from the brink of disaster. So now here we are.
Prior to my rescue attempt I turned off OneDrive Sync on my computer and flicked the bit to stop it from starting with Windows start-up. And here's where some of the previous wraps around and collides with the present.
For (again) reasons unknown to me, all the gigabytes of precious photos from the last twenty years that had "disappeared" from Pictures, were in fact still on my computer but in a/the folder called Documents. Rights? All the individual folders of photos, in the Cloud under the Pictures folder are on my computer in the Documents folder. A double POX on MicroSoft and all others (Apple? Adobe? are you listening because you're all guilty) that do stuff for you for your convenience (NOT hardly ever) and without telling you or asking you or cloaking it in such mystery and confusion. Short message to y'all - quit fixing stuff that isn't broken, and quit doing stuff that I DID NOT EXPLICITLY ASK FOR! >insert extended rant of frustration here<
Now to the questions, if you're still here:
- How exactly do I move/change/rename things on my computer(s) to correctly match the Cloud's vision of what my OneDrive should look like. I've read a few articles like this https://www.winhelponline.com/blog/shell-folders-merged-music-videos-same-folder/#google_vignette that seem helpful but not quite comprehensive enough to inspire total confidence that if I do that I won't get bit when I restart OneDrive and its syncing. Here's an image of my registry entry. It looks like something unwanted by me is in fact going on there, but more that what the article above discusses and makes be nervous to make changes without some specific approval from the brain trust here.

- At some point here I'm guessing I should Unlink and Relink - how and when, in some detail if possible please? I am very nervous of regressing alll the "fixing" I think I've done over the past two weeks of this fiasco.
- At this point neither the Cloud nor my computer is a complete and accurate "master copy" of what my OneDrive should be. eg all the photos folders that are incorrectly showing as being in a Documents Folder on my computer, are correctly in a Pictures folder in the cloud (in fact there is NO Documents folder in the cloud). Is there some specific order which I should be making changes and if so what.
Thanks for hanging in, and I really appreciate any help getting out of this. I feel especially frustrated because contrary to how this might read, I am not a dummy, nor inexperienced. My background is tech (mostly software, some hardware, some telecom) but this has really got me in knots.