Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run-As window flashes during execution #40

Open
MolotovCherry opened this issue Sep 10, 2021 · 0 comments
Open

Run-As window flashes during execution #40

MolotovCherry opened this issue Sep 10, 2021 · 0 comments

Comments

@MolotovCherry
Copy link

MolotovCherry commented Sep 10, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant