I've been trying to run GlassFish as a service on Windows:
asadmin.bat create-service
Unfortunately, that task didn't show up easy due to one little detail: GlassFish was installed on the famous Program Files folder. Other causes may just need a restart of Windows.
When starting the service, it says:
Error 1067: The process terminated unexpectedly. And it really terminates.