Solved

December Chocolatey Month: Question of the day 19/12


Userlevel 7
Badge +14

 

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:

 

icon

Best answer by HangTen416 20 December 2022, 00:25

View original

12 comments

Userlevel 5
Badge +7

a) Yes

 

Userlevel 7
Badge +20

b) No

 

Userlevel 5
Badge +7

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

so it must be B: NO

 

Userlevel 5
Badge +7

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

so it must be B: NO

 

 

Userlevel 7
Badge +6

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.

 

Userlevel 7
Badge +7

b) No

 

Userlevel 7
Badge +14

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

 

Userlevel 4
Badge +2

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.

 

Userlevel 7
Badge +10

b) No

 

Userlevel 7
Badge +22

B

 

Userlevel 7
Badge +14

b) No

 

Userlevel 7
Badge +14

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