Improving Windows XP SMB File Performance

To realize a 20%-30% improvement in file sharing performance over LAN, WiFi, and VPN/WAN links download this reg file and apply it to all your workstations and file servers.

Windows 7 and Windows Server 2008 have improved the old Windows SMB1 protocol; for more information read this: Wikipedia SMB2

The registry patch applies the following changes:
  • Sets the SMB file buffer to 64KB and must be applied with the TcpWindowSize change further down.
  • The next two lines tells Windows Servers to disable security signing on each packet. This is an enormous factor for Domain Controllers. Corporate network admins must carefully evaluate the cost/benefit of this change.
  • Tcp1323Opts allows the TCP receive buffer to dynamically scale for better performance. This is useful for all internet traffic. Do not set this to 2 or 3 as time stamp generation adds a lot of overhead to each packet.
  • TcpWindowsSize is set to 1MB as a default and is required to allow SizReqBuf to work correctly!
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"SizReqBuf"=dword:0000ffff
"requiresecuritysignature"=dword:00000000
"enablesecuritysignature"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"Tcp1323Opts"=dword:00000001
"TcpWindowSize"=dword:00100000

3 comments:

Jack said...

Thanks Gordon,

I was struggling with this for a bit...

Trying to build my Lionel Toys website with my original configuration was like molasses!

Gordon McKinney said...

I have safely applied this to a Windows 7 workstation to improve performance while connected to a legacy Windows XP server (also patched).

Frigo said...

After years of misinformation, non-solutions and general confusion, I finally found the solution to the problem of slowness in directories with lots of files, with XP server and W7 client!

Thank you!!!