TechBuzzPro

How to Sync Any Folder to OneDrive on Windows 10

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To sync any folder to OneDrive on Windows 10, the reliable method is to move or create that folder inside your OneDrive folder, or to create a directory link (junction) so the folder appears inside OneDrive without moving its contents. OneDrive only syncs what is inside its own folder, so you cannot simply point it at an arbitrary path like D:\Projects through the app's settings. The steps below cover the safest approaches, plus what to do when files refuse to upload.

What You'll Need

  • A Windows 10 PC with the OneDrive desktop app installed and signed in (it ships with Windows 10; if it is missing, install it from Microsoft's official site or the Microsoft Store).
  • Enough OneDrive storage for the folder you want to sync. Check your available space in File Explorer under OneDrive, or in the OneDrive app settings.
  • Administrator rights if you plan to create a directory link (junction), because the command must run in an elevated Command Prompt.
  • Knowledge of the folder's exact path. You can copy it from File Explorer's address bar.

Step-by-Step

  1. Locate your OneDrive folder. Open File Explorer and look for OneDrive in the left sidebar. The default path is C:\Users\YourName\OneDrive. If you have moved it, right-click the OneDrive cloud icon in the notification area, choose Settings, and check the Account tab for the folder location. Menu labels can differ slightly between app versions and regions.
  2. Decide between moving and linking. If the folder is small and you do not need it in its original location, move it into OneDrive. If other programs depend on the folder staying where it is (for example, a game save folder or a project directory on another drive), use a directory link instead. Do not use both methods on the same folder.
  3. Method A: Move the folder into OneDrive. Close any program using the folder. In File Explorer, right-click the folder, choose Cut, open your OneDrive folder, and choose Paste. Wait for the green check marks to appear. OneDrive will upload the contents automatically.
  4. Method B: Create a directory link (junction). This makes the folder appear inside OneDrive while its files stay on the original drive. Open Command Prompt as administrator: click Start, type cmd, right-click Command Prompt, and choose Run as administrator. Then run:
    mklink /J "C:\Users\YourName\OneDrive\FolderName" "D:\Original\FolderName"
    Replace the paths with your own. The first path must not already exist. After the link is created, OneDrive treats the folder as part of its sync set.
  5. Check sync status. Open the OneDrive folder in File Explorer. Icons next to files show a blue arrow while syncing, a green check when synced, and a red X if there is a problem. You can also click the cloud icon in the notification area to see current activity.
  6. Verify online. Sign in to OneDrive in a browser and confirm the folder and its files appear. This proves the upload completed rather than just queuing.
  7. Keep the link intact. If you used a junction, do not delete or rename the original folder. Deleting the original breaks the link and OneDrive will report errors. If you no longer want the folder synced, delete the junction inside OneDrive (which does not delete the original files) and then remove it from the recycle bin if needed.

Common Mistakes

  • Expecting OneDrive to sync an external path directly. The app has no "add folder" button for arbitrary locations. Moving or linking is the only supported route.
  • Creating the junction before the target folder exists. The mklink command fails if the original path is wrong or missing. Create or verify the source folder first.
  • Using a junction for a folder on a removable drive. If the drive is unplugged, OneDrive shows errors and may mark files as unavailable. Keep linked folders on internal drives.
  • Ignoring the storage limit. A folder larger than your remaining OneDrive space will stop syncing partway. Check space before starting a large move.
  • Deleting the original after linking. This breaks the junction and can leave OneDrive with missing files. Only remove the link, not the source.

Tips

  • Use File Explorer's "Free up space" right-click option on synced folders to keep local disk usage down while files remain online.
  • Pause syncing from the OneDrive cloud icon menu before moving very large folders, then resume when the move is complete to avoid partial uploads.
  • Name the junction exactly as you want it to appear in OneDrive; renaming later can confuse shortcuts that point to the old path.
  • If you need the same folder on several PCs, sign in to OneDrive on each and let it sync down rather than repeating the junction on every machine.

Troubleshooting

If files show a red X or stay on "Processing changes," first restart the OneDrive app: right-click the cloud icon, choose Close, then reopen OneDrive from the Start menu. Next, check that you are signed in and that your storage is not full. If a single file refuses to upload, check its name for characters Windows does not allow (such as \ / : * ? " < > |) and shorten very long paths. For junction-related errors, confirm the original folder still exists at the exact path used in the command. If sync still fails, sign out of OneDrive and sign back in; this refreshes the connection without deleting local files. As a last resort, unlink the PC from OneDrive in Settings and set it up again, but note that this removes the sync relationship, not your cloud files.

Frequently Asked Questions

Can I sync a folder that is on another drive without moving it?

Yes, by creating a directory junction inside your OneDrive folder that points to the original location. The files stay on the other drive but appear in OneDrive and sync normally.

Does a junction use extra disk space?

No. A junction is a pointer, not a copy, so it takes negligible space. The files remain only in their original location.

What happens if I delete a junction?

Deleting the junction inside OneDrive removes the link and stops syncing that folder. The original files on the source drive are not deleted.

Can I sync a folder from a network drive?

OneDrive does not support syncing network locations directly, and junctions to network paths are unreliable. Copy the files to a local drive first if you need them in OneDrive.

Why does OneDrive say my folder is too large?

Your OneDrive storage may be full, or the folder exceeds the per-file size limit. Free up space or split the folder into smaller parts.

Do I need to keep the original folder after moving it into OneDrive?

No. Once moved, the folder lives inside OneDrive and syncs from there. Keeping a second copy elsewhere is optional but can serve as a local backup.