大网数据广告活动
账户与安全

Folder Redirection fails with the error ERROR_SEM_TIMEOUT or the semaphore timeout period has expired

· 52CE 我爱测

Helps fix an ERROR_SEM_TIMEOUT error that occurs when you find out the Folder Redirection policy isn't working on the client machine.

This article helps fix an ERROR_SEM_TIMEOUT error that occurs when you find out the Folder Redirection policy isn't working on the client machine.

Applies to:   Windows 7 Service Pack 1
Original KB number:   2570355

Symptoms

You have a computer running Windows Vista or Windows 7 in a domain. You find out the Folder Redirection policy is not working on the client machine. When you look at the event log, you see the following event logged:

Log Name: Application
Source: Microsoft-Windows-Folder Redirection
Date: <Date & Time>
Event ID: 502
Task Category: None
Level: Error
Keywords:
User: <User Name>
Computer: <Computer Name>
Description:
Failed to apply policy and redirect folder "Documents" to "<a network share>".
Redirection options=0x1219.
The following error occurred: "Failed to copy files from "C:\Users\<UserName>\Documents" to "<a network share>".
Error details: "The semaphore timeout period has expired".

Cause

This issue is caused by a file name or path name containing more than 259 characters.

Resolution

Use the Process Monitor tool to identify the problematic file with long path name, and then delete it or reduce its path name.

More information

Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry, and process/thread activity. Refer to the following web page for more information about this tool:

Process Monitor v3.60

The following two errors share the same error number, and this is the reason why the error message "The semaphore timeout period has expired" is displayed.

Error Number - Error Code - Meaning
0x79 - ERROR_SEM_TIMEOUT - The semaphore timeout period has expired.
0x79 - DE_PATHTOODEEP - The source or destination path exceeded or would exceed MAX_PATH.

Refer to the following web pages for more information about the two errors:

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 Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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