title: Request admin privileges for Java app on Windows Vista
body: <p>When I try to create a new task in the task scheduler via the Java ProcessBuilder class I get an access denied error an Windows Vista. On XP it works just fine.</p>
  
  <p>When I use the "Run as adminstrator" option it runs on Vista as well..</p>
  
  <p>However this is a additional step requeried an the users might not know about this. When the user just double clicks on the app icon it will fail with access denied. My question is how can I force a java app to reuest admin privileges right after startup?</p>