Discussion Locked

windows 2000 dfs

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to use "net use" in a logon script to map a dfs drive. Microsoft technet says you can use a domain name in place of a computer name. However when I do that I get an error 53. Can anybody help me or let me know if you can use a domain name instead of a computer name in net use command line.

ex: net use g: \\domainname\share name instead of

net use g: \\computername\share name

2 replies

by guy

I would double check that its possible to map a domain name. Net use /? does NOT indicate that it is possible.
Suggestions why not try \\computername\share?
When the share is a DFS root?
Technet give the following example: -

Users can also map one drive to the root of the Dfs tree and then transparently gain access to any resources in that part of the tree. For example, a user could map a drive to the root of the Dfs tree by using the following command:
net use Z: \\TerraFirm\Corp

by adlesperger

I actually found out the answer but thanks for the info. The correct way of doing it is to include all the statement from the beginning of the \\ the the end with quotation marks.
ex:

net use g: "\\domainname\sharename"

This discussion is closed to new replies.