Skip to content

[Feature Request] Add an option for running command with admin rights #3

@fabiorzfreitas

Description

@fabiorzfreitas

Some commands, such as sfc or anything from Chocolatey will require administrator rights in order to be used.

I believe this could be an option via the configuration file or by adding a modifier, such as >! or >>! to the command.

As for how to invoke the elevated cmd on Windows, I know the most reg keys that add this option to the context menu rely on invoking cmd from powershell, from which one can specify the proper rights, but there may be better implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions