There are two command lines to start/stop respectively the database and the domain underlying Glassfish. At the end of the installation I used two Windows Services to start/stop the Glassfish Database and domain.
To Windows service for the Glassfish database was created by calling appservService.exe.
if "%1A"=="A" goto usage
sc create %1 binPath= "<path-to-glassfish>\lib\appservService.exe \"<path to glassfish>\bin\asadmin.bat start-database\" \"<path-to-glassfish>\bin\asadmin.bat stop-database\"" start=auto DisplayName= %1
echo usage createDBservice name
The Windows Service to start/stop the domain can also be created by adapting and reusing the same batch file.
Alternatively you can use the application glassfishsvc.jar developed by Ryan de la Plante and available on the Java web site as well as on Ryan's web site (http://www.ryandelaplante.com/2009/08/in-past-i-have-chosen-to-use-commercial.html).