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.

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?

By default, Microsoft OneDrive for work or school syncs SharePoint in Microsoft 365 libraries in folders under your Windows “User” folder, for example: C:\Users\username\

When you sync your OneDrive library, your files are placed in a folder named “OneDrive @CompanyName if the library is hosted on SharePoint in Microsoft 365, and “OneDrive” if the library is hosted on a corporate SharePoint server. If you sync libraries on other sites, OneDrive 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 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 or SharePoint will create a folder under that folder for your library files. OneDrive and SharePoint will not put anything in the root folder directly.

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

  1. Right click the OneDrive for work or school icon OneDrive notification tray icon/button in the Windows notification area at the bottom of your screen, and then select Stop syncing a folder…

    Stop syncinc a folder command in the OneDrive for Business menu

    Note: If the OneDrive for work or school icon OneDrive notification tray icon/button isn't visible, click the Show hidden icons button 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.

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

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

  2. Click Change in the OneDrive dialog box, and then select a new location as the root path on your local drive. OneDrive 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 work or school.

  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 sync problems

Need more help?

Want more options?

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

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

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×