Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

A file's time stamp may be incorrectly set when a program moves a file to a file server in Windows Server 2003


View products that this article applies to.

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows

↑ Back to the top


Symptoms

When a program moves a file to a local file share, the file's time stamp may be set to the current time. You expect the time stamp to be set to the time that the SetFileTime function specified.

Files are most frequently moved in this way by an installer program.

For example, this problem may occur when a Microsoft Windows Installer package installs files to a local shared folder that is accessed by using a Universal Naming Convention (UNC) path.

↑ Back to the top


Cause

This problem occurs because of a problem with the Shadow I/O feature in the Windows redirector. Because of this problem, modified data is updated before the file content is written. When the file content is written, the time stamp is reset.

↑ Back to the top


Workaround

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To work around this problem, add the DisableShadowLoopback entry to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRxSmb\Parameters
Give this entry the "REG_DWORD" type and a value of 1.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


References

For more information about Windows Installer, visit the following Microsoft Web site:

↑ Back to the top


Keywords: KB891369, kbbug, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 891369
Revision : 3
Created on : 3/13/2009
Published on : 3/13/2009
Exists online : False
Views : 219