Step 1 - Go to the right side of the taskbar, select the Show hidden icons arrow , right-click (or press and hold) the OneDrive icon , and then select Settings > Unlink this PC. The OneDrive setup screen will appear, but ignore it for now.
Step 2 - Now you’ll need to move your OneDrive folder. Find it in File Explorer (it's usually in C:\Users\[your username]) and select it. Then, go to the Home tab and select Move to > Choose location > Move.
Step 3 - Go back to the OneDrive setup screen, select Get started and follow the instructions until you get to the screen where you can change your OneDrive folder’s location. Select Change, choose the new folder location, and then select OK.
Step 4 - You’ll see a message letting you know that the OneDrive folder in the new location already has files in it. Select Use this location, and then finish setting up OneDrive.