docs/troubleshooting.md
If your service fails to start, first check:
log element<config-file-name>.wrapper.log) in the log directory (respects <logpath>; defaults to the configuration file directory)This can happen for multiple reasons:
PATH of the account that runs the service.
PATH for the service account (or the machine-wide PATH)..bat / .cmd) and you omit the extension.
Process.Start with UseShellExecute=false cannot resolve batch files from PATH without the file extension.This is usually the same root cause as “The system cannot find the file specified.”:
PATH than your interactive shell.Prefer full paths in your WinSW configuration when diagnosing startup issues.
Error 1067 (“The process terminated unexpectedly”) usually means the wrapped process exited shortly after starting.
log element and re-check the logs.<config-file-name>.wrapper.log) for WinSW-side errors (config parsing, process start failures).WinSW 3 can run on Windows 7 if you have .NET Framework 4.6.1 (or later) installed.
See:
README.md