Chocolatey.org: Access Denied
-
It would seem that recent updates to Windows 10 1709 have changed the permissions of folders for Chocolatey -
Has anyone who runs Chocolatey.org encountered this issue?
C:\WINDOWS\system32>choco upgrade all -y Chocolatey v0.10.8 Upgrading the following packages: all By upgrading you accept licenses for the packages. 7zip v16.4.0.20170506 is the latest version available based on your source(s). 7zip.install v16.4.0.20170506 is the latest version available based on your source(s). autohotkey.portable v1.1.26.01 is the latest version available based on your source(s). You have ccleaner v5.36.6278 installed. Version 5.37.6309 is available based on your source(s). Progress: Downloading ccleaner 5.37.6309... 100% ccleaner not upgraded. An error occurred during installation: Access to the path 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1' is denied. ccleaner package files upgrade completed. Performing other installation steps. The upgrade of ccleaner was NOT successful. ccleaner not upgraded. An error occurred during installation: Access to the path 'C:\ProgramData\chocolatey\lib\ccleaner\tools\chocolateyInstall.ps1' is denied. This is try 1/3. Retrying after 300 milliseconds. Error converted to warning: (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\ccleaner] This is try 2/3. Retrying after 400 milliseconds. Error converted to warning: (5) Access is denied: [\\?\C:\ProgramData\chocolatey\lib-bad\ccleaner] Maximum tries of 3 reached. Throwing error. Could not move bad package to failure directory It will show as installed. C:\ProgramData\chocolatey\lib\ccleaner The error: Access to the path 'C:\ProgramData\chocolatey\lib\ccleaner\tools' is denied. This is try 1/3. Retrying after 300 milliseconds. Error converted to warning: (183) Cannot create a file when that file already exists: [\\?\C:\ProgramData\chocolatey\lib\ccleaner] This is try 2/3. Retrying after 400 milliseconds. Error converted to warning: (183) Cannot create a file when that file already exists: [\\?\C:\ProgramData\chocolatey\lib\ccleaner] Maximum tries of 3 reached. Throwing error. This is try 1/3. Retrying after 300 milliseconds. Error converted to warning: Access to the path is denied. This is try 2/3. Retrying after 400 milliseconds. Error converted to warning: Access to the path is denied. Exiting chocolatey abnormally. Please manually clean up anything that was not finished. C:\WINDOWS\system32>cllist -lo 'cllist' is not recognized as an internal or external command, operable program or batch file. C:\WINDOWS\system32>clist -lo Chocolatey v0.10.8 Access to the path 'C:\ProgramData\chocolatey\lib\ccleaner\tools' is denied.
-
I had this problem and it was all caused by webroot, they have released a new updated version which you have to manually roll out.
-
iE webrrot isn’t including the update until the next major release in q1 2018....
You can deploy it via their web portal, using their install link.
-
From Webroot:
To be compatible with the release of the Windows 10 Fall Creator update build 1709, we have made available our SecureAnywhere endpoint version 9.0.18.44. If you are considering updating to the Windows 10 Fall Creator update build 1709, we strongly recommend updating your SecureAnywhere endpoint version to our 9.0.18.44 release. This will ensure that when you update your system, your security will be compatible with the upgrade.
To install this latest version of Webroot, you can either update your current version of Webroot endpoint or you can uninstall and reinstall using our latest endpoint download available via the Webroot Admin Console > "Resources" tab.
To force an update to the latest version, please use the "Agent Commands" option from within the Webroot admin console. From the "Sites" tab of the console, click to manage the specific site in question > Endpoint Protection > Group Management > Agent Commands > Advanced > Download and Execute a File.
http://anywhere.webrootcloudav.com/zerol/wsasme.exe
You can also use the URL above to download the installer locally on the endpoint via a browser, and run manually.
-
Thanks - I re-installed webroot and was able to update.