Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get shared folder's source server in DFS

Status
Not open for further replies.

rb4

Programmer
Aug 29, 2001
6
0
0
IN
Hi,

I have 30 file servers in one domain and around 1000 share folders in these servers, I am using DFS.

My query is how do I get (through vbs script) that which folder is in which server.

Rgds
 
you can use the dfsutil.exe /pktinfo

i use an exec method and read the stdout to get the info i want

try doing a pktflush before you map the drive.

we had problems with machines coming out of hibernation mode and then thinkin they have to reconnect the dfs share and picking the first server in the list, athens...which was a few hopes on the WAN shall we say from where their local server is!!
 
i guess that doesnt answer your question!!! try the adsi sdk
 
I think I still need more help

Want to run the script in domain and want to know the local server of the dfs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top