Slow network file copy on Windows 7

Posted by Jason V. on Server Fault See other posts from Server Fault or by Jason V.
Published on 2009-11-18T17:08:23Z Indexed on 2011/01/03 18:55 UTC
Read the original article Hit count: 147

Filed under:
|
|
|

I wrote a program that uses xcopy to transfer files (usually between 1KB and 2MB) over our intranet. Usually, I am copying files from my host machine (Windows 7 x64) to a VMWare virtual machine running Windows Server 2008 (the VM is running on my host machine, if that matters).

On Windows XP, the file transfers usually only require a few seconds to complete. But on my Windows 7 machine, the transfer of the first file (1.5 MB) takes around 1.5 minutes to complete. This is true whether I use xcopy, robocopy, or programmatically using File.Copy(). I noticed that if I use File.Copy, the first transfer is very slow and subsequent transfers are much faster.

Any clue how I can speed up the process? Is there a setting in Windows 7 (or server 2008) that I could try?

© Server Fault or respective owner

Related posts about windows-7

Related posts about file