I'm getting an error and can't sync my OneDrive credentials because I want to re-enter them to continue syncing.

Hayes Victoria 0 Reputation points
2026-08-24T01:26:35.25+00:00

I want to sync OneDrive again, but I get an error when I enter my credentials. What should I do?

Microsoft 365 and Office | OneDrive | For education | Windows
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-08-24T01:26:50.8366667+00:00

    For a OneDrive sign-in or credential re-entry problem on Windows, use this sequence:

    1. Verify the correct account is being used.
      • Select the OneDrive icon in the taskbar notification area.
      • Select Help & Settings > Settings.
      • On the Account tab, confirm the expected work or school account is shown.
      • If not, sign in with the correct account.
    2. Clear the cached pre-sign-in credential file.
      • Press Windows key + R.
      • Enter: %localappdata%\Microsoft\OneDrive\settings
      • Select OK.
      • Delete PreSignInSettingsConfig.json.
      • Start OneDrive again and try signing in.
    3. Unlink and relink OneDrive.
      • Select the OneDrive icon.
      • Open Help & Settings > Settings.
      • On the Account tab, unlink the PC from OneDrive.
      • Start OneDrive again and sign in with the correct account.
    4. If the issue continues, reinstall OneDrive.
      • Go to Add or remove programs.
      • Find Microsoft OneDrive under Apps & features.
      • Select Uninstall.
      • Download and install OneDrive again.
      • No data is lost by uninstalling or resetting OneDrive.
    5. If the error is caused by multiple cached identities, clear the cached Office account identities from the registry.
      • This is more advanced and should be done carefully because incorrect registry changes can affect sign-in behavior.

    If syncing is blocked after sign-in, also confirm the SharePoint or OneDrive library is allowed to sync and that the correct Microsoft 365 credentials are being used.

    For work or school accounts, if the problem still remains after these steps, contact the organization's IT helpdesk or admin.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Teddie Dang 1,265 Reputation points Independent Advisor
    2026-08-24T01:41:27.4466667+00:00

    Hi @Hayes Victoria

    To narrow down the issue, please provide more information:

    • Could you provide the exact error message or error code shown on the screen when you enter your OneDrive credentials?
    • Could you sign in to OneDrive on the web using the same email address and password? This will help confirm whether the credentials work correctly and whether the issue is specific to the OneDrive sync client.

    If you can sign in successfully on the web, I recommend trying the following steps:

    • Press Windows + R and enter: %localappdata%\Microsoft\OneDrive\settings
    • Delete the PreSignInSettingsConfig.json file.
    • Restart OneDrive and try signing in again.

    If the issue persists, reset OneDrive:

    • Press Windows + R and run: %localappdata%\Microsoft\OneDrive\OneDrive.exe /reset
    • If Windows cannot find the file, try: C:\Program Files\Microsoft OneDrive\OneDrive.exe /reset
    • After the reset, start OneDrive again from the Start menu.

    If you are still unable to sign in, you can also check Credential Manager > Windows Credentials for old Microsoft or OneDrive-related credentials and remove obsolete entries before trying again.

    Additionally, you can also try the following troubleshooting steps suggested by the forum AI:

    • Unlink and relink your OneDrive account to refresh the sync connection.
    • Reinstall the latest version of the OneDrive client and then sign in again.

    I hope this helps.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.