title: Launching Web Browser from Windows Service
body: <p>Is it possible to launch a web browser from a windows service?  I have created a basic service in C# and installed it under the "LocalSystem" security profile.</p>
  
  <p>The code for the service looks as follows:</p>
  
  <pre><code>namespace Bootloader
  {
      public partial class Service1 : ServiceBase
      {
          public Service1()
          {
              InitializeComponent();
          }
  
          protected override void OnStart(string[] args)
          {
              string target = "http://www.microsoft.com";
              System.Diagnostics.Process.Start(target);
          }
  
          protected override void OnStop()
          {
          }
      }
  }
  </code></pre>
  
  <p>When the service runs, nothing happens.  The documentation on windows service say that they do not have any UI, but does that mean launching a web browser is not possible.</p>