Share via

Onedrive endless loging...

Leandro Páez 20 Reputation points
2026-05-18T15:16:35.2466667+00:00

User's image

Windows 10 pro under domain. Just replaced my old office pc with a new pc

I can login at Onedrive site

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

2 answers

Sort by: Most helpful
  1. Vivian-HT 16,025 Reputation points Microsoft External Staff Moderator
    2026-05-19T01:51:59.3466667+00:00

    Dear @Leandro Páez,

    I understand you’re experiencing an endless sign-in loop with OneDrive after moving to a new domain-joined Windows 10 PC, while access via the web works fine. This scenario is commonly related to device registration or cached authentication tokens.‌First, I recommend you restart the PC and sign back in with your domain account.

    Next, reset the OneDrive client and clear cached credentials. Close OneDrive completely, then run:

    %localappdata%\Microsoft\OneDrive\OneDrive.exe /reset

    For more information and instruction, please follow this article: Reset OneDrive

    If the issue continues, open File Explorer > paste the following path > and delete all files and folders.

    %localappdata%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy

    Then, you can try reconnecting your work account. Go to Settings > Accounts > Access work or school, disconnect your account, and then add it again > Launch an application again and log in to your account to double-check.

    In the meantime, could you please confirm these questions below to help me diagnose the issue more effectively: 

    • Is the problem happening only with OneDrive, or do other apps like Teams or Outlook also keep asking you to sign in?​‌
    • Have you already tried removing credentials from Credential Manager?​ ‌For reference: Credential Manager in Windows
    • Are you connected to corporate network/VPN?​
    • Have any other users in your organization experienced the same issue?

    Note: Please understand that as a forum moderator, my role is to provide general guidance and troubleshooting support. I don’t have access to internal systems or backend tools, and I appreciate your understanding of these limits.

    I hope the information shared helps point you in the right direction. Please try the steps above and let me know if they work. If not, we can continue working together to narrow this down.

    The first response may not always resolve the issue right away, but with your help and more details, we can work toward a solution.

    Thank you for your patience and understanding. I'm looking forward for your reply.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?


  2. AI answer

    2026-05-18T15:16:53.2766667+00:00

    Use the following steps to resolve the endless OneDrive sign‑in/loading loop on the new Windows 10 Pro domain PC:

    1. Verify that the account and password work by signing in to the Microsoft Account dashboard or OneDrive on the web. If sign‑in fails there, reset the password using the Microsoft account sign‑in helper or your organization’s password reset process.
    2. Make sure the latest OneDrive sync client is installed on the PC. If needed, download and install the current version, then try to sign in again.
    3. If OneDrive still will not complete sign‑in, clear the cached OneDrive credentials on the PC:
      • Press Windows key + R.
      • Enter %localappdata%\Microsoft\OneDrive\settings and select OK.
      • Delete the file PreSignInSettingsConfig.json.
      • Start OneDrive again and sign in.
    4. If the issue persists, uninstall OneDrive from the PC and reinstall it. Files in OneDrive will not be lost; they remain available via the OneDrive website and will resync after sign‑in.
    5. If OneDrive reports that it is not connected or still cannot sign in after these steps, check whether a firewall, VPN, or network configuration on the domain is blocking required OneDrive URLs and ports, and adjust as needed.

    References:

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

    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.