Skip to content

windows: reduce permission requirement to query service status / config#402

Open
kenelin wants to merge 2 commits intokardianos:masterfrom
AtelierNeon:kenelin_winsvc
Open

windows: reduce permission requirement to query service status / config#402
kenelin wants to merge 2 commits intokardianos:masterfrom
AtelierNeon:kenelin_winsvc

Conversation

@kenelin
Copy link
Copy Markdown

@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