Skip to content

feature: Add automatic process elevation #2130

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

Closed
wants to merge 1 commit into from
Closed

feature: Add automatic process elevation #2130

wants to merge 1 commit into from

Conversation

tapika
Copy link

@tapika tapika commented Oct 3, 2020

This is automatic elevation request for chocolatey.

Feature itself more or less manual, and cannot be tested automatically - that's why did not any tests on this one.
The advantage of automatic elevation is that you can automatically install without need to run another choco instance,
disadvantage - is that console is opened in new window, and that might exit before user being able to see the output.

This is my first pull request from series, I hope that we can agree / discuss on features / functionalities which will be present in next pull request chain - see also my mail sent to you previously.

…guration file, but in case of upgrade - old chocolatey.config will be used. Better to delete old config file

before starting new choco with new feature.
@CLAassistant
Copy link

CLAassistant commented Oct 3, 2020

CLA assistant check
All committers have signed the CLA.

@gep13
Copy link
Member

gep13 commented Jun 25, 2025

@tapika thank you for taking the time to raise this PR, and for your input in other issues for Chocolatey CLI.

At this current time, we don't have any plans to provide a mechanism to do automatic process elevation. Chocolatey CLI works the way it does, since it needs to interact with a number of different systems, including other Chocolatey products like Chocolaty Agent and Chocolatey Central Management. Any changes to the elevation abilities of choco.exe would need to be done in conjunction with work in those other products.

With this in mind, I am going to go ahead and close this issue. If you wanted to discuss this further, please feel free to respond here, or create a discussion.

@gep13 gep13 closed this Jun 25, 2025
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

Successfully merging this pull request may close these issues.

3 participants