OneDrive Business Account Disappears After Reboot
🔍 WiseChecker

OneDrive Business Account Disappears After Reboot

You sign in to OneDrive with your work or school account, sync your files, and restart your computer. After the reboot, the account is gone. You see only a personal account or a blank OneDrive window asking you to sign in again. This problem occurs because OneDrive can lose its cached credentials or registry settings during shutdown, especially when Windows Fast Startup or Group Policy settings interfere. This article explains why the account disappears and provides a step-by-step fix to keep your business account persistent across reboots.

Key Takeaways: Keep Your OneDrive for Business Account After Restart

  • OneDrive settings > Account > Remove account then re-add: A clean re-registration of the business tenant fixes corrupted credential cache.
  • Windows Control Panel > Power Options > Choose what the power buttons do > Turn on fast startup (disable): Disabling Fast Startup prevents OneDrive from losing its authentication state during shutdown.
  • Local Group Policy Editor > Computer Configuration > Administrative Templates > Windows Components > OneDrive > Prevent the usage of OneDrive for file storage (set to Not Configured): Ensures no policy is blocking the business account from persisting.

ADVERTISEMENT

Why OneDrive Loses Your Business Account on Restart

OneDrive for Business stores your sign-in credentials and tenant information in the Windows Credential Manager and in registry keys under HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts\Business1. When you reboot, Windows Fast Startup (enabled by default on Windows 10 and Windows 11) does not fully shut down the system. It hibernates the kernel session, which can cause OneDrive’s credential manager entries to become stale or orphaned. On the next boot, OneDrive cannot find a valid token for the business account and reverts to an unauthenticated state.

Another common cause is a Group Policy or registry setting that removes the OneDrive business account after a logoff or restart. Policies like “Prevent the usage of OneDrive for file storage” or “Set the default location for the OneDrive folder” can interfere with the account persistence. If the policy is set to “Enabled” for business accounts, it forces OneDrive to disconnect on every sign-in.

Steps to Fix the Disappearing OneDrive Business Account

  1. Sign out and remove the business account from OneDrive
    Right-click the OneDrive cloud icon in the system tray. Select Settings. Go to the Account tab. Under your business account, click Remove this PC. Confirm the removal. This clears all cached credentials for that tenant.
  2. Clear OneDrive cached credentials from Windows Credential Manager
    Open Control Panel. Click User Accounts > Credential Manager > Windows Credentials. Look for any entries that include “OneDrive Cached Credential” or “MicrosoftOffice16_Data:ADAL:” followed by your tenant name. Click the arrow to expand each entry, then click Remove. Confirm each removal.
  3. Disable Windows Fast Startup
    Open Control Panel. Go to Hardware and Sound > Power Options. Click Choose what the power buttons do. Click Change settings that are currently unavailable. Under Shutdown settings, uncheck Turn on fast startup (recommended). Click Save changes. Restart your computer.
  4. Re-add your OneDrive for Business account
    After the restart, right-click the OneDrive cloud icon and select Settings. On the Account tab, click Add an account. Enter your work or school email address. Complete the sign-in with your Microsoft 365 credentials. Allow OneDrive to set up the sync folder.
  5. Verify that OneDrive launches automatically at sign-in
    Right-click the OneDrive cloud icon and select Settings. Go to the Settings tab. Ensure Start OneDrive automatically when I sign in to Windows is checked. If it was already checked, uncheck it, click OK, then reopen Settings and re-check it to refresh the startup registration.
  6. Check Group Policy for OneDrive restrictions (Windows Pro or Enterprise only)
    Press Windows key + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > Windows Components > OneDrive. Double-click Prevent the usage of OneDrive for file storage. Set it to Not Configured or Disabled. Click OK. Close the Group Policy Editor and restart your computer.

ADVERTISEMENT

If OneDrive Still Loses the Account After These Steps

OneDrive business account appears but shows “Sign in required” after every reboot

This indicates that the credential token is expiring or being invalidated by Azure Active Directory conditional access policies. Open a browser and go to https://portal.azure.com. Sign in with your business account. Navigate to Azure Active Directory > Security > Conditional Access. Look for any policy that requires reauthentication on every sign-in. Work with your IT admin to exclude the OneDrive sync client from that policy, or configure the policy to use persistent browser sessions.

OneDrive account is removed but personal account remains

This happens when the Windows registry key for the business account is corrupted or missing. Open Registry Editor (regedit.exe) and navigate to HKEY_CURRENT_USER\Software\Microsoft\OneDrive\Accounts. Right-click the Accounts key and select Export to back it up. Delete the Business1 subkey. Close Registry Editor and restart OneDrive. Re-add the business account as described in step 4 of the main fix.

OneDrive account disappears only on domain-joined computers

Domain Group Policy may be overriding local settings. Contact your IT administrator. Ask them to check the policy path Computer Configuration > Administrative Templates > Windows Components > OneDrive > Set the default location for the OneDrive folder. If this policy is enabled with a specific path, it may cause OneDrive to reset the account on each reboot. The policy should be set to Not Configured or disabled for the business account to persist.

Files On-Demand vs Always Keep on This Device: Key Differences

Item Files On-Demand Always Keep on This Device
Description Files appear in File Explorer with online-only status; they download only when opened Files are downloaded and stored locally; they remain available offline at all times
Disk space usage Minimal — only thumbnail and metadata take local space Full file size is stored on the local drive
Account persistence impact No direct impact; account must be signed in to show online-only files No direct impact; account must be signed in to sync file changes
Best for Users with limited disk space or slow internet Users who work offline frequently or need instant access to large files

After you fix the disappearing account, check your Files On-Demand setting. Right-click the OneDrive cloud icon, select Settings, go to the Sync and backup tab, and click Advanced settings. Under Files On-Demand, ensure the setting matches your preference. If you disable Files On-Demand, all files will be downloaded locally, which can increase the chance of credential issues if the account disconnects.

You can now restart your computer without losing your OneDrive for Business account. After applying the steps above, test the fix by rebooting your PC twice in a row. If the account remains, the problem is resolved. As an advanced step, consider creating a scheduled task that runs the command %localappdata%\Microsoft\OneDrive\OneDrive.exe /background at user logon to force OneDrive to reinitialize if the account still fails to appear after certain updates or policy changes.

ADVERTISEMENT