Skip to main content

 

December Chocolatey Month banner; Alfred, a cat and community mascotte, is wearing a Christmas hat and licking a Chocolate bar with the Chocolatey logo on it. On the background pine trees are draw, a green heart and some festive swirls.

 

Can I only install Chocolatey packages when I have local Administrator permissions?

 

a) Yes
b) No

 

Submissions should be in a spoiler and accepted until December 20th 11:45 CET

Screenshot of the Comment box where you can find the spoiler option. Last icon on the right (More) and then lowest option (Spoiler)

 

More info and rules:

 

a) Yes

 


b) No

 


First, ensure that you are using an administrative shell - you can also install as a non-admin

so it must be B: NO

 


First, ensure that you are using an administrative shell - you can also install as a non-admin

so it must be B: NO

 

 


b) No

  1. First, ensure that you are using an administrative shell - you can also install as a non-admin, check out Non-Administrative Installation.

 


b) No

 


First, ensure that you are using an administrative shell - you can also install as a non-admin

so it must be B: NO

 

Sorry, only first answer counts

 


B.) No, but you will receive a warning and must choose to continue.  To prevent most issues, you must also use a non-default install location, and this is only intended for advanced users.

Per the warning message:
 

Chocolatey detected you are not running from an elevated command shell
 (cmd/powershell).

 You may experience errors - many functions/packages
 require admin rights. Only advanced users should run choco w/out an
 elevated shell. When you open the command shell, you should ensure
 that you do so with "Run as Administrator" selected. If you are
 attempting to use Chocolatey in a non-administrator setting, you
 must select a different location other than the default install
 location.
See
 https://docs.chocolatey.org/en-us/choco/setup#non-administrative-install
 for details.

 


b) No

 


B

 


b) No

 


b) Is the correct answer. Pacages ending with .portable are (usually) installable for users without administrative permissions.
See: https://docs.chocolatey.org/en-us/faqs#portable-application-something-that-doesnt-require-a-system-install-to-use

 


Comment