OneDrive crashes and deletes itself

Anonymous
2018-06-08T05:44:26+00:00

On my laptop OneDrive (which has been working flawlessly for years) now crashes at random. It won't restart.  In fact it seems the exe file has disappeared.  I need to unistall it and reinstall it.  Had to do this three times in the last three days.

There are no error messages - the icon just disappears.

How do I diagnose and cure this?

Microsoft 365 and Office | OneDrive | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

60 answers

Sort by: Most helpful
  1. Anonymous
    2018-06-08T09:17:20+00:00

    Lets try to completely uninstall OneDrive:

    1. Open Command Prompt in Administrator mode: Right-click on the Windows icon in the taskbar and select Command Prompt (Admin).
    2. Type in taskkill /f /im OneDrive.exe to terminate any OneDrive processes and hit Enter.

    Then type in either %SystemRoot%\System32\OneDriveSetup.exe /uninstall if you’re using 32-bit Windows 10 or %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall if you’re using 64-bit Windows 10 and hit Enter.

    After that Go to RegEdit on this path: HKEY_CURRENT_USER\Software\Microsoft\OneDrive

    You can remove all folders that include One Drive version

    Account folders also can be removed

    After that restart the pc and install One Drive again

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-06-08T07:17:59+00:00

    Yes - been through the crash/remove/reinstall cycle 3 times now.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-06-08T06:20:36+00:00

    Hi Mike,

    So now you have installed it, but the issue still? Is that correct?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-06-08T06:15:45+00:00

    Hi - thanks for the advice... I found this tip on the web and have already tried it - but it comes back with the error message the exe file doesn't exist.

    Having browsed to the folder and I agree it doesn't seem to be there.  Now I've resinstalled it it is there.. but I've never come across this sort of behaviour before  - where the crashed program deletes itself.

    More help needed please!!

    Thanks

    M

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2018-06-08T05:46:14+00:00

    Lets try to reset Onedrive to see hownit works after

    1. Press the Windows key + R.

    In the Run window, enter: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

    After 2 or 3 minutes OneDrive should start by itself, sometimes does not open.

    In the Run window, enter: %localappdata%\Microsoft\OneDrive\onedrive.exe

    Hope it works

    Was this answer helpful?

    0 comments No comments