title: Application icon is blank when started from Process.Start
body: <pre><code>FileInfo fi = new FileInfo(fileToExcecute);
  Directory.SetCurrentDirectory(fi.DirectoryName);
  
  ProcessStartInfo pInfo = new ProcessStartInfo();
  pInfo.FileName = fileToExcecute;
  pInfo.RedirectStandardOutput = false;
  pInfo.RedirectStandardError = false;
  pInfo.CreateNoWindow = false;
  pInfo.UseShellExecute = true;
  pInfo.WorkingDirectory = fi.DirectoryName;
  if (runas)
      pInfo.Verb = "runas";
  pInfo.WindowStyle = ProcessWindowStyle.Normal;
  
  Process p = Process.Start(pInfo);
  </code></pre>
  
  <p>The application icon is missing from the taskbar. It's just a blank square!</p>
  
  <p>The above code works fine for several projects however fails with one specific program - lets call it projectX.exe. I have re-written the Main as well as startup methods of projectX.exe so that they mimic another project that displays its icon fine.</p>
  
  <p>I have tried for days to discover why but have failed dismally. I have tried various ideas including changing the icon, changing it at runtime, as well as toggling whether it should be displayed or not.</p>
  
  <p>If I require that projectX.exe be run as administrator, the icon displays fine but that option is not available to my clients.</p>
  
  <p><strong>Edit 20 Oct 2017</strong>
  If I change the name of 'projectX.exe' to something else for example 'test.exe', then the icon shows OK in the taskbar. Where are the icons for a program stored in the registry? </p>
  
  <p><strong>Edit 22nd October 2017</strong>
  After refreshing the icons as suggested, when running the program from File Explorer or creating a shortcut, the icon is no longer displayed in the taskbar.</p>
  
  <p><strong>Edit 12th November 2017</strong>
  Running the program 'As Administrator', the icon displays in the taskbar as expected.</p>