Changing DFS link location from command line

Posted by David Collantes on Server Fault See other posts from Server Fault or by David Collantes
Published on 2010-03-11T14:18:12Z Indexed on 2010/03/11 17:20 UTC
Read the original article Hit count: 475

I have the following AD DFS (Windows 2003 R2):

DFS Root name: members

DFS Link: me
DFS Link Target: \\myserver\meshare

DFS Link: you
DFS Link Target: \\myserver\youshare

I need to change all the link targets to \\theirserver, while keeping everything else the same. I have created the shares meshare and youshare on \\theirserver already, with the files they will hold.

How to accomplish this from command line (I will batch it)? Will "dfscmd /move" be the command to use? If so, what would the exact syntax be?

© Server Fault or respective owner

Related posts about dfs

Related posts about windows-server-2003-r2