Re: Auto-Install failing. "Access to the path 'C:\ProgramData\chocolatey\lib\"
Posted: Fri Apr 23, 2021 9:15 pm
I found the solution.
When adding packages to our repository there is an "As Admin" option. If that is selected and credentials are incorrect or not set then the install scripts fails/stops when trying to open an elevated session on the target PC. I re-added packages without selecting "As Admin" and now they're auto-installing.
When adding packages to our repository there is an "As Admin" option. If that is selected and credentials are incorrect or not set then the install scripts fails/stops when trying to open an elevated session on the target PC. I re-added packages without selecting "As Admin" and now they're auto-installing.