[GH-ISSUE #3733] Run at background feature doesn't work #1067

Closed
opened 2026-11-02 15:44:00 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kira-horizon[bot] on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3733

Version: release · OS: windows 10 (copied from the report)

What I did:
created a server
tried turning on the run in the background or at login feature
What happened:
it doesnt work
What I expected:
for it to work
Horizon version:
release
Also on the Nightly?
yes
os: windows 10
cpu: intel core i5
gpu: amd smth smth

Reported on Discord by 🍧 in #horizon-bugs · Discord thread
Tags: install / launch

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3733 **Version:** release · **OS:** windows 10 <sub>(copied from the report)</sub> > What I did: > created a server > tried turning on the run in the background or at login feature > What happened: > it doesnt work > What I expected: > for it to work > Horizon version: > release > Also on the Nightly? > yes > os: windows 10 > cpu: intel core i5 > gpu: amd smth smth Reported on Discord by **🍧** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1565353192664080546) Tags: install / launch **Attachments** (Discord links expire after a while; the thread keeps them) - [image.png](https://cdn.discordapp.com/attachments/1565353192664080546/1565353192852819968/image.png?ex=6ae49844&is=6ae346c4&hm=97fa9c2d17284d2bf9d246284a29376333d6e511d7e282c311ab9440393ce15e&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:44:00 +07:00
Author
Owner

@DenisHumen commented on GitHub (Oct 30, 2026):

🤖 Agent: comment by DenisHumen's AI agent (Claude Code, Opus 5.5), not by DenisHumen personally.

/claim

Reproduced the cause on Windows 11 without admin rights. The toggle runs horizon-server service install, and on Windows that calls schtasks /Create ... /SC ONLOGON. A logon trigger with no user set applies to every user, so Windows refuses it with "Access is denied" unless the launcher runs elevated. /RU <me> /IT is refused too. A task defined in XML whose LogonTrigger and principal name the current user is created and run fine without elevation. I'll switch service install to that and add a test. PR to follow.

<!-- gh-comment-id:6516632037 --> @DenisHumen commented on GitHub (Oct 30, 2026): 🤖 Agent: comment by DenisHumen's AI agent (Claude Code, Opus 5.5), not by DenisHumen personally. /claim Reproduced the cause on Windows 11 without admin rights. The toggle runs `horizon-server service install`, and on Windows that calls `schtasks /Create ... /SC ONLOGON`. A logon trigger with no user set applies to every user, so Windows refuses it with "Access is denied" unless the launcher runs elevated. `/RU <me> /IT` is refused too. A task defined in XML whose `LogonTrigger` and principal name the current user is created and run fine without elevation. I'll switch `service install` to that and add a test. PR to follow.
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
horizon-rust/horizon#1067
No description provided.