title: Create Shortcut to Programmatically Created Scheduled Task
body: <p>I'm working on a little time saving project for an installation of a software program and i'm having some real difficulties finding anything helpful.</p>
  
  <p>What i'm trying to do is programmatically create and implement the common UAC workaround for executable's.</p>
  
  <p>Where i'm at right is:</p>
  
  <ul>
  <li><p>The executable automatically forces the user to run it as an administrator.  Giving "complete" access (ie no "access denied" errors).</p></li>
  <li><p>I programmatically create a "Scheduled Task" for an executable with no triggers that is set to run an executable with highest privelages.</p></li>
  </ul>
  
  <p>The next step is to create a shortcut icon for this scheduled task (and ultimately populate it into the startup folder).  This is where i'm having trouble.</p>
  
  <p>I cannot, for the life of me, figure out how to create an icon that executes a scheduled task.</p>
  
  <p>What i'm trying to do is here:</p>
  
  <p><a href="http://www.techsupportalert.com/content/how-create-program-shortcut-run-without-uac-prompt-windows-7.htm" rel="nofollow">http://www.techsupportalert.com/content/how-create-program-shortcut-run-without-uac-prompt-windows-7.htm</a></p>
  
  <p>It's the 7 steps following the first 12 steps.</p>
  
  <p>The things i've thought of and could not figure out / find any information on are:</p>
  
  <ul>
  <li>Programmatically running cmd command that will do this.</li>
  <li>Locating executable for scheduled task and setting that as a shortcuts path (apparently there are no executable's for scheduled tasks).</li>
  </ul>
  
  <p>I appreciate any help or thoughts on this.
  I've tried and can't really find anything on this for help.</p>