大网数据广告活动
网络与域名解析

Sync Center syncs offline files very slow

· 52CE 我爱测

Describes an issue that slows down the progress of offline folder file sync operations by Microsoft Sync Center. This issue involves unsorted files and the extra time that's needed to sort them.

This article describes an issue that slows down the progress of offline folder file sync operations by Microsoft Sync Center.

Original KB number:   3046857

Summary

When Microsoft Sync Center syncs offline files, the sync operation may take longer than expected. This behavior occurs when the back-end file server enumerates unsorted directory contents (a list in which the file names are not sorted alphabetically). This affects Microsoft Sync Center performance when it syncs offline files with non-Microsoft file servers.

More information

Microsoft Sync Center compares the local system's directory list against a list of files that it receives from the remote file server. Sync Center does this by making query directory calls against the remote file server through the Server Message Block protocol (CIFS, SMB, SMB2, and SMB3). Microsoft file servers always return query directory results in alphabetical order, sorted by file name. (The underlying NTFS file system maintains sorted lists.)

Many underlying file systems do not maintain sorted lists. This includes the file systems that are used by most third-party SMB protocol implementers and Microsoft file systems such as FAT32. Therefore, most third-party file servers exhibit performance delays when they sync offline files by using Sync Center.

Note: The SMB protocol does not require query directory results to be sorted.

Just how significantly performance is affected depends on several factors, including the number of files, the length of the file names (both properties affect the total size of the file metadata), and how unsorted the results are. When there are lots of files (hundreds or thousands) with large file names that are profoundly out of order, more directory queries of the local file system and more remote directory queries on the remote file server are required.

You can ease this problem by using smaller folders (either in terms of file count or file name size). It also helps if you can increase the extent to which files are recorded in sorted order on the underlying file system.

The scenario affects performance only. Offline file syncing otherwise occurs successfully and correctly.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。