This tiny Go-based tray app prevents the Razer BlackShark V2 Pro wireless headset from disconnecting due to microphone inactivity.
This is a workaround as Razer hasn't been able to fix their Sh*t
It does this by launching ffmpeg in the background to continuously open the mic input — keeping it "alive" and preventing idle timeouts or power-saving disconnections.
Another workaround is to Disable Allow the computer to turn off this device to save power in device manager. (it didn't work for me) Link here
- Install ffmpeg
- Download the executable and run it.
- (Optional Autostart) Shortcut
RazerMicKeepAlive.exeto%appdata%\Microsoft\Windows\Start Menu\Programs\Startupfolder
- Tray icon with clean Quit button
- Launches
ffmpegto keep mic active silently - Fully self-contained Go app (no GUI window)
- Lighter than running OBS, Discord, etc..
Run in terminal:
ffmpeg -list_devices true -f dshow -i dummyLook for your mic, e.g.:
"Microphone (Razer BlackShark V2 Pro 2.4)"
Copy that exact string.
git clone https://github.com/ndanilo8/razer-mic-keepalive.git
cd razer-mic-keepalive
go mod init razer-mic-keepalive
go get github.com/getlantern/systrayThen edit main.go with the string above:
micName := `Your Device Name Here`go mod tidy
go build -ldflags="-H=windowsgui" -o RazerMicKeepAlive.exe main.go
-H=windowsguiensures no terminal window pops up when you launch it.
Just double-click RazerMicKeepAlive.exe. It will:
- Start
ffmpegin background - Show a system tray icon
- Keep your mic open and stable
- Prevent Random Razor Disconnects
To stop it: Right-click tray icon → Quit
- Press
Win + R, typeshell:startup - Place a shortcut to
RazerMicKeepAlive.exethere
MIT — do whatever you want.
systrayby Lanternffmpegfor the device-level capture