Microsoft KB Archive/885189

= Slow performance when you use a mapped drive to copy files to a remote server from a Windows Server 2003-based computer =

Article ID: 885189

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise x64 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
You may notice slower than expected copy performance if you use the Server Message Block (SMB) protocol to copy files from a computer that is running Microsoft Windows Server 2003 or from a Windows Server 2003 Terminal Services session to a computer on your network that is running Microsoft Windows 2000 Server or Microsoft Windows NT 4.0 Server. You experience these symptoms if you use a mapped drive to connect to the network share. When you analyze a network capture, Network Monitor shows the following excessive SMB Notify Change traffic:

SMB C NT transact - Notify Change

SMB R NT transact

You do not experience these symptoms if you connect to the network share by using a UNC path.



CAUSE
This issue may occur if a delayed TCP/IP acknowledgment, also known as a TCP ACK, occurs in an &quot;SMB: C NT transact - Notify Change&quot; packet. Typically, this issue occurs if you use Windows Explorer to copy a large number of files and folders. Change Notify requests in Windows Explorer occur more frequently when you use a mapped drive than when you use a UNC path to connect to the network share. Therefore, users who are logged on to a Windows Server 2003 Terminal Services session and who use a mapped drive may experience performance issues with Windows Explorer.



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 issue, follow these steps:  Install the hotfix that is documented in the following article in the Microsoft Knowledge Base:

831129 Folder tree flickers when you view a mapped network drive in Microsoft Windows Explorer

 Add the NoRemoteRecursiveEvents registry entry to the following registry subkey, and then set the entry to 1:

When you set the NoRemoteRecursiveEvents registry entry to 1, Change Notify requests are turned off for file and folder changes that occur in subfolders of a mapped network share. The server still sends a Change Notify event when a file or a folder is changed in the root and first folder level of the mapped network share. However, the server does not send a Change Notify event when a change is made at the level of the second subfolder or deeper in the mapped network share.

To add the NoRemoteRecursiveEvents registry entry to the following registry subkey, and then set the entry to 1, follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry subkey:

 

 On the Edit menu, point to New, and then click DWORD Value. Type NoRemoteRecursiveEvents, and then press ENTER.</li> On the Edit menu, click Modify.</li> Type 1 in the Value data box, and then click OK.</li> Quit Registry Editor.</li></ol> </li></ol>

<div class="moreinformation_section">

MORE INFORMATION
To determine whether you are experiencing this issue, map a drive to a network share, and then copy a folder to the network share. Use a UNC path to connect to the network share, and then copy the same folder to the network share. Compare the Network Monitor captures of both copy operations, and then see whether the captures show excessive SMB Notify Change traffic.

<div class="moreinformation_section">

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

831129 Folder tree flickers when you view a mapped network drive in Microsoft Windows Explorer

816375 Windows XP Explorer Pane flickers on mapped network drives

330929 Windows XP may cause extra SMB notify change traffic

321169 Slow SMB performance when you copy files from Windows XP to a Windows 2000 domain controller

Keywords: kbtshoot kbfileprintservices kbwinservnetwork kbprb KB885189

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.