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

Article ID: 2570355 - View products that this article applies to.
Expand all | Collapse all

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 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:

http://technet.microsoft.com/en-us/sysinternals/bb896645

Refer to the following web page for more information about the 259-Character limitation:

http://support.microsoft.com/kb/210631

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:

http://technet.microsoft.com/en-us/library/ms681382(VS.85).aspx
http://technet.microsoft.com/en-us/library/bb762164(VS.85).aspx

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2570355 - Last Review: July 12, 2011 - Revision: 2.0
APPLIES TO
  • Windows 7 Enterprise
  • Windows 7 Professional
  • Windows 7 Ultimate
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Ultimate
  • Windows Vista Ultimate 64-bit Edition
Keywords: 
KB2570355

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com