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

[Feature] Check if admin/require admin #2

Closed
nopeless opened this issue Feb 12, 2023 · 2 comments
Closed

[Feature] Check if admin/require admin #2

nopeless opened this issue Feb 12, 2023 · 2 comments

Comments

@nopeless
Copy link
Contributor

Prevents users from accidentally invoking script without administrative privileges

@seerge
Copy link
Owner

seerge commented Feb 12, 2023

That's possible to add, but main idea is that users will use exe file, and it requests admin privileges anyway.

@seerge
Copy link
Owner

seerge commented Feb 18, 2023

I have added this check and auto-elevation code into latest version of PS1 script, but cause app migrated to C# and exe distribution it doesn't play any role anymore :)

@seerge seerge closed this as completed Feb 18, 2023
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

2 participants