blog

Folder Sync Windows: Keep Folders Matched (Step by Step)

Folder Sync Windows: Keep Folders Matched (Step by Step) - Folder Sync Windows: Keep Folders
Folder Sync Windows: Keep Folders Matched (Step by Step) - Folder Sync Windows: Keep Folders

How Does Folder Sync Work on Windows?

Folder sync on Windows keeps two folders identical, either through the cloud or between drives. Use OneDrive to sync folders across computers, a free app like FreeFileSync to match folders on two drives, or the built-in Robocopy command for scheduled mirrors. Pick based on where the second copy should live.

Method Syncs between Two-way? Cost Best for
OneDrive (built in) PC and the cloud, then other devices Yes 5 GB free, paid plans for more Access from any device
Google Drive for desktop PC and Google Drive Yes 15 GB free, shared Gmail and Android users
FreeFileSync Any two folders, drives or network shares Yes, or one-way mirror Free External drives and NAS
Robocopy (built in) Any two folders One-way mirror Free Scheduled, scripted copies
Syncthing Two or more PCs directly Yes Free Private PC-to-PC sync

What You Need Before You Start

  • Windows 10 or Windows 11 with the latest updates.
  • An administrator account if you plan to schedule tasks.
  • Enough free space on the target drive or cloud plan.
  • A backup of the folder. Mirror tools can delete files on the target, so test with copies first.

Method 1: Sync Folders With OneDrive

OneDrive is the simplest folder sync on Windows because it is already installed. It syncs its own folder and can back up Desktop, Documents and Pictures.

  1. Open OneDrive from the Start menu and sign in with your Microsoft account.
  2. Click the OneDrive cloud icon in the taskbar, then Settings (gear icon).
  3. Open Sync and back up, then Manage back up.
  4. Turn on the folders you want: Desktop, Documents, Pictures, Music or Videos.
  5. For any other folder, move it inside your OneDrive folder.

For a full walkthrough with screenshots, see our guide on how to sync folders and files with OneDrive on Windows.

Method 2: Match Two Folders With FreeFileSync

FreeFileSync is a free, open-source app for Windows, Mac and Linux. It compares two folders and copies the differences. It works well for an external drive or a NAS share.

  1. Download FreeFileSync from its official site and install it.
  2. Choose the left folder (source) and the right folder (target).
  3. Click Compare to see which files differ.
  4. Choose a sync variant: Two way keeps both sides matched, Mirror makes the target an exact copy, and Update copies new files only.
  5. Click Synchronize. Save the job as a batch file to reuse it.
  6. To sync automatically, use the bundled RealTimeSync tool or schedule the batch file.

I prefer Update or Two way for most home users. Mirror is powerful but deletes target files that are missing from the source.

Still stuck after these steps?

Send us the exact error message or a description of what you see. We use every request to write or update a fix.

Request a fixLook up an error code

Method 3: Schedule a Robocopy Mirror

Robocopy is a command-line copy tool built into Windows. It is fast, reliable and handles retries. It only works one way.

  1. Open Notepad and paste this line, changing the paths to yours:

    robocopy "C:Work" "D:WorkMirror" /MIR /R:2 /W:5 /LOG:"C:Logswork-sync.log"

  2. Save the file as work-sync.bat.

  3. Open Task Scheduler, choose Create Basic Task, and set a daily or hourly trigger.
  4. For the action, choose Start a program and select work-sync.bat.

The /MIR switch mirrors the folder, including deletions. Run it once by hand and read the log before you schedule it. Microsoft documents every switch in its Robocopy reference.

Common Errors and Fixes

Problem Cause Fix
OneDrive shows “can’t sync this file” Blocked character, path over 400 characters, or file over 250 GB Rename or shorten the path
FreeFileSync reports access denied File open in another app or no permission Close the app, or run the job as administrator
Robocopy deleted files on the target /MIR mirrors deletions Use /E instead to copy without deleting
Folders sync but phone shows old files Phone app has not refreshed Open the app on Wi-Fi and pull to refresh
Two sync apps fight over one folder Both watch the same files Give each app its own folder

If OneDrive itself stops syncing, our OneDrive not syncing guide has the full fix order. For any other app, start with sync issues.

How to Verify the Sync Worked

  1. Create a test file in the source folder.
  2. Run or wait for the sync.
  3. Confirm the file appears in the target with the same size and date.
  4. For two-way sync, edit the file on the target side and confirm the change returns.
  5. For Robocopy, open the log and check that the summary shows zero failures.

Ready to go further? Our guide to sync to the cloud covers the settings to choose on day one, and file sync explains how sync differs from backup.

Frequently Asked Questions

Does Windows have built-in folder sync?

Yes, in two forms. OneDrive comes with Windows 10 and 11 and syncs folders with the cloud and your other devices. Robocopy, a command-line tool, mirrors folders between drives. Microsoft retired its older SyncToy utility, so for a graphical tool between local drives, most people use FreeFileSync.

How do I sync two folders on different drives automatically?

Use FreeFileSync with its RealTimeSync helper, which watches the source folder and runs your sync job when files change. Alternatively, write a Robocopy batch file and schedule it in Task Scheduler. Test either method with copies first, because mirror settings delete files on the target.

Can I sync a folder to a NAS on Windows?

Yes. Map the NAS share as a network drive, then point FreeFileSync or Robocopy at it as the target. Many NAS brands also offer their own Windows sync apps. Keep the NAS on a wired connection for the first large copy, and see our NAS sync guide for options.

What is the difference between mirror and two-way sync?

A mirror makes the target an exact copy of the source, so changes and deletions only flow one way. Two-way sync copies changes in both directions and keeps both folders matched. Use a mirror for a simple copy you never edit, and two-way sync when you work in both places.

Why does OneDrive only sync some of my folders?

OneDrive only syncs its own folder and any known folders you turn on, such as Desktop and Documents. Folders elsewhere on the drive are ignored. Move them inside the OneDrive folder, or check that the folder is not excluded under Choose folders in OneDrive settings.

Keep your files safe and in sync

Join the newsletter for the free troubleshooting checklist and outage alerts. Facing a specific error? Tell us about it and we will point you to the right fix.

Get the free checklistRequest a fix

About the author: Michael Johnny

Michael Johnny is a cloud sync and backup specialist with 10 years of hands-on experience setting up and troubleshooting OneDrive, Google Drive, Dropbox, iCloud, NAS and self-hosted sync tools. He writes every syncfix.cloud guide from the settings screens themselves and rechecks menu paths and limits when providers change them. More about syncfix.cloud.

Last updated: October 16, 2026. Menu names and limits can change after an app update; if something looks different, let us know.

Sources

  1. Robocopy command reference (Microsoft Learn)
  2. Restrictions and limitations in OneDrive and SharePoint (Microsoft Support)
  3. FreeFileSync official site
  4. Syncthing documentation: Getting Started
Folder Sync Windows: Keep Folders Matched (Step by Step) - Folder Sync Windows: Keep Folders

这解决问题了吗?

Leave a Reply

Your email address will not be published. Required fields are marked *

Design & SEO by SEO SharksWhatsApp +20 112 057 7167Advertise with us