Skip to content

Run-As window flashes during execution #40

Open
@MolotovCherry

Description

@MolotovCherry

As is probably already known, the powershell run as command for admin flashes windows during execution, and because of that it kinda looks janky.

This led me to look for a solution. I found that nearly all script solutions were just unreliable and/or too cumbersome. So I fixed it in a simpler way, using an executable designed to hide all windows + run as admin. Much easier.

I would issue a pull request, however I'm not sure whether this addition will be welcome.

Please check out my latest 2 commits in the repo to see what I did if you like it. I'd love to submit it as a PR if it's acceptable.
https://github.com/cherryleafroad/Windows-terminal-context-menu

P.S. I'm sure you're probably thinking, "but what's in the exe?". No worries, I got you covered!
Check my other repo to see the code
https://github.com/cherryleafroad/run-hidden
https://github.com/cherryleafroad/run-hidden/blob/master/Program.cs

In fact, there is a benefit towards my solution. It is MUCH FASTER at startup than the previous solution, and more stable and reliable (from a aesthetic pov)

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