When we shipped Windows Server 2003 R2, many customers requested a way to enable and disable referrals for a link target using command line. Neither dfscmd.exe nor dfsutil.exe back then provided a way to do this.
In response to those requests, Dan Lovinger published Modlink, command-line method to enable and disable referrals for a link target. Until today, we provided the source code for Modlink in the blog. But compiling the code can be a hassle, so in order to make it available for more people, we opened our first SSD open code project in Codeplex. Now you can download Modlink compiled!
Modlink Open Source project page: http://codeplex.com/modlink
Download Modlink binaries here: http://www.codeplex.com/modlink/Release/ProjectReleases.aspx
And source code here: http://www.codeplex.com/modlink/SourceControl/ListDownloadableCommits.aspx
Windows Server 2008 users, please note:
Due to many requests, feedback and user adoption we had for Modlink, the DFS Namespaces team decided to make Modlink functionality in-box for Windows Server 2008. So, if you are a Server 2008 administrator, you don’t need Modlink anymore.
To enable and disable referrals using DFSUtil in Windows Server 2008, from an elevated command prompt, use
dfsutil property state <DfsPath> [<\servershare>]
—— STATE Commands Supported ——
Online Set state of folder or folder target to Online.
Offline Set state of folder or folder target to Offline.
> DFSUtil property state offline \contoso.comDomainNamespaceLink \ServerShare
We hope that helps some people! And don’t forget to keep sending us your feedback.