Fix Cannot Sign Out of OneDrive When Student Account is Disabled
Question details
The user is unable to sign out of a disabled student or school OneDrive account, which prevents them from signing in with a personal Microsoft account.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- Trying to switch from a disabled school OneDrive account to a personal Microsoft account.
- Observed behavior
- The disabled account remains connected to the OneDrive sync client, blocking new sign-ins. Reinstalling OneDrive does not clear the cached credentials or sync settings.
Before proceeding, verify that any important files in your local OneDrive folder are backed up to an external drive, as resetting the client or removing the sync folder may result in the loss of unsynchronized data.
Unlink the Disabled Account and Reset OneDrive
This method clears cached credentials and removes the connection to the disabled school account so you can log in with your personal account.
Resetting the OneDrive client is the most effective way to clear stubborn configuration files and cached account data that persist even after a reinstallation.
Click the OneDrive cloud icon in your system tray, click the Gear icon (Help & Settings), and select 'Settings'. Go to the 'Account' tab and click 'Unlink this PC'.
Press the Windows key + R on your keyboard to open the Run window.
Type '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset' and press Enter. The OneDrive icon will disappear and reappear after a minute or two.
Once OneDrive restarts, open it and sign in using your personal Microsoft account credentials.

Clear Microsoft Account Credentials in Windows
If resetting OneDrive doesn't completely log you out, manually removing cached credentials from Windows can force a complete sign-out.
Manage Your Documents Seamlessly with WPS Office
If you are transitioning from a school Microsoft account to a personal setup, WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office. Enjoy a familiar interface while easily managing your documents on your personal cloud storage.
- 1. Download and Install: Download WPS Office from the official website and follow the installation prompts.
- 2. Sign In: Open WPS Office and sign in quickly using your personal Email, Google, or WPS account.
- 3. Open and Edit Files: Directly open your existing Microsoft Office files (.docx, .xlsx, .pptx) in WPS Office and continue working immediately.

Frequently Asked Questions
Will I lose my files if I reset the OneDrive client?
Resetting OneDrive does not delete your files. It only resets the application's sync settings. However, any local files that haven't synced to the cloud yet won't be uploaded to your new account, so you must back them up first.
Why doesn't reinstalling OneDrive remove the disabled account?
Reinstalling the OneDrive application does not clear the cached credentials or configuration data stored deep in the Windows AppData folders. You must manually unlink the account or run the Windows reset command to clear this data.
How do I remove the old OneDrive school folder from File Explorer?
Once you have successfully unlinked the disabled school account from your PC and verified your files are safe, the folder will stop syncing. You can then navigate to its location in File Explorer, right-click the folder, and select Delete.




