microsoft / microsoft/Windows-classic-samples

Running lsaprivs doesn't actually grant the user Log on as a service permission.

Open
#355 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
5.7k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

I compiled and ran the sample https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/Win7Samples/security/lsapolicy/lsaprivs. It completed without error, but had no effect.

It's supposed to grant the user the "Log on as a service" permission. But it doesn't. See screenshot.

lsaprivs-screenshot

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the lsaprivs sample in the linked Win7Samples security/lsapolicy directory and reproduce the reported behavior. Check whether running it changes the user's "Log on as a service" permission, using the screenshot and issue description as the expected result. Done means the sample completes successfully and the permission is actually granted.

Written by the indexing model from the issue text.

Assessment

Domain
authorization, operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.