Skip to content

Support changing WSL process priority instead of showing Access Denied #2731

@mehrdadn

Description

@mehrdadn

Description of the feature, modification, idea or suggestion

Currently, if you attempt to change the priority of a WSL process, you get "Access is denied."

Please add support for this so that it can be modified & saved/restored via User Notes. It's really useful for preventing the machine from slowing to a crawl when compilers etc. are running.

Thank you.

Proposed implementation details (optional)

I'm not sure if there is a user-mode API and/or security privilege that allows this, but if not, please at least add it through the kernel-mode driver. This should be possible via PsSetProcessPriorityClass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions