Change the location where you sync SharePoint libraries on your computer

By default, OneDrive for Business syncs SharePoint libraries in folders under your Windows “User” folder, for example: C:\Users\username\

When you sync your OneDrive for Business library, your files are placed in a folder named “OneDrive for Business @CompanyName if the library is hosted on SharePoint Online, and “OneDrive for Business” if the library is hosted on a corporate SharePoint server. If you sync libraries on other sites, OneDrive for Business creates folders for them using their library names, and places these folders in a folder name “SharePoint.”

You can change the root path for libraries you sync to your computer, though you can do this only if you’re not currently syncing any libraries. If you’re already syncing at least one library and you want to change the path, you must first stop syncing all libraries. Then, the first time you run the OneDrive for Business wizard to sync a library to your computer, you’ll see an option to change the location.

Note: You must stop all libraries, not just the one you want to change, before choosing another folder to sync to. Follow the steps below to stop your synced folders and change their location.

When you change the root folder, that means every library you sync will be under that folder. For example, if you change it to "C:\mysyncfolders\", then OneDrive for Business or SharePoint will create a folder under that folder for your library files. OneDrive for Business and SharePoint will not put anything in the root folder directly.

Stop syncing SharePoint folders

If you are currently syncing folders, do the following to stop them from syncing:

  1. Right click the OneDrive for Business icon Stop syncinc a folder command in the OneDrive for Business menu

    Note: If the OneDrive for Business icon Button to see notification icons in the notification tray.

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

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

Change folders and sync

Once you've stopped all folders from syncing, follow these steps:

  1. Navigate to your OneDrive for Business library you want to sync, and click Sync.

  2. Click Change in the OneDrive for Business dialog box, and then select a new location as the root path on your local drive. OneDrive for Business does not support syncing to a network drive.

    Sync library dialog with Change location link

    Warning:  If you’re already syncing files to your computer using OneDrive for Windows, you should not use the same location that you use with OneDrive for Windows to sync files with OneDrive for Business.

  3. If you don’t see the “Change” link in the dialog box, it means you’re currently syncing at least one library. Go back and stop syncing all drives.

See Also

Fix OneDrive for Business sync problems

Was this information helpful?

How can we improve it?

How can we improve it?

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!