Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: register service to work under "Local system" user #598

Closed
ameshkov opened this issue Feb 26, 2019 · 1 comment
Closed

Windows: register service to work under "Local system" user #598

ameshkov opened this issue Feb 26, 2019 · 1 comment
Assignees
Milestone

Comments

@ameshkov
Copy link
Member

Using "network service" appears to be problematic in some configurations. We'd better simply use "local system".

@AnthonyBe
Copy link

Just came here to report this exact issue :)

Issue I hit is that "NETWORK SERVICE" doesn't have permissions on file system anywhere so after initial install, on first attempt to start service it fails because it cannot write the update config file.

The exact Windows error log was:
Couldn't save YAML config: rename C:\install\AdGuardHome\AdGuardHome.yaml.tmp C:\install\AdGuardHome\AdGuardHome.yaml: Access is denied.

After giving the "NETWORK SERVICE" account Modify permission to the folder the service now starts fine.

I've then noticed that it wouldn't ingest previous logs and so all statistics have reset.

@szolin szolin closed this as completed in d06cc0f Mar 20, 2019
szolin pushed a commit that referenced this issue Mar 20, 2019
* commit 'd06cc0f8ee89a0142c493b33d295272ba100aaf5':
  Fix #598 - [change] service: windows: register sercive to work under local system user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants