How to Change the OneDrive Folder Linked in File Explorer
Question details
The user needs to change the OneDrive folder path displayed in the File Explorer sidebar because it is linked to the wrong local path or Microsoft account.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Managing synced cloud folders within the desktop file manager.
- Observed behavior
- The File Explorer sidebar displays a OneDrive folder linked to an incorrect location or account, despite the OneDrive app itself functioning normally.
Ensure you have the login credentials for the correct Microsoft account ready, and confirm that all recent files in your current OneDrive folder have finished syncing to prevent data conflicts.
Unlink the Incorrect Account and Re-Sign In
Unlinking the currently connected Microsoft account resets the integration, allowing File Explorer to map the correct OneDrive folder when you sign back in.
This solution will not delete any of your files. It simply severs the connection between your PC and the current OneDrive account, removing the incorrect sidebar link.
Click the OneDrive cloud icon located in the notification area (system tray) at the bottom right of your screen. Click the 'Help & Settings' gear icon, then select 'Settings'.
Navigate to the 'Account' tab in the settings window and click on the 'Unlink this PC' option. Confirm the action when prompted.
The OneDrive setup screen will appear automatically. Enter the email address and password for the correct Microsoft account.
During the setup process, verify the local folder path displayed. If you need to change the location, click 'Change location' before completing the setup. Once finished, File Explorer will display the correct OneDrive folder in the sidebar.

Enjoy Seamless File Management with WPS Office
If you frequently work with cloud documents and encounter syncing or linking issues with Microsoft services, try WPS Office. It is a highly compatible, free alternative that offers its own integrated cloud storage solution for effortless file management.
- 1. Download and Install: Get WPS Office Free from the official website and run the lightweight installer.
- 2. Sign In to WPS Cloud: Create a free account or log in to activate your built-in WPS Cloud storage.
- 3. Edit and Sync Seamlessly: Open your existing Microsoft Office documents and save them directly to WPS Cloud for instant access anywhere.

Frequently Asked Questions
Will unlinking my OneDrive account delete my local files?
No. Unlinking your account simply stops the syncing process. Your files will remain on your computer's local drive and in the cloud, but any changes made will not sync until you reconnect the account.
How can I change the default local path of my OneDrive folder?
You can only change the folder location during the initial setup. To do this, unlink your PC in the OneDrive account settings. When you sign in again, click 'Change location' on the setup screen before finalizing the process.
Why are there two OneDrive folders in my File Explorer sidebar?
This usually happens if you have both a 'OneDrive - Personal' account and a business account linked to the same computer. You can hide or unlink the one you do not need through the OneDrive 'Account' settings tab.




