Right-click on the OneDrive icon in the lower-right corner of the desktop and select "Set" menu item in the Popup
In the open Microsoft OneDrive Settings window, click on the Account tab and click the "Unlink this computer" shortcut link
This will bring up the "Cancel link account on this Computer" window and click the "Unlink Account" button
Next find the OneDrive directory on C disk, then right click on the Cut menu item and paste it into another letter, such as D
Next, in the Setup OneDrive window, enter your email address and click the login button
Click on the "Change location" shortcut link in the new open window
Next, select the folder you want to set up, and specify the OneDrive location you just set.
You will be prompted to confirm the use of the new location of the window, click the "Use this location" button on it
You can see the OneDrive directory changed to the D:\OneDrive location.
Next, select the folder you want to sync, and then select the Next button.
It will show that OneDrive is ready.