Repair sync connections in OneDrive for work or school (2024)

Skip to main content

Microsoft

Support

Support

Sign in

Sign in with Microsoft

Sign in or create an account.

Hello,

Select a different account.

You have multiple accounts

Choose the account you want to sign in with.

SharePoint Server 2016 SharePoint Server 2013 Enterprise SharePoint in Microsoft 365 Office for business Microsoft 365 admin OneDrive (work or school) SharePoint admin center More...Less

Sync errors can occur for several reasons with OneDrive for work or school. Many errors can be fixed by using the Repair option in the OneDrive menu that you can see from the taskbar notification area.

Note:This article applies only to the previous OneDrive for work or schoolsync app (groove.exe). In most cases, we recommend that you use the newer OneDrive sync app (onedrive.exe) instead. Which OneDrive app?

Get started by right-clicking the OneDrive menu icon Repair sync connections in OneDrive for work or school (2) in the taskbar notification area, and then clicking View sync problems.

Repair sync connections in OneDrive for work or school (3)

An error dialog box opens that describes any current sync problems and suggests actions you can take to fix them. Sometimes, you might prefer to just clear all sync errors at once, or you might see this error:

“An error occurred while attempting to synchronize this document library”

In either case, you can run Repair instead of trying to fix each sync error one at a time.

Note:There are many reasons why sync might fail. If this method doesn't fix the problem, check out the links in the Still having sync issues? section of this article.

  1. In the taskbar notification area, right-click or press and hold the OneDrive menu icon Repair sync connections in OneDrive for work or school (4), and then click Repair.

    Repair sync connections in OneDrive for work or school (5)

  2. In the dialog box, click Repair.

    Repair sync connections in OneDrive for work or school (6)

    Repair reports your progress until all sync connections are reset.

  3. Click Finish.

    Repair sync connections in OneDrive for work or school (7)

Important:Don’t restart your computer while Repair is running. If you have a timed auto-restart scheduled for your computer, postpone it until you’re sure Repair is finished.

If repairing your sync connection doesn't solve your problem, see "Method 2: Remove your OneDrive cache" in the Microsoft Knowledge Base article: “An error occurred while attempting to synchronize this document library” error in OneDrive for Business

Repair does the following:

  • Disconnects all libraries that were experiencing sync problems.

  • Reconnects these libraries. This means Repair downloads and syncs the current server version of each library, as if you were syncing for the first time.

  • Creates an archive copy of any file that had unsynced changes and places these files in a library folder under C:\users\username\OneDrive archives\.

    If you change where your synced folders are stored, the archive folder may be called \OneDrive -- Unsynced Changes\ when viewed in Explorer. At a CMD or DOS prompt, the folder is called ODBA. In that folder, OneDrive creates subfolders with the current date and time as the folder name, such as \2016-02-16 15-03-09\ to store files that can't be synced.

    When Repair runs, it syncs the folder with the files that aren't causing the problems, and moves the other files into the archive. Repair creates these archive copies in case you had updates that couldn’t be synced to the server before you started Repair. This ensures that you don’t lose any local updates. You can compare file versions in the archive library folder with the reconnected folder to make sure you have the version you want.

When you're done with repair, the notification icon that signals sync problems should be clear. If it's not, click the OneDrive notification icon Repair sync connections in OneDrive for work or school (8), click View sync problems. If there are no more issues to fix, click Dismiss in the OneDrive dialog box.

The Repair command appears in the OneDrive menu only if you're experiencing sync errors.

If you're experiencing sync errors but you still don’t see the Repair command, you might need to update the OneDrive sync app.

There can be a number of different reasons why OneDrive fails to sync, from invalid characters in file names to out dated sync apps. Here are some links to help you troubleshoot OneDrive sync issues:

  • See Sync files with OneDrive in Windows for the correct way to set up OneDrive for Business and sync.

  • Sometimes it's better to stop and reestablish the sync connection again. See the following procedures to stop and restart syncing your library.

Before you can repair a sync issue, you need to stop syncing all folders.

When you stop syncing a folder, the folder is disconnected from its library. All files are retained in the previously synced folder. You can sync the library to your computer again at any time. When you start syncing a library again, it will create a new folder on your computer. If it's using the same name, it will add a number to the end, such as 1, 2, and so on.

  1. Right click the OneDrive icon Repair sync connections in OneDrive for work or school (9) in the Windows notification area at the bottom of your screen, and then click Stop syncing a folder…

    Repair sync connections in OneDrive for work or school (10)

    Note:If the OneDrive icon Repair sync connections in OneDrive for work or school (11) isn't visible, click the Show hidden icons button Repair sync connections in OneDrive for work or school (12) in the notification tray.

  2. Select the folder you want to stop syncing, and then click Stop syncing.

  3. Click Yes to agree to permanently stop syncing the folder, and then click OK.

You can start syncing your library again. When you start syncing a library again, it will create a new folder on your computer. If it's using the same name, it will add a number to the end, such as 1, 2, and so on.

  1. Sign in to Office 365 or your organization's SharePoint site with your work or school account.

  2. Select OneDrive at the top of the page. Or, select the app launcher Repair sync connections in OneDrive for work or school (13), and then select OneDrive.

    Repair sync connections in OneDrive for work or school (14)

  3. Select the Sync button.

    Repair sync connections in OneDrive for work or school (15)

    Note:If you don’t see a Sync button, select the Library tab and then select Sync in the Connect & Export group. (You may need to click Settings Repair sync connections in OneDrive for work or school (16) > Show Ribbon to show the Library tab.)
    Repair sync connections in OneDrive for work or school (17)

  4. At the prompt, click Sync Now to start the sync app wizard. The wizard automatically fills in the name and web address of your OneDrive.

  5. Select Sync Now in the wizard to start syncing.

    You can click Show my files… in the wizard to open your OneDrive folder in File Explorer. The folder is listed in your Favorites as either OneDrive - CompanyName or as OneDrive @ CompanyName.

    You might see this in File Explorer...

    Or this...

    Repair sync connections in OneDrive for work or school (18)

    Repair sync connections in OneDrive for work or school (19)

    When you're opening or saving an Microsoft 365 document, your screen looks similar to this:

    Repair sync connections in OneDrive for work or school (20)

Here's some more information.

Need more help?

Want more options?

Discover Community

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Repair sync connections in OneDrive for work or school (24)

Microsoft 365 subscription benefits

Repair sync connections in OneDrive for work or school (25)

Microsoft 365 training

Repair sync connections in OneDrive for work or school (26)

Microsoft security

Repair sync connections in OneDrive for work or school (27)

Accessibility center

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Repair sync connections in OneDrive for work or school (28)

Ask the Microsoft Community

Repair sync connections in OneDrive for work or school (29)

Microsoft Tech Community

Thank you for your feedback!

×

Repair sync connections in OneDrive for work or school (2024)
Top Articles
Latest Posts
Article information

Author: Fr. Dewey Fisher

Last Updated:

Views: 6143

Rating: 4.1 / 5 (42 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Fr. Dewey Fisher

Birthday: 1993-03-26

Address: 917 Hyun Views, Rogahnmouth, KY 91013-8827

Phone: +5938540192553

Job: Administration Developer

Hobby: Embroidery, Horseback riding, Juggling, Urban exploration, Skiing, Cycling, Handball

Introduction: My name is Fr. Dewey Fisher, I am a powerful, open, faithful, combative, spotless, faithful, fair person who loves writing and wants to share my knowledge and understanding with you.