title: Program (c#) Running Elevated, Still Can't Access Some Files
body: <p>My code is running elevated but nothing can see/execute c:\windows\system32\rstrui.exe (System Restore Point UI).</p>
  
  <p>I double checked to make sure the code really was running elevated (it is), and I've tested with File.Exist() and Directory.GetFiles() and System.Diagnostics.Process.Start(); file not found is what is returned. </p>
  
  <p>The program is really there, I can really run it, I can copy/paste the path to DOS and list it, execute it (no hidden spaces, etc.).</p>
  
  <p>Any ideas?</p>
  
  <p>THE SOLUTION:</p>
  
  <p>Tim (below) gave me the solution, instead of referencing c:\windows\system32 reference c:\windows\sysnative.  The "sysnative" gets redirected, or, well, doesn't.  I'm still a bit confused about x64 redirection stuff.  The point is, the following works:</p>
  
  <p>Environment.GetEnvironmentVariable("windir") + @"\sysnative"</p>
  
  <p>Thanks Tim!</p>