Windows Service
Bearcat is a web application that runs in your browser. Running it as a Windows service lets it start automatically with the machine and keep running in the background, even when no user is logged in.
This is the recommended setup if you want Bearcat to be always on: on a Windows Server, or on a Windows PC where you want it running permanently. If you’d rather start and stop Bearcat by hand when you need it, use the Desktop app instead. Both run the exact same Bearcat, so you can switch later without losing data.
The service uses YOUR OWN PostgreSQL server. It does not ship with PostgreSQL. For PostgreSQL setup instructions, see Installing PostgreSQL For The Desktop App.
Requirements
Section titled “Requirements”- PostgreSQL 18 running locally or on a reachable machine
- RAR command line executable (on Windows this comes with WinRAR)
- 7z command line executable
- A release data directory the service can read and write
- An Administrator terminal to run the setup
Downloading
Section titled “Downloading”Get the latest Windows Service package from the GitHub releases page and extract it to a folder of your choice, for example C:\Program Files\Bearcat.
The folder contains both Bearcat.Host.exe (the application that runs as the service) and Bearcat.Cli.exe (the small command line tool you use to install and manage it).
Installing
Section titled “Installing”Open a terminal as Administrator (right-click => Run as administrator), change into the Bearcat folder, and run:

The setup asks you for:
- 7z executable – full path, or empty to use
PATH - rar executable – full path, or empty to use
PATH - Release data directory – where Bearcat looks for your release files
- Database host / port / name / user / password – your PostgreSQL connection
- Web port – the local HTTP port for the web UI (default
17208)
It then tests the database connection, writes the configuration file, registers and starts the Bearcat Windows service, and waits until the service reports healthy.
When it’s done, Bearcat is reachable at:
Re-running setup later is safe: if the service already exists it keeps the registration (including any account you set, see below) and just applies the new configuration.
Where The Configuration is stored
Section titled “Where The Configuration is stored”The setup writes a single machine-wide configuration file:
It holds the database connection string, the 7z/RAR paths, the release data directory, and the web port. The folder’s access is restricted to the service account and Administrators, because the file contains the database password in plain text.
The encryption key for stored hoster, link crypter, and NFO database account configurations is created next to it on first start:
Back up bearcat.key together with your PostgreSQL database. Without it, Bearcat cannot decrypt your stored account configurations anymore.
Managing The Service
Section titled “Managing The Service”The service is registered under the name Bearcat. You can manage it like any other Windows service:
-
Through the Services app (
services.msc)
-
Or from an Administrator terminal:
It is set to start automatically and to restart itself if it crashes.
Checking The Logs
Section titled “Checking The Logs”The service logs to the Windows Event Log. Open the Event Viewer, go to Windows Logs => Application, and filter by the source Bearcat.

Logging More
Section titled “Logging More”By default Bearcat only logs warnings and errors. If you need more detail to track down a problem, add a Logging section to config.json and restart the service. The file is layered on top of the built-in settings, so you only need to add what you want to change:
Then restart the service so it picks up the change:
Note: re-running Bearcat.Cli.exe setup rewrites config.json and would drop a manually added Logging section, so re-add it after a setup run if you need it.
Using A Network Share For Releases
Section titled “Using A Network Share For Releases”The service runs as LocalSystem by default, which cannot reach a protected network share, and mapped drive letters (like Z:) are not visible to services at all. If your release data lives on a network share:
- Enter it as a UNC path (
\\server\share\releases) during setup, not a mapped drive letter. - Open
services.msc=> Bearcat => Log On, and set an account that has access to the share.
- Restart the service.
The setup reminds you about this when it detects a UNC path. The account you set here is preserved when you re-run setup.
Changing The Database Password
Section titled “Changing The Database Password”If your PostgreSQL password changes, you don’t need to edit config.json by hand. Run (as Administrator):
It prompts for the new password, tests the connection, updates the configuration, and restarts the service.
Updating
Section titled “Updating”Bearcat updates are a simple file swap, because your configuration and encryption key live outside the install folder:
- Stop the service:
sc stop Bearcat(the running.exeand its DLLs are locked while it runs). - Replace the contents of the install folder with the new release. Replace the whole folder, not just
Bearcat.Host.exe, so all files match the new version. - Start the service:
sc start Bearcat.
config.json and bearcat.key in %ProgramData%\Bearcat are untouched, and the service registration and run-as account stay as they were. Database migrations run automatically on start, so back up your database before a major update.
Uninstalling
Section titled “Uninstalling”To stop and remove the service, run (as Administrator):
It removes the Windows service and offers to delete config.json. Your PostgreSQL database is never touched.
