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 http://blogs.technet.com/filecab/archive/2006/07/25/disabling-and-enabling-dfs-namespace-referrals-from-the-command-line.aspx , 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 http://www.codeplex.com/ . Now you can download http://www.codeplex.com/modlink/Release/ProjectReleases.aspx !
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.
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 http://blogs.technet.com/filecab/archive/2006/07/25/disabling-and-enabling-dfs-namespace-referrals-from-the-command-line.aspx , 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 http://www.codeplex.com/ . Now you can download http://www.codeplex.com/modlink/Release/ProjectReleases.aspx !
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.
-- http://blogs.technet.com/filecab/pages/malu-s-bio.aspx and http://blogs.technet.com/filecab/pages/john-s-bio.aspx
Updated Apr 10, 2019
Version 2.0FileCAB-Team
Iron Contributor
Joined April 10, 2019
Storage at Microsoft
Follow this blog board to get notified when there's new activity