Page 1 of 1

PowerShell script cannot run as admin

Posted: Tue Feb 02, 2021 9:24 pm
by aaroncampbell72
The script log shows the following when the plug-in fails to install a package on a PC:

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


Does anyone know where the installation scripts are deployed from or if there's a way to explicitly make them run as Admin?

Re: PowerShell script cannot run as admin

Posted: Wed Feb 03, 2021 1:53 pm
by Cubert
What version of Chocolatey plugin are you running?