Share via


Command to resolve DFS Path / Links to \servername\share

Question

Wednesday, April 15, 2009 8:12 AM

Please let me know the command / switch to resolve DFS path / links to \Servername\share, on Windows Server 2003 R2 OS.

We are using DFSUTIL /DFSALT to achieve this on a Windows 2000 Server. Since this switch is not available i n Windows 2003 R2, please suggest an alternate command (if any) to achieve the same on Windows Server 2003 R2.

Thanks!!!

Thanks!! Buddi

All replies (4)

Monday, April 20, 2009 8:27 AM âś…Answered | 1 vote

 

 

 

Hi Buddi,

 

Thanks for the reply.

 

Based on the further research on this syntax on different platforms, I find the command line "DFSUtil.exe ViewDFSPath" doesn't exist on Windows Server 2003 R2, there is no such a syntax on Windows Server 2003 R2 platform, which functions the same as "Dfsutil /DFSALT:<UNCPath>" on Windows 2000 server. We are sorry for the inconvenience to you.

 

As a workaround, you can export the DFS root information to a xml file on Windows Server 2003 R2.

 

You may run "DFSutil /root:<DFS root name> /export:C:\DFS.xml" on Windows Server 2003 R2.

 

The DFS.xml file contains the root server and target information; we can search the "Target Server" and "Folder" for the result in the xml file with Notepad.

 

Moreover, the corresponding command syntax is available as "DFSUTIL.exe diag ViewDFSPath <DfsPath>" on Windows Server 2008.

 

The product team has been aware of the error in that blog, and will update it in the feature.

 

Hope it helps and thanks for the understandings.

 


This posting is provided "AS IS" with no warranties, and confers no rights.

 


Thursday, April 16, 2009 9:06 AM | 1 vote

Hi Buddi,

 

You can try to resolve DFS path to a destination UNC path by using the following command In windows Server 2003 R2 and Windows Server 2008,

 

DFSUtil.exe ViewDFSPath <DFSPath>

e.x DFSUtil.exe ViewDFSPath \contoso.com\DomainNamespace

 

Reference:

 

DFSUtil in Windows Server 2003 VS DFSUtil in Windows Server 2008

http://blogs.technet.com/filecab/archive/2008/07/11/dfsutil-exe-in-windows-2003-vs-dfsutil-exe-in-windows-2008.aspx

 

Hope it helps.

This posting is provided "AS IS" with no warranties, and confers no rights.


Thursday, April 16, 2009 10:46 AM

Hi David,

This switch doesnt work on my Windows Server 2003 R2 box. I dont see this switch / option when I look for help (DFSUTIL.EXE /? ) Not sure if this is only for Windows Server 2008.Thanks!! Buddi


Thursday, April 16, 2009 11:11 AM

Below is the response I get for that command.

 

Microsoft(R) Windows(TM) Dfs Utility Version 4.2
Copyright (C) Microsoft Corporation 1991-2005. All Rights Reserved.

Unrecognized option "viewDFSpath"

Thanks!! Buddi