In this case you must run MyChat Server as system service, not as GUI program.
Step 1: run C:\Program Files\MyChat Server\SystemService\service_install.cmd
Step 2: run C:\Program Files\MyChat Server\SystemService\service_start.cmd
After this MyChat Server will start as system service (immediately after Windows starts).
Live chat with me