Symbolic Link, not accessible from network computer. getting error “The symbolic link cannot be followed because its type is disabled”
<p>I have created symbolic link for shared folder on my machine and this symbolic link is present in another share folder on same machine. i can access this folder content using symbolic link from the same machine. however when i try to access the symbolic link from another machine. i am getting access denied error on windows xp. and windows 2008 shows access denied error with "The symbolic link cannot be followed because its type is disabled"</p>

<p>i have also used fsutil behavior set SymlinkEvaluation R2R:1 L2R:1 R2L:1 to create symbolic link on my machine( windows 7). i have created symbolic link using kernel32 API CreateSymbolicLink.</p>

<p>i am usign following code to create symbolic link,</p>

<pre><code>[DllImport("kernel32.dll")]
static extern bool CreateSymbolicLink(string lpSymlinkFileName, string lpTargetFileName, int dwFlags);
static int SYMLINK_FLAG_DIRECTORY = 1;


string finalTargetD = @"\\abhande-win2k8\CopiedFiles";
string sharedDirectory = @"\\abhande-xp\SharedFiles";


public static void CreateSymLink()
{
 using (WindowsImpersonationContext ctx = WindowsIdentity.GetCurrent().Impersonate())
 {

  if(CreateSymbolicLink(sharedDirectory, finalTargetD, SYMLINK_FLAG_DIRECTORY))
  {
    //symbolic link created successfully
  }
 }

}  
</code></pre>

<p>Do any one have idea why symbolic link is not accessible from another network machine.</p>

<p>Thanks Arvind</p>
