[GH-ISSUE #370] Suggestion of wiki page about windows service #297

Open
opened 2026-05-05 05:58:53 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @JmirY on GitHub (Jul 24, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/370

Suggestion

I want to append some contents to wiki.
The comment below would be helpful for someone gets 'ipc connection error' on Windows.
Sorry for my bad English🤦‍♂️
It would be great someone polish some sentences.

Originally created by @JmirY on GitHub (Jul 24, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/370 ### Suggestion I want to append some contents to wiki. The comment below would be helpful for someone gets 'ipc connection error' on Windows. Sorry for my bad English🤦‍♂️ It would be great someone polish some sentences.
gitea-mirror added the
enhancement
doc
labels 2026-05-05 05:58:53 -06:00
Author
Owner

@JmirY commented on GitHub (Jul 24, 2019):

barrierd.exe must run in background so as to barrier work properly.
To ahceive this. barrierd.exe has to be registered in Windows Service.

Run command prompt in admin and input as below

sc create (Desired service name) binpath= (barrierd.exe's path)

Use net start command to execute registered service

net start (Service name)

You can use net stop to stop a service you want

<!-- gh-comment-id:514543982 --> @JmirY commented on GitHub (Jul 24, 2019): <code>barrierd.exe</code> must run in background so as to barrier work properly. To ahceive this. <code>barrierd.exe</code> has to be registered in _Windows Service_. Run command prompt in admin and input as below ~~~ sc create (Desired service name) binpath= (barrierd.exe's path) ~~~ Use <code>net start</code> command to execute registered service ~~~ net start (Service name) ~~~ >You can use <code>net stop</code> to stop a service you want
Author
Owner

@shymega commented on GitHub (Aug 14, 2019):

That sounds like a good addition. I'm reopening this issue so we can add this to the wiki 😄

<!-- gh-comment-id:521225757 --> @shymega commented on GitHub (Aug 14, 2019): That sounds like a good addition. I'm reopening this issue so we can add this to the wiki :smile:
Author
Owner

@bobpaul commented on GitHub (Jan 21, 2020):

Some comments/questions:

  1. I installed via the chocolatey repo and my barrier is already running as a service. Is this standard now for barrier installs or is this something that the chocolatey package maintainers are adding?

  2. I wasn't able to use barrier to type my password at the login screen nor click UAC prompts. This was annoying. I fixed this (mostly) via Services -> Barrier -> Log On -> Log on as: "Local System account" + "Allow service to interact with desktop."
    image

After 2, I'm now able to click UAC prompts and enter my password at the Windows Login screen on Windows clients. The mouse does exit the screen (and jump back to the server) when a UAC prompt appears and it takes a second or two before I'm able to move the mouse back onto the Windows machine's screen, but it does work and I'm no longer reaching for the other keyboard.

<!-- gh-comment-id:576832714 --> @bobpaul commented on GitHub (Jan 21, 2020): Some comments/questions: 1. I installed via the chocolatey repo and my barrier is already running as a service. Is this standard now for barrier installs or is this something that the chocolatey package maintainers are adding? 2. I wasn't able to use barrier to type my password at the login screen nor click UAC prompts. This was annoying. I fixed this (mostly) via Services -> Barrier -> Log On -> Log on as: "Local System account" + "Allow service to interact with desktop." ![image](https://user-images.githubusercontent.com/90864/72834661-e6789800-3c4e-11ea-907f-9cb790d8a52e.png) After 2, I'm now able to click UAC prompts and enter my password at the Windows Login screen on Windows clients. The mouse does exit the screen (and jump back to the server) when a UAC prompt appears and it takes a second or two before I'm able to move the mouse back onto the Windows machine's screen, but it does work and I'm no longer reaching for the other keyboard.
Author
Owner

@eliumoraes commented on GitHub (Mar 23, 2020):

barrierd.exe must run in background so as to barrier work properly.
To ahceive this. barrierd.exe has to be registered in Windows Service.

Run command prompt in admin and input as below

sc create (Desired service name) binpath= (barrierd.exe's path)

Use net start command to execute registered service

net start (Service name)

You can use net stop to stop a service you want

It worked after i did this. You should add this part to the wiki.

<!-- gh-comment-id:602642871 --> @eliumoraes commented on GitHub (Mar 23, 2020): > `barrierd.exe` must run in background so as to barrier work properly. > To ahceive this. `barrierd.exe` has to be registered in _Windows Service_. > > Run command prompt in admin and input as below > > ``` > sc create (Desired service name) binpath= (barrierd.exe's path) > ``` > > Use `net start` command to execute registered service > > ``` > net start (Service name) > ``` > > > You can use `net stop` to stop a service you want It worked after i did this. You should add this part to the wiki.
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#297
No description provided.