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: reduce permission requirement to query service status / config #402

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kenelin
Copy link

@kenelin kenelin commented Jul 28, 2024

In current stable version (v1.2.2), I would get "Access Denied" error when I want to query service status with this package under normal Windows user role. But I can query the same service status with "sc query" command.

I tried to create "lowPrivSvcForQuery" method to reduce the required permission to query service status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant