title: Environment.SpecialFolder.ApplicationData returns the wrong folder
body: <p>I have a strange problem: my .NET 4.0 WPF application is saving data to the ApplicationData folder.</p>
  
  <pre><code> Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\myProgram\\";
  </code></pre>
  
  <p>99.9% of the cases are working great, but on some computers it returns the wrong folder - instead of returning the user folder it returns another folder:</p>
  
  <pre><code>C:\Users\&lt;user&gt;\AppData\Roaming\myProgram\  --correct
  C:\Users\s\AppData\Roaming\myProgram\       --wrong
  </code></pre>
  
  <p>The wrong folder has no write/read permission so my program doesn't work.</p>
  
  <p>It seems the program is running under a different user, but if I check the Task Manager the user is the logged one.</p>
  
  <p>The problem seems to be occurring with domain users with few permissions.</p>