Samba share trough VPN is slow but only because of a bad winxp feature

Posted on 2007-04-08
Last Modified: 2010-05-18
Hi there.
I have setup a openvpn solution where the server is a win2003, and clients are winxp.
I can connect just fine, and browsing the samba share seems fast.
When I right click on a file to do something like copy, file open or what ever.
Winxp starts downloading the file, making the user have to wait until the whole file is downloaded, before it shows the menu!
This is a big problem when the file is big.

I have tried different explorer replacements, and infact the ones that do have it's own built right click menu, will seem fast, and the ones that shows the same right click menu as standard explorer will have the same slow sympthoms. problem is that I like to have features like open with, svn menu, svn icons, etc. Infact I like to have it just as the standard explorer, only that it dosen't download files before the right click menu is shown! by the way, if one right clicks a folder the problem is not there! (and if one selects two files, where one is 500MB and one is 1MB, and the mouse is located over the 1MB, and then do a right click, windows downloads only the 1MB file, and the menu is shown pretty fast )
I have to add, if the user use the edit menu from the menu bar of explorer, and for example click copy. no download happens before one paste the files. (offcource if one goes to the file menu there, it starts downloading again!)

so do anyone know of a solution for my problem?? (tweak, hack or whatever!)

After inspecting some more. how come when the samba share is accessed trough LAN, it would not download on the right click, because if you right click on a 10GB file on LAN it goes fast!
Question by:thor918
  • 2
  • 2

Accepted Solution

Brain2000 earned 500 total points
Comment Utility

Try removing everything from the right click context menu, and see if it still downloads the file.  What if one of the programs (i.e. WinZip, symantec antivirus) downloads the file for analysis on a right click.

Try uninstalling antivirus.  Maybe it scans the whole file on a right click.

You mentioned Samba, yet also mentioned Windows 2003 server.  Are you using the regular 2003 sharing?  Or are you running this with Samba on a Linux box?

Author Comment

Comment Utility
well I tried the same thing from a workstation where nothing special is installed.
only thing is avast antivirus.  I tried also to setup webdav, because I was thinking that would speed things up. using webdrive (webdav client), it goes faster but it will still start a download when it right clicks. Perhaps I'm mistaken on my conclusion that it downloads the file when using samba and right click, but it sure feels like it does. and it get's slower the bigger file one right clicks.

i'm using sharing functionality of the windows 2003 server.

using another webdav client "BitKinex" everything is like heaven, exept that one loses the simlicyty of the system. And using samba shares you have all the practical usermenues for (svn, winrar... etc)

thanks for the tip:
I will check out if it is the antivirus that is forcing it to download.

Author Comment

Comment Utility
jupp. solution is found!
It was infact winzip and winrar that where the sinners....
removing those from the menu solved it

Thanks for the pointers.
I will leave the question open a day or two, and then you will get experts-points.

Expert Comment

Comment Utility
Cool, glad you found it.  I'm surprised that Winzip would download the entire file just to give you some information about it.  That's good to know on a LAN environment as well when trying to locate a bottleneck on a file server.

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Some of you may have heard that SonicWALL has finally released an app for iOS devices giving us long awaited connectivity for our iPhone's, iPod's, and iPad's. This guide is just a quick rundown on how to get up and running quickly using the app. …
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now