use this .bat to install services
Echo off
echo Installing CrossFire 3.0 Services...
echo.
sc create cf_billsrv binPath= "C:\pmang\crossfire\cf_billsrv\cf_billsrv.exe" start= auto
sc create gDBGW binPath= "C:\pmang\crossfire\gDBGW\gDBGW.exe" start= auto
sc create cf_loginsrv binPath= "C:\pmang\crossfire\cf_loginsrv\cf_loginsrv.exe" start= auto
sc create cf_gamesrv binPath= "C:\pmang\crossfire\cf_gamesrv\cf_gamesrv.exe" start= auto
sc create cf_gms binPath= "C:\pmang\crossfire\cf_gms\GameMgmtServer.exe" start= auto
sc create cf_globalroomsrv binPath= "C:\pmang\crossfire\cf_globalroomsrv\cf_globalroomsrv.exe" start= auto
sc create cf_buddyrelay binPath= "C:\pmang\crossfire\cf_buddyrelay\cf_buddyrelay.exe" start= auto
echo.
echo Services installed successfully.
pause
run it as administrator
also use this to start the services
Echo off
title CrossFire Server Startup
echo Starting gDBGW...
net start gDBGW
timeout /t 3 /nobreak >nul
echo Starting Login Server...
net start cf_loginsrv
timeout /t 3 /nobreak >nul
echo Starting Game Server...
net start cf_gamesrv
timeout /t 3 /nobreak >nul
echo Starting Bill Server...
net start cf_billsrv
timeout /t 3 /nobreak >nul
echo Starting Global Room Server...
net start cf_globalroomsrv
timeout /t 3 /nobreak >nul
echo Starting Buddy Relay...
net start cf_buddyrelay
timeout /t 3 /nobreak >nul
echo Starting GMS...
net start cf_gms
timeout /t 3 /nobreak >nul
echo.
echo All services started successfully.
pause