title: Starting process from .NET app and Attachment Execution Service
body: <p>I'm using VLC player for playing videos from my WPF app (vlc palyer is distributed with app) It is possible to avoid alert "Open File - Security Warnng" during first start of video (vlc) on new machine without changing system settings?</p>
  
  <p>I'm using this code for starting VLC:</p>
  
  <pre><code>var vlcArgs = string.Format("\"{0}\" --config=\"{1}\" -Incurse --play-and-exit",
     videoFilePath, vlcConfigPath);
  
  var psi = new ProcessStartInfo(@"vlc\vlc.exe", vlcArgs);
  VlcProcess = Process.Start(psi);
  </code></pre>
  
  <p>I found that </p>
  
  <blockquote>
    <p>Every script or program that is run by using the ShellExecute() API
    passes through AES</p>
  </blockquote>
  
  <p>So, if I set <code>UseShellExecute</code> property of <code>ProcessStartInfo</code> object to false, will it help? Or any other idea how to avoid AES check?</p>
  
  <p><img src="https://i.stack.imgur.com/gKqNU.png" alt="warning"></p>