How do you uninstall MS OneDrive, when you wish to partition your drive and create a DATA partition to move your folders to it?

If you are a person who likes to divide your drive into two partitions, one for the OS and one for DATA, then the below should be followed before uninstalling OneDrive.

After installing Windows 11 several times on a computer and having OneDrive mess up what I wanted, I finally arrived at the correct solution.

For me, all the ways that have been detailed of ridding your computer of OneDrive have left out several important steps. I decided years ago to divide my drives into two partitions. The OS in the first and DATA in the second. This way if something happens and I need to repair or replace the OS, I do not lose my data. For this you need:

First, go to accounts and make and sign in to a local account. The below works best when in a local account. Later you can sign back in to MS.

Second, go to the taskbar look for, maybe on the taskbar or hidden, for the OneDrive icon, a little cloud. (If you have installed StartAllBack or other software to simulate Windows 10/7, the OneDrive icon may not be there. Uninstall StartAllBack and it should reappear. Later you can reinstall your Windows 10/7 look alike.”) Click on the OneDrive icon and in the window look for Unlink OneDrive from …, deactivate it.

Third, check to see that the addresses of the folders Desktop, Documents, and Pictures are “now” located in C:usersyour name You can do this by right clicking on the folder, scroll down to Properties and click. Look in the window to see that the folders are in the usersyour name and not still located in the usersyour nameOneDrive.

Then you can uninstall OneDrive. Not doing the above first, will leave the three folders in usersyour nameOneDrive and the OS will not allow you to move Desktop, Documents and Pictures folders into a second partition.