logo
search
Microsoft Account Errors

How to Unlink an Expired OneDrive School Account and Add a New Account

Olivia MillerOlivia Miller Sep 27, 2026 869 views

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.

How to Unlink an Expired OneDrive School Account and Add a New 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.
Before you start

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.

Solution 1Recommended

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.

1
Run the OneDrive Reset Command

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.

2
Open Credential Manager

Click the Windows Start menu, type 'Credential Manager' in the search bar, and open the application.

3
Remove Cached OneDrive Credentials

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'.

4
Sign In with the New Account

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.

Reset OneDrive and Clear Cached Credentials
OneDrive Backup Prompts: During the new setup, OneDrive will ask which folders you want to sync. Make sure to review the selections and deselect any local folders you do not want automatically uploaded to your new cloud storage.
Free Microsoft Office alternative

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.

Free to use with a familiar, user-friendly interface.Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight software that runs smoothly on Windows, Mac, and mobile devices.Seamless migration and easy local or cloud file management.
microsoft office alternative - wps office

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.