Home
%3CLINGO-SUB%20id%3D%22lingo-sub-423656%22%20slang%3D%22en-US%22%3EModlink%20binaries%20now%20available%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-423656%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3EFirst%20published%20on%20TECHNET%20on%20Jul%2014%2C%202008%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20When%20we%20shipped%20%3CB%3E%20Windows%20Server%202003%20R2%20%3C%2FB%3E%20%2C%20many%20customers%20requested%20a%20way%20to%20enable%20and%20disable%20referrals%20for%20a%20link%20target%20using%20command%20line.%20Neither%20dfscmd.exe%20nor%20dfsutil.exe%20back%20then%20provided%20a%20way%20to%20do%20this.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20In%20response%20to%20those%20requests%2C%20Dan%20Lovinger%20published%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Ffilecab%2Farchive%2F2006%2F07%2F25%2Fdisabling-and-enabling-dfs-namespace-referrals-from-the-command-line.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Modlink%20%3C%2FA%3E%20%2C%20command-line%20method%20to%20enable%20and%20disable%20referrals%20for%20a%20link%20target.%20Until%20today%2C%20we%20provided%20the%20source%20code%20for%20Modlink%20in%20the%20blog.%20But%20compiling%20the%20code%20can%20be%20a%20hassle%2C%20so%20in%20order%20to%20make%20it%20available%20for%20more%20people%2C%20we%20opened%20our%20first%20SSD%20open%20code%20project%20in%20%3CA%20href%3D%22http%3A%2F%2Fwww.codeplex.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Codeplex%20%3C%2FA%3E%20.%20Now%20you%20can%20download%20%3CA%20href%3D%22http%3A%2F%2Fwww.codeplex.com%2Fmodlink%2FRelease%2FProjectReleases.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Modlink%20compiled%20%3C%2FA%3E%20!%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CB%3E%20Modlink%20Open%20Source%20project%20page%3A%20%3C%2FB%3E%20%3CA%20href%3D%22http%3A%2F%2Fcodeplex.com%2Fmodlink%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fcodeplex.com%2Fmodlink%20%3C%2FA%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CB%3E%20Download%20Modlink%20binaries%20here%3A%20%3C%2FB%3E%20%3CA%20href%3D%22http%3A%2F%2Fwww.codeplex.com%2Fmodlink%2FRelease%2FProjectReleases.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fwww.codeplex.com%2Fmodlink%2FRelease%2FProjectReleases.aspx%20%3C%2FA%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CB%3E%20And%20source%20code%20here%3A%20%3C%2FB%3E%20%3CA%20href%3D%22http%3A%2F%2Fwww.codeplex.com%2Fmodlink%2FSourceControl%2FListDownloadableCommits.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fwww.codeplex.com%2Fmodlink%2FSourceControl%2FListDownloadableCommits.aspx%20%3C%2FA%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CB%3E%20%3CBR%20%2F%3E%20Windows%20Server%202008%20users%2C%20please%20note%3A%20%3C%2FB%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Due%20to%20many%20requests%2C%20feedback%20and%20user%20adoption%20we%20had%20for%20Modlink%2C%20the%20DFS%20Namespaces%20team%20decided%20to%20make%20Modlink%20functionality%20in-box%20for%20Windows%20Server%202008.%20So%2C%20if%20you%20are%20a%20Server%202008%20administrator%2C%20you%20don%E2%80%99t%20need%20Modlink%20anymore.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20To%20enable%20and%20disable%20referrals%20using%20DFSUtil%20in%20Windows%20Server%202008%2C%20from%20an%20elevated%20command%20prompt%2C%20use%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20dfsutil%20property%20state%20%3CDFSPATH%3E%20%5B%26lt%3B%5Cservershare%26gt%3B%5D%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20------%20STATE%20Commands%20Supported%20------%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Online%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Set%20state%20of%20folder%20or%20folder%20target%20to%20Online.%20%3CBR%20%2F%3E%20Offline%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Set%20state%20of%20folder%20or%20folder%20target%20to%20Offline.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CB%3EExample%3A%20%3C%2FB%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%26gt%3B%20DFSUtil%20property%20state%20offline%20%5Ccontoso.comDomainNamespaceLink%20%5CServerShare%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20We%20hope%20that%20helps%20some%20people!%20And%20don%E2%80%99t%20forget%20to%20keep%20sending%20us%20your%20feedback.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3E--%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Ffilecab%2Fpages%2Fmalu-s-bio.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Malu%20%3C%2FA%3E%20and%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Ffilecab%2Fpages%2Fjohn-s-bio.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20John%3C%2FA%3E%3C%2FP%3E%0A%20%0A%3C%2FDFSPATH%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-423656%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20TECHNET%20on%20Jul%2014%2C%202008%20When%20we%20shipped%20Windows%20Server%202003%20R2%2C%20many%20customers%20requested%20a%20way%20to%20enable%20and%20disable%20referrals%20for%20a%20link%20target%20using%20command%20line.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-423656%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edfs%20namespaces%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eopen%20source%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewindows%20server%202008%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3C%2FLINGO-BODY%3E
Not applicable
First published on TECHNET on Jul 14, 2008
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.

Example:

> DFSUtil property state offline \contoso.comDomainNamespaceLink \ServerShare

We hope that helps some people! And don’t forget to keep sending us your feedback.

-- Malu and John