<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I have had no trouble using the following:<br>
    <br>
    stunnel -install<br>
    net start stunnel<br>
    <br>
    Using services.msc, make sure the start option is "Automatic
    (delayed start)".<br>
    <br>
    Carter<br>
    <br>
    <div class="moz-cite-prefix">On 11/15/2017 9:29 AM, Rob Lockhart
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKak1RuP8Q0MJ2D1pFFF=KdfOXYfPXdGatr37zQCSW1G8+EQ=g@mail.gmail.com">
      <div dir="ltr">
        <div dir="auto">
          <div class="gmail_default" style="color:rgb(11,83,148)">​This
            is how I do it (in windows 7/10, after compiling from
            sources):</div>
          <div class="gmail_default" style="color:rgb(11,83,148)"><br>
          </div>
          <div class="gmail_default" style="color:rgb(11,83,148)">stunne.exe
            -install -quiet stunnel.conf</div>
          <div class="gmail_default" style="color:rgb(11,83,148)">sc.exe
            start stunnel</div>
          <div class="gmail_default" style="color:rgb(11,83,148)">sc.exe
            description stunnel "Encrypts traffic using SSL/TLS"</div>
          <div class="gmail_default" style="color:rgb(11,83,148)">sc.exe
            failure stunnel reset= 86400 actions=
            restart/60000/restart/60000//"</div>
          <div class="gmail_default" style="color:rgb(11,83,148)"><br>
          </div>
          <div><br>
          </div>
          <br>
        </div>
        <div class="gmail_extra">
          <div class="gmail_quote">On Nov 10, 2017 10:42 PM, "Stunnel
            User999" <<a href="mailto:stunneluser999@gmail.com"
              target="_blank" moz-do-not-send="true">stunneluser999@gmail.com</a>>
            wrote:<br type="attribution">
            <blockquote class="gmail-m_-2088788311736274114quote"
              style="margin:0px 0px 0px 0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">
                <div style="font-size:12.8px">Hi,</div>
                <div style="font-size:12.8px">I'm running stunnel 5.43
                  on Windows 2012 R2 server and trying to run stunnel
                  GUI as a service. Whenever I close my user session, it
                  shuts down the GUI service. Installing the Stunnel TLS
                  Wrapper Windows service does not seem to start the GUI
                  service. How to run GUI in the background as a
                  service? Any information is highly appreciated.</div>
                <div style="font-size:12.8px">Thanks,</div>
                <div style="font-size:12.8px">SN</div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
stunnel-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a>
<a class="moz-txt-link-freetext" href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>