FIRST, MAKE SURE YOU LOG INTO ONEDRIVE.COM WITH THE SAME EMAIL YOU'LL USE ON YOUR PC AND SAVE ALL THE FOLDERS TO AN EXTERNAL DRIVE, LIKE A USB, OR A SECONDARY DRIVE IN YOUR COMPUTER SO YOU DON'T LOSE ANY DATA.
I know, it's like a virus you can't get rid of. I racked my brain for several days, trying to find a solution. After a LONG time I finally came up with this...
Windows 11
While trying to uninstall OneDrive I tried about forty links and about as many videos. All to no avail! There was so much junk - from modifying the Registry to running multiple scripts in Powershell - and Command Console - and walking through sometimes twenty steps in various windows functions and apps and on and on. It made me sick.
I did come up with a solution that INVOLVES RE-INSTALLING WINDOWS and it worked for ME!
- I went to the website: https://www.microsoft.com/en-us/software-download/windows11 a. I downloaded Windows 11 Installation Assistant and created Windows 11 Installation Media on a USB Drive
- I reinstalled Windows 11 using this media a. I clicked the link on one of the dialogs - "Set up as new PC" - watch for it so you don't miss it
- After the OS was fully installed I went to OneDrive.com and logged in with the Email that I used to install Windows a. Windows had set everything up and I had a working OneDrive.com instance in the cloud - (If you had installed Windows previously
with this same Email this OneDrive.com instance would have already been there)
b. Multiple directories and the Personal Vault folders were visible
- I deleted every folder and disabled Personal Vault Folder (it can't be deleted but if you right-click it you can disable it)
- I signed out of this instance of OneDrive.com
- I went to my installation of Windows 11 and signed in to the OneDrive app using the same Email a. I clicked "Unlink this PC"
b. I clicked "Choose folders" in the dialog that came up
c. I was able to UNCHECK EVERY SINGLE FOLDER IN THE DIALOG!!!
- I quickly exited from OneDrive and rebooted the computer :)
- ALL TRACES OF ONEDRIVE WERE GONE!!! a. When I right-clicked my Documents folder it looked like this: (C:\Users[MyUserName]\Documents)
b. OneDrive was not in the string
- Try it - you'll like it!