[GH-ISSUE #1654] BUG: Barrier runs silently on boot if not stopped prior to shutting down. #1224

Open
opened 2026-05-05 07:37:23 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @bryangreener on GitHub (Apr 22, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1654

What happened?

Environment

Windows 10 Home

Hide on startup is unchecked.
Start Barrier on startup is unchecked.
Barrier does not exist in Windows startup items.

Problem

If I do not manually stop the Barrier server from within the application on my host (Win10), then after a reboot the Barrier server will still be running and I will be able to move my mouse/keyboard control between computers just as if Barrier were operating normally. When I check the "Hidden Icons" section of the taskbar, I do not see Barrier running in there.

Currently to stop the Barrier server I have just been running barrier (when it opens it does show that the server is already running) and clicking the Stop button to stop the server.

This was also mentioned in 1491 though the source of that issue appears to be a bit different.

This isn't a huge issue though it is a bit annoying so I figured I'd bring it to your attention.

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Installed via the GitHub release executable: https://github.com/debauchee/barrier/releases/download/v2.4.0/BarrierSetup-2.4.0-release.exe

What OSes are you seeing the problem on? (Check all that apply)

Windows

What OS versions are you using?

Windows 10 (21H2) (Server)
Mac OS (Monterey v12.1) (Client)

Relevant log output

No response

Any other information

No response

Originally created by @bryangreener on GitHub (Apr 22, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1654 ### What happened? ### Environment Windows 10 Home Hide on startup is unchecked. Start Barrier on startup is unchecked. Barrier does not exist in Windows startup items. ### Problem If I do not manually stop the Barrier server from within the application on my host (Win10), then after a reboot the Barrier server will still be running and I will be able to move my mouse/keyboard control between computers just as if Barrier were operating normally. When I check the "Hidden Icons" section of the taskbar, I do not see Barrier running in there. Currently to stop the Barrier server I have just been running barrier (when it opens it does show that the server is already running) and clicking the `Stop` button to stop the server. This was also mentioned in [1491](https://github.com/debauchee/barrier/issues/1491#issuecomment-1003462640) though the source of that issue appears to be a bit different. This isn't a huge issue though it is a bit annoying so I figured I'd bring it to your attention. ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? Installed via the GitHub release executable: https://github.com/debauchee/barrier/releases/download/v2.4.0/BarrierSetup-2.4.0-release.exe ### What OSes are you seeing the problem on? (Check all that apply) Windows ### What OS versions are you using? Windows 10 (21H2) (Server) Mac OS (Monterey v12.1) (Client) ### Relevant log output _No response_ ### Any other information _No response_
Author
Owner

@FenekkuKitsune commented on GitHub (Dec 29, 2025):

+1 on this for Windows 11.
I was just experiencing an issue where I couldn't press ctrl + down, only to realise that Barrier was still running and hogging the keybind, making it impossible to press those keys.

Frankly, I'm highly uncomfortable that Barrier keeps running even between PC restarts. The last time I used barrier was half a month ago, and the server's been running silently in the background this whole time???

<!-- gh-comment-id:3695855865 --> @FenekkuKitsune commented on GitHub (Dec 29, 2025): +1 on this for Windows 11. I was just experiencing an issue where I couldn't press ctrl + down, only to realise that Barrier was still running and hogging the keybind, making it impossible to press those keys. Frankly, I'm highly uncomfortable that Barrier keeps running even between PC restarts. The last time I used barrier was half a month ago, and the server's been running silently in the background this whole time???
Author
Owner

@FenekkuKitsune commented on GitHub (Dec 29, 2025):

I discovered the reason. "Barrierd" is a service: "Barrier". While the "Barrier" service is running, "barrierd.exe" is running. That's why it runs on start, because the "Barrier" service auto runs on start. Barrier won't work unless the service is running, however.

Here's a workaround that I've started using:

@ECHO OFF
TITLE Barrier Manager

ECHO Starting Barrier Service...
SC START Barrier

ECHO Starting Barrier and waiting...
START /WAIT "" "C:\Program Files\Barrier\barrier.exe"

ECHO Barrier has exited. Stopping Barrier Service...
SC STOP Barrier

TIMEOUT /T 5 /NOBREAK >NUL
<!-- gh-comment-id:3696023111 --> @FenekkuKitsune commented on GitHub (Dec 29, 2025): I discovered the reason. "Barrierd" is a service: "Barrier". While the "Barrier" service is running, "barrierd.exe" is running. That's why it runs on start, because the "Barrier" service auto runs on start. Barrier won't work unless the service is running, however. Here's a workaround that I've started using: ```bat @ECHO OFF TITLE Barrier Manager ECHO Starting Barrier Service... SC START Barrier ECHO Starting Barrier and waiting... START /WAIT "" "C:\Program Files\Barrier\barrier.exe" ECHO Barrier has exited. Stopping Barrier Service... SC STOP Barrier TIMEOUT /T 5 /NOBREAK >NUL ```
Author
Owner

@nbolton commented on GitHub (Dec 30, 2025):

Barrier is no longer in development. Check out Deskflow (upstream) or Input Leap (fork).

https://github.com/deskflow/deskflow
https://github.com/input-leap/input-leap

If this is still an issue in those projects, we would appreciate a cross-post of this issue.

<!-- gh-comment-id:3699256532 --> @nbolton commented on GitHub (Dec 30, 2025): Barrier is no longer in development. Check out Deskflow (upstream) or Input Leap (fork). https://github.com/deskflow/deskflow https://github.com/input-leap/input-leap If this is still an issue in those projects, we would appreciate a cross-post of this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1224
No description provided.