[GH-ISSUE #993] Barrier Interferes with sleep on Windows 10 #795

Open
opened 2026-05-05 07:08:20 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @ghost on GitHub (Dec 26, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/993

Describe the bug

Barrier prevents computer from sleeping on windows 10.

To Reproduce

powercfg /requests

Expected behavior
Should allow sleep in configuration.

Desktop (please complete the following information):

Latest barrier release for windows
Windows 10

Originally created by @ghost on GitHub (Dec 26, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/993 **Describe the bug** Barrier prevents computer from sleeping on windows 10. **To Reproduce** powercfg /requests **Expected behavior** Should allow sleep in configuration. **Desktop (please complete the following information):** Latest barrier release for windows Windows 10
Author
Owner

@dev-101 commented on GitHub (Feb 15, 2021):

I had the same problem, solved it with some setting tips and power management app described in this article.

<!-- gh-comment-id:779350045 --> @dev-101 commented on GitHub (Feb 15, 2021): I had the same problem, solved it with some setting tips and power management app [described in this article](https://tehnoblog.org/how-to-share-one-mouse-and-keyboard-between-multiple-computers/).
Author
Owner

@yan12125 commented on GitHub (May 3, 2021):

Seems the same issue as #338. I can also confirm disabling the option "synchronize screen savers" allows the Windows client to go to sleep.

<!-- gh-comment-id:831214877 --> @yan12125 commented on GitHub (May 3, 2021): Seems the same issue as #338. I can also confirm disabling the option "synchronize screen savers" allows the Windows client to go to sleep.
Author
Owner

@hmoffatt commented on GitHub (Mar 17, 2022):

I've disabled "synchronize screensavers", but the powercfg output suggests this will still stop the Windows 10 client from sleeping. My server is Linux.

>powercfg /requests
DISPLAY:
None.

SYSTEM:
[PROCESS] \Device\HarddiskVolume5\Program Files\Barrier\barrierc.exe

If I stop the server then this still doesn't go away until I stop the client. Is there a solution for this?

<!-- gh-comment-id:1070452395 --> @hmoffatt commented on GitHub (Mar 17, 2022): I've disabled "synchronize screensavers", but the powercfg output suggests this will still stop the Windows 10 client from sleeping. My server is Linux. ``` >powercfg /requests DISPLAY: None. SYSTEM: [PROCESS] \Device\HarddiskVolume5\Program Files\Barrier\barrierc.exe ``` If I stop the server then this still doesn't go away until I stop the client. Is there a solution for this?
Author
Owner

@mattbatt commented on GitHub (Jul 9, 2022):

I had this problem, it turns out that I left "Wake on LAN" turned on on my host computer. To replicate I stopped barrier on the clients, put the host to sleep, and made sure it stayed asleep, then I started the client. My host started right up with "boot on LAN" turned on which makes sense really.

<!-- gh-comment-id:1179469169 --> @mattbatt commented on GitHub (Jul 9, 2022): I had this problem, it turns out that I left "Wake on LAN" turned on on my host computer. To replicate I stopped barrier on the clients, put the host to sleep, and made sure it stayed asleep, then I started the client. My host started right up with "boot on LAN" turned on which makes sense really.
Author
Owner

@josephtesfaye commented on GitHub (Jan 27, 2023):

Seems the same issue as #338. I can also confirm disabling the option "synchronize screen savers" allows the Windows client to go to sleep.

Is there a way to wake up a sleeping client with Barrier? I haven't found any. My client computer doesn't have a mouse or keyboard so I want to know if it's possible to wake it up using Barrier alone.

<!-- gh-comment-id:1405981914 --> @josephtesfaye commented on GitHub (Jan 27, 2023): > Seems the same issue as #338. I can also confirm disabling the option "synchronize screen savers" allows the Windows client to go to sleep. Is there a way to wake up a sleeping client with Barrier? I haven't found any. My client computer doesn't have a mouse or keyboard so I want to know if it's possible to wake it up using Barrier alone.
Author
Owner

@farhansolodev commented on GitHub (Jan 18, 2025):

@josephtesfaye I am not 100% certain but I've noticed that whenever I turn on the server on my laptop, my PC (client) eventually wakes up from sleep (it has WOL enabled). It could be a coincidence and just some other program doing it though.

<!-- gh-comment-id:2599459845 --> @farhansolodev commented on GitHub (Jan 18, 2025): @josephtesfaye I am not 100% certain but I've noticed that whenever I turn on the server on my laptop, my PC (client) eventually wakes up from sleep (it has WOL enabled). It could be a coincidence and just some other program doing it though.
Author
Owner

@nbolton commented on GitHub (Jan 20, 2025):

Please try Deskflow or Input Leap as Barrier is no longer in development.

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:2602011355 --> @nbolton commented on GitHub (Jan 20, 2025): Please try Deskflow or Input Leap as Barrier is no longer in development. 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.
Author
Owner

@hmoffatt commented on GitHub (Jan 23, 2025):

Can these interwork with Barrier?
I use Barrier on Windows and Linux, and I await the next Debian release before I can use input-leap on Linux.

<!-- gh-comment-id:2608853753 --> @hmoffatt commented on GitHub (Jan 23, 2025): Can these interwork with Barrier? I use Barrier on Windows and Linux, and I await the next Debian release before I can use input-leap on Linux.
Author
Owner

@nbolton commented on GitHub (Jan 23, 2025):

Yeah, both are compatible with Barrier client/server so you can try on one of your computers.

<!-- gh-comment-id:2609797455 --> @nbolton commented on GitHub (Jan 23, 2025): Yeah, both are compatible with Barrier client/server so you can try on one of your computers.
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#795
No description provided.