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



The information in this article applies to:

  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, Web Edition

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

When a program moves a file to a file server, 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.

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.

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.

WORKAROUND

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.

STATUS

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

REFERENCES

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

Modification Type:MajorLast Reviewed:2/22/2005
Keywords:kbtshoot kbprb kbBug KB891369 kbAudEndUser kbAudDeveloper