Modlink is a command-line method to enable and disable referrals for a folder target (aka link target) in Windows Server 2003 R2. Neither dfscmd.exe nor dfsutil.exe provides a way to do this in Windows Server 2003 R2. In response to the many requests we get for this functionality, we’ve posted some sample code that can be compiled into an executable tool for enabling and disabling referrals.