A Microsoft file hosting and synchronization service.
Re-link OneDrive to the single Microsoft account you intend to keep, pointing it back to D:\OneDrive only after confirming that the correct files exist online.
1. Protect your files first
- Sign in to the OneDrive website with the account you want to keep.
- Check several important folders and the online Recycle Bin.
- In File Explorer, check whether
D:\OneDrivestill exists and contains files. - Copy any local-only files that are not online to a temporary folder outside OneDrive before changing the configuration.
Do not delete old accounts or their local folders until their files, subscriptions, purchases, and recovery information have been reviewed.
2. Re-link OneDrive to the correct account
- Select the OneDrive cloud icon by the Windows clock.
- Select Help & Settings (gear) → Settings → Account.
- For the currently connected account, select Unlink this PC → Unlink account.
- Press Windows+R, enter the following location, and select OK:
%localappdata%\Microsoft\OneDrive\settings - Delete only
PreSignInSettingsConfig.json. This clears OneDrive’s saved pre-sign-in selection. - Open Start, search for OneDrive, and open it.
- Sign in with the one account you want to use.
- At the folder-location screen:
- If
D:\OneDriveis the existing folder for this same account, select it and choose Use this folder. - If its contents came from a different account or you are uncertain, choose a new folder instead. After synchronization finishes, compare and move the required files carefully.
- If
Unlinking and re-linking does not delete cloud data; OneDrive reconnects and synchronizes the selected account afterward.^1^
3. If the missing-folder message remains
Reset the OneDrive sync client:
- Press Windows+R.
- Enter:
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset - If Windows cannot find it, try:
C:\Program Files\Microsoft OneDrive\onedrive.exe /reset - If that also fails, try:
C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset - Open Start, search for OneDrive, and launch it again.
A reset does not delete files, but it disconnects all personal and work/school sync connections and performs a full resynchronization. Any selective-sync choices may need to be configured again.^2^
If D: is an external USB drive or SD card, it must meet OneDrive’s drive requirements; Microsoft specifically documents NTFS for these Windows external-storage scenarios.^3^
4. Remove old accounts without deleting them
To stop an old account from syncing on this computer:
- Open OneDrive → Help & Settings → Settings → Account.
- Select the old account.
- Select Unlink this PC.
This removes its OneDrive connection from the PC; it does not permanently delete the Microsoft account or its online files.^4^
Microsoft personal accounts cannot be merged, nor can a personal account be merged with a work or school account. Files must be copied between accounts before an unwanted account is closed.^5^
If Windows asks whether to use a Personal or Work or school account with the same address, those are separate accounts. They cannot be merged; the personal account can instead be renamed by changing its primary alias.^6^
5. Permanently close an old Microsoft account only if necessary
For each unwanted account:
- Sign in to that exact account and verify its identity.
- Download or transfer anything needed from OneDrive.
- Check and cancel its subscriptions separately.
- Review whether it contains purchases, email, Xbox/Skype data, or BitLocker recovery keys.
- On the account-closure page, confirm the displayed account, select the acknowledgements and reason, choose the 30- or 60-day reopening window, and select Mark account for closure.^7^
Closing an account permanently removes its data after the reopening period. It is different from unlinking it from OneDrive or removing an email alias.
References
- Windows
- Reset OneDrive | Microsoft Support
- Unable to sync OneDrive to an SD card or external USB drive | Microsoft Support
- How to cancel or stop sync in OneDrive | Microsoft Support
- Combining Microsoft accounts | Microsoft Support
- Which account do you want to use? | Microsoft Support
- How to close your Microsoft account | Microsoft Support