How to shorten the session connect timeout on a remote UNC path

  • Thread starter Thread starter Ali
  • Start date Start date
A

Ali

Hi,

I need to shorten the session connect timeout for remote UNC path
connections. I've searched thru the registry settings of LanManWorkstation
but I couldn't find the one I need. The "sesstimeout" doesnt do what I want.

In my program, the Windows XP wants to connect to a network path and read a
file. (e.g. \\10.1.4.100\d$\folders.txt). But this path may not be available
at the moment (due to remote machine down, etc) and I need to know this as
soon as possible. A file open request blocks the application for about 20-30
seconds. Is there anyway to decrease this connection timeout?

Thanks in advance
 
Back
Top