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

Running it with administrative permission #116

Open
Kipung opened this issue Mar 8, 2023 · 3 comments
Open

Running it with administrative permission #116

Kipung opened this issue Mar 8, 2023 · 3 comments

Comments

@Kipung
Copy link

Kipung commented Mar 8, 2023

Hi,

Thank you for working on this awesome project.
I recently started using this, but is there a way for me to change the settings to run the toggling wt with administrative permission? (AND very preferably if possible without the prompt of asking the permission popup)

I know I can go to WT profile setting to run with administrative permission, but that did not work smoothly...

So, when I try to run this without being it elevated, it works totally fine, but I would like to access administrative stuff easily...

I hope this makes sense.

Thank you!

@flyingpie
Copy link
Owner

@Kipung Thank you for reaching out!

So if I understand correctly, you want Windows Terminal to be run as administrator, when it's started through wtq, correct?

I think that's not much of a problem, but hiding the UAC thing probably is, since that would kinda defeat the purpose of UAC. Though maybe if wtq itself is run as admin, I'd need to test that.

@Kipung
Copy link
Author

Kipung commented Mar 8, 2023

Yeah, without any extra setup, if you can make a feature that allows users to run wtq with administrator, that would be awesome. And hopefully without the popup.

This is kind of side note, but to run it with the startup you would just make a shortcut to the startup folder right?

@flyingpie
Copy link
Owner

@Kipung Dropping a shortcut under the "Startup" folder should work, yes. Perhaps it might as well be easiest to just toggle the admin flag in the shortcut, since starting wtq as admin would also start Windows Terminal as admin.

That would pop a UAC popup when starting wtq, but I don't think you can avoid that, since warning you that something wants to run as admin is the whole point of UAC.

Would that work for you, or would you rather have wtq run as normal user, and start Windows Terminal as admin from there?

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

No branches or pull requests

2 participants