bluewave-labs / bluewave-labs/Checkmate
[Bug] Windows Capture service doesn't start
- Dominant language
- TypeScript
- Stars
- 10.8k
- Forks
- 1.2k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 68
Description
Sorry for posting this here, I originally posted it in the Capture repo but it went ignored, so maybe I'll be more lucky here...
Describe the bug
After correctly installing the Windows Capture agent, everything works up until the point when the service needs to actually start. It gives an error, either automatically or manually starting, indicating that the service didn't reply in time to the start command. The executable is copied to the correct location, and the Registry entries for the service are also correctly created, but the executable itself doesn't answer to the Service Control Manager "start" command.
To reproduce
Install the Windows Capture agent using the provided PowerShell script.
System information
Windows 11 Pro 25H2 build 26200.8973
CPU: x86-64 (Intel Core i7 14700T / Intel Core i5 6500)
Capture version: 1.4.0
Installation method: GitHub PowerShell script
No virtualization, bare metal install
It was tested on two different Windows machines, and the same happens.
The actual output of the script when run (entering 123456 as the API_SECRET value):
Architecture: amd64
Latest version: v1.4.0
Downloading: https://github.com/bluewave-labs/capture/releases/download/v1.4.0/capture_1.4.0_windows_amd64.zip
Installed: C:\Program Files\Capture\capture.exe
Enter API_SECRET: ******
Created service 'capture'.
Restart-Service: D:\Downloads\install.ps1:129
Line |
129 | Restart-Service -Name $ServiceName -Force
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Service 'Capture Monitoring Agent (capture)' cannot be started due to the following error: Cannot start service 'capture' on
| computer '.'.
Contributor guide
Research direction
Start with the provided PowerShell installation script, especially D:\Downloads\install.ps1 around line 129, and inspect how it creates and starts the capture.exe service. Reproduce the installation on Windows 11 and confirm that the Capture service responds successfully to the Service Control Manager start command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100