0

I have several scripts in UNC paths (from Windows batch files to PHP scripts). No matter how I run them (double click on explorer, my editor's run command menu or Windows command prompt) they take really long to start running (like 14 seconds). Once they get started they run normally. This doesn't happen if I run them from mapped drives.

I'm using Windows XP Professional SP3 inside an Active Directory domain and files are hosted in a Windows Server box (not sure about the version, it's an HP dedicated file server with bundled OS).

Why does it happen? Is there a way to speed up things while using UNC paths?

Álvaro González
  • 245
  • 3
  • 7
  • 25

1 Answers1

1

Could it be something related to name resolution? Did you tried to put IP address instead of the hostname?

lrosa
  • 1,687
  • 14
  • 15
  • Good point! UNC paths with IP addresses do not experience such slowdown. Any clue about why Windows does not cache name resolution? – Álvaro González Apr 28 '10 at 14:04
  • You have some issues in the name resolution. Check that every XP use the AD Domain controller as DNS server. – lrosa May 02 '10 at 07:25
  • Networks settings come from DHCP, but the DNS server's IP address matches the domain controller. Perhaps it's the DNS server itself the one that's misconfigured... – Álvaro González Jun 30 '10 at 12:09