confused about distributed file links

2nd try – 1st one never made it to the list.

Hi everybody,

I would appreciate some help in understanding where Distributed File Links
(DFS) symbolic links are stored in the registry, especially on Windows 2000
Server. I have searched for information on the subject for two days but
could not really find any information about it.

In my (legacy) driver I have to translate mapped drive letters to their UNC
equivalent. It all works well for regular shares but I am seeing some
strange behavior for DFS under Windows 2000 Server with TS enabled.

Here is a summary of what I am seeing: when the client is Windows 2000 Pro
or Windows XP pro, the symbolic name for a mapped DFS drive is something
like \device\LanManRedirector;M: \server\dfs_share.

If however I map a DFS share on Windows 2000 Server is see that the drive
name symbolic link is \Device\WinDfs\M:

For \Device\WinDfs I see the device (M: ) but there is no
information about where the DFS share maps to (ie: \server\dfs share name).

Here is my question: where is the information stored on Windows 2000 Server?

Please advise.

thanks!

Marco

re-reading my own question I realize that it was not that clear. Here’s a
second try:

How do I query the WinDFS device on Windows 2000 Srv/2003 to find out which
DFS share it is mapped too?

When a Windows 2000 Pro/XP client is mapped to a DFS share all I have to do
is to query its symbolic link
but when my client is Windows 2000 Srv or 2003 I see a new device like
\Device\WinDfs\H:0, but no information to which H (my mapped drive) is
mapped to?

I guess that I have to query the WinDFS device but, despite having searched
all over, I have not found how.

Thanks in advance,

Marco

“marco peretti” wrote in message news:xxxxx@ntdev…
> 2nd try – 1st one never made it to the list.
>
> Hi everybody,
>
> I would appreciate some help in understanding where Distributed File Links
> (DFS) symbolic links are stored in the registry, especially on Windows
> 2000
> Server. I have searched for information on the subject for two days but
> could not really find any information about it.
>
> In my (legacy) driver I have to translate mapped drive letters to their
> UNC
> equivalent. It all works well for regular shares but I am seeing some
> strange behavior for DFS under Windows 2000 Server with TS enabled.
>
> Here is a summary of what I am seeing: when the client is Windows 2000 Pro
> or Windows XP pro, the symbolic name for a mapped DFS drive is something
> like \device\LanManRedirector;M: \server\dfs_share.
>
> If however I map a DFS share on Windows 2000 Server is see that the drive
> name symbolic link is \Device\WinDfs\M:
>
> For \Device\WinDfs I see the device (M: ) but there is no
> information about where the DFS share maps to (ie: \server\dfs share
> name).
>
> Here is my question: where is the information stored on Windows 2000
> Server?
>
> Please advise.
>
> thanks!
>
> Marco
>
>
>
>