CICB-Server Run as Service

CAUTION: When CICB-Server runs as a Windows service, the interactive UI is not the primary management surface for the running service session.

Native Service Support

Current CICB releases support running the server as a native Windows service. This allows direct registration with the Windows Service Control Manager without third-party wrappers.

Register the Service

Open Command Prompt or PowerShell as Administrator and create the service:

sc.exe create CICBServer binPath= "C:\Program Files (x86)\ClassificationBanner\server.exe -service" start= auto displayname= "Cyber Intel Classification Banner Server"

Important notes:

  • The -service flag is required.
  • Keep a space after each = argument in the sc.exe command.
  • Quote the full executable path and argument string when the path contains spaces.

Verify and Start

sc.exe start CICBServer
sc.exe query CICBServer

Firewall

Allow inbound traffic on the configured server port. The default is 56789.

New-NetFirewallRule -DisplayName "CICB Server Listener" -Direction Inbound -LocalPort 56789 -Protocol TCP -Action Allow

Data Location

The service runs under the LocalSystem account by default and uses the machine-wide shared data location:

  • C:\ProgramData\ClassificationBanner\

Typical files include:

  • server.db
  • server.db.enc
  • server.cfg
  • license files under the license subfolder

Troubleshooting

  • If the service fails to start, verify that the binPath includes -service.
  • Review the Windows Event Viewer and service configuration.
  • Confirm that the service account can access C:\ProgramData\ClassificationBanner\.