How to Unlink an Old OneDrive Account After Losing Gmail Access
Question details
The user needs to disconnect a previously logged-in OneDrive account from their computer after permanently losing access to the associated Gmail address, so they can set up a new OneDrive account.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Switching to a new OneDrive account on a PC where an old, inaccessible account is currently linked.
- Observed behavior
- The old OneDrive account remains connected to the PC, preventing the user from signing in with their new account credentials.
Before unlinking the account, copy or move any critical local files stored inside the old OneDrive folder to another location on your PC, such as your Desktop or Documents folder, to ensure you do not lose any unsynced data.
Unlink the PC via OneDrive Settings
Use the built-in account management settings in the OneDrive app to securely disconnect the inaccessible account from your computer.
Unlinking your PC stops OneDrive from syncing files to your local drive. Your locally downloaded files will remain on your device, but any online-only files will become unavailable until you sign in again.
Click the OneDrive cloud icon situated in the notification area at the far right of your Windows taskbar.
Click on the 'Help & Settings' gear icon in the top right corner of the OneDrive panel, then select 'Settings' from the dropdown menu.
In the settings window that appears, click on the 'Account' tab located in the left sidebar.
Click the 'Unlink this PC' link under your account information, and confirm the action in the prompt that follows to fully disconnect the old account.

Clear the Sign-in Configuration File Manually
If you are unable to access the standard settings menu or if the previous sign-in data is preventing a new login, manually delete the local configuration file.
Manage and Edit Your Files Seamlessly with WPS Office
If you are migrating your files or looking for an efficient way to manage your documents across various cloud platforms, WPS Office provides a free, powerful, and lightweight alternative to Microsoft Office. It integrates flawlessly with multiple cloud storage services so you never have to worry about getting locked out of your workflow.
- 1. Install the software: Download and install the free version of WPS Office from the official website.
- 2. Open the application: Launch WPS Office and navigate to the 'Open' tab on the left-hand menu panel.
- 3. Connect your cloud: Select 'Add Cloud Storage' to connect your preferred service and easily access files independent of Microsoft OneDrive.

Frequently Asked Questions
Will unlinking my old OneDrive account delete my local files?
No. Unlinking simply stops the syncing process. Any files that you have previously downloaded to your computer will remain securely in your local OneDrive folder.
How do I sign in with my new OneDrive account after unlinking the old one?
After you successfully click 'Unlink this PC', the OneDrive setup window will pop up automatically. You can then enter the email address and password for your new Microsoft account to begin syncing.
What if the OneDrive setup window doesn't appear after unlinking?
You can manually trigger the setup by pressing the Windows key, typing 'OneDrive' in the search bar, and clicking the application. This will launch the sign-in wizard for your new account.
Can I merge files from the old unlinked account to my new account?
Yes. While logged into your new account, simply drag and drop the locally saved files from your old OneDrive folder directly into your new OneDrive folder to sync them to the new cloud account.




