How to Unlink an Expired OneDrive School Account and Add a New Account
Question details
The user needs to remove an expired school OneDrive account that is stuck in a disconnected state and replace it with a new Microsoft account.

- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Switching from an expired school account to a new Microsoft account on a Windows PC.
- Observed behavior
- The expired school account remains disconnected and cannot be signed out normally, blocking the addition of a new account.
Ensure you have the login credentials for your new Microsoft account ready, and verify that any important local files are securely saved in a separate folder before resetting OneDrive.
Reset OneDrive and Clear Cached Credentials
Use this method to forcefully disconnect the expired account by resetting the OneDrive app and removing old login data from Windows Credential Manager.
When an educational or organizational account expires, standard unlinking options in the OneDrive interface may become unresponsive. Resetting the app via the Run command is the most effective way to clear the connection lock without deleting your local files.
Press the Windows key + R to open the Run dialog box. Type '%localappdata%\Microsoft\OneDrive\OneDrive.exe /reset' and press Enter. The OneDrive icon in your system tray will disappear and reappear after a minute.
Click the Windows Start menu, type 'Credential Manager' in the search bar, and open the application.
Select 'Windows Credentials'. Scroll down to find any entries containing 'OneDrive' or your expired school account email. Click on each relevant entry and select 'Remove'.
Search for OneDrive in the Start menu to launch the application. Follow the on-screen prompts to sign in with your new Microsoft account and carefully review your folder backup selections.

Switch to WPS Office for Seamless Document Management
While you manage your cloud storage accounts, consider WPS Office as a free, lightweight, and fully compatible alternative to Microsoft Office for editing all your synced files.

Frequently Asked Questions
What happens to my local files when I reset OneDrive?
Resetting OneDrive does not delete your local files or folders. It only resets the application settings and disconnects the sync connection, allowing you to sign in fresh.
Why can't I just click 'Unlink this PC' in OneDrive settings?
If an account has expired or is in a disconnected state, the settings menu may become inaccessible or grayed out, requiring a manual app reset and credential clearance.
Can I have both a personal and a school OneDrive account linked at the same time?
Yes, Windows allows you to run a personal OneDrive account alongside a separate school or work account. However, you cannot link two separate personal accounts simultaneously.




