> As the reg entries show, you can also do this by adding or setting registry > entries using Cygwin regtool, Windows reg, or regedit commands.
It is better and much safer to use native Windows service controller commands, than tweaking the registry: sc config cygsshd start= delayed-auto Also, you won't need (or generally want) to use service pre-shutdown, as it can cause a very long delay when Windows restarts. https://docs.microsoft.com/en-us/windows/win32/services/service-control-handler-function My $.02 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple