PowerShell script cannot run as admin

Support and questions for using and managing Chocolatey NuGet inside of Labtech
Post Reply
aaroncampbell72
Posts: 33
Joined: Tue Mar 24, 2020 6:59 pm
4

PowerShell script cannot run as admin

Post 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?

User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: PowerShell script cannot run as admin

Post by Cubert »

What version of Chocolatey plugin are you running?

Post Reply

Return to “Chocolatey For Labtech”