Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Suggestion - Add a way for checking the User Rights

Open
#489 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
powershell

Research direction

Start by reading 2_createParentDisks.ps1, especially the beginning and the "Applying image to VHDX" stage. Trace how the script currently surfaces the privilege error, then define the early user-rights check and its failure message. Done means a missing "Manage auditing and security log" right is identified before image application begins.

Written by the indexing model from the issue text.

Description

Really cool work here!
I found a possible enhancement. My VM host had a hardening to User Right and local administrator didnt get the "Manage auditing and security log" (Only DA do) and this give access error (A required privilege is not held by the client. (Exception from HRESULT: 0x80070522)) at the "Applying image to VHDX" part. Maybe checking User Rights at the begining of the 2_createParentDisks.ps1

Dominant language
PowerShell
Stars
1.3k
Forks
304
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from microsoft/MSLab

All issues in microsoft/MSLab

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.