OneDrive has failed with an error code 0x80040d13.

Rick Lee 0 Reputation points
2025-12-05T22:06:40.75+00:00

OneDrive began locking up around Nov 9th and after repeated efforts to get it repaired and reset it has failed altogether. It will not even allow a reinstall, returning an error code 0x80040d13. Can you help?

Windows for home | Windows 11 | Apps
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-12-05T22:06:55.5766667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error code 0x80040d13 in OneDrive typically indicates a problem with the OneDrive installation or configuration. Here are some steps you can take to resolve this issue:

    1. Repair OneDrive: Before attempting a full reinstall, try repairing OneDrive. You can do this by going to the Control Panel, selecting Programs and Features, finding OneDrive in the list, and selecting the repair option.
    2. Check for Updates: Make sure that your Windows and OneDrive are updated to the latest versions. Sometimes, issues can arise from outdated software.
    3. Reset OneDrive: You can reset OneDrive by running the following command in the Run dialog (press Win + R): onedrive.exe /reset. This will reset OneDrive and may resolve the issue.
    4. Uninstall and Reinstall OneDrive: If the above steps do not work, you may need to uninstall OneDrive completely and then reinstall it. Make sure to follow the correct steps for uninstalling based on how OneDrive was installed (MSI or Click-to-run).
    5. Check for System Issues: Sometimes, system issues can affect OneDrive. Running a system file check (SFC) can help. Open Command Prompt as an administrator and run the command sfc /scannow.

    If you continue to experience issues after trying these steps, consider reaching out to Microsoft support for further assistance.


    References:

    0 comments No comments

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.