How to fix Onedrive login on Lenovo PC

UNNATII NAIK 0 Reputation points
2026-09-14T19:06:59.15+00:00

I can not login and synchronize One drive on my PC. Every time when I try to log in it gives Message "Login Cancelled"

I tried to Unlink my PC and Add account, but it is not working. One drive is working perfectly on my Phone with same login account.

Microsoft 365 and Office | OneDrive | Other | Other

1 answer

Sort by: Most helpful
  1. Kai-H 27,725 Reputation points Microsoft External Staff Moderator
    2026-09-17T09:40:32.01+00:00

    Hi, UNNATII NAIK

    Since the same account works on your phone, the account itself is probably fine. The “Login Cancelled” message is more likely caused by damaged OneDrive sign-in data or cached credentials on the Lenovo PC.

    Here are some suggestions you can try:

    Press Windows key + R, paste the following command, and select OK:

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

    Wait about one minute, then open Start, search for OneDrive, and start it again. Resetting OneDrive does not delete your cloud files, but it rebuilds the app settings and sync connections.

    If sign-in is still canceled, press Windows key + R, paste %localappdata%\Microsoft\OneDrive\settings, and select OK. Delete only the file named PreSignInSettingsConfig.json, then restart OneDrive and try signing in again.

    If that does not help, uninstall Microsoft OneDrive from Settings > Apps > Installed apps, restart the PC, and install the latest OneDrive version again. Reinstalling will not remove files already stored online.

    Thank you for your patience in reading, I hope this information has been helpful to you. 


    If the answer is helpful, please click "Yes" 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?


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.