title: windows task scheduler doesn't open web browser
body: <p>My task runs a .bat file that contain a action that run some .jar file.
  When I run manually the .bat file the .jar works perfectly and open a web browser .
  But when I ran the .bat file from the task(right click on task->run), the task runs with out opening the browser.</p>
  
  <p>I cant find out if the problem is in the java code or in the task itself.</p>
  
  <p>java:</p>
  
  <pre><code> Desktop.getDesktop().browse(uri);
  </code></pre>
  
  <p>It worked in the past and now its not working any more.
  OS: xp
  task run as nt administrator/system.
  Thank you.</p>