anchor.diff:  :config_lsa
       reg query HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v "Authentication Packages" | findstr cyglsa > NUL:
       if %ERRORLEVEL% EQU 0 goto :eof
  +
       echo %_PREFIX% Configuring cyglsa
  -    echo %_PREFIX% WARNING: need administrator priv here
  -    rem %_ROOTDIR%\bin\bash --login -i -c "/usr/bin/cyglsa-config"
  +    %_ROOTDIR%\bin\bash --login -i -c "/usr/bin/cyglsa-config"
   goto :eof
   
   :main
  -    call :get_admin
  +    call :check_admin
       call :get_setup_exe
       call :stop_services
       call :setup
       call :create_passwd
  +    call :config_syslogd
       call :config_sshd
       call :start_services
  +    rem Do config_lsa last so that reboot message is last
       call :config_lsa
  -    pause
positive.code:         echo %_PREFIX% Creating %_ROOTDIR%
          mkdir %_ROOTDIR%
      )
      echo %_PREFIX% Fetching latest setup.exe
      wget --quiet -O %_ROOTDIR%\setup.exe http://cygwin.com/setup.exe
  goto :eof
  
  
negative.code:     )
  goto :eof
  
  :config_syslogd
      sc query syslogd | findstr "service does not exist" > NUL:
      if %ERRORLEVEL% NEQ 0 goto :eof
  
      echo %_PREFIX% Configuring syslogd
      if not exist %_ROOTDIR%\bin\syslogd-config (
          echo %_PREFIX% ERROR: inetutils not installed
          goto :eof
      )
      %_ROOTDIR%\bin\bash --login -i -c "/usr/bin/syslogd-config"
  goto :eof
  
  :config_sshd
      sc query sshd | findstr "service does not exist" > NUL:
      if %ERRORLEVEL% NEQ 0 goto :eof
  
      echo %_PREFIX% Configuring sshd
      if not exist %_ROOTDIR%\bin\ssh-host-config (
          echo %_PREFIX% ERROR: opensshd not installed
          goto :eof
      )
      findstr /r "^sshd:" %_ROOTDIR%\etc\passwd
      if %ERRORLEVEL% EQL 0 (
          echo %_PREFIX% ERROR: sshd account found in /etc/passwd
          goto :eof
      )
      %_ROOTDIR%\bin\bash --login -i -c "/usr/bin/ssh-host-config"
  