ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Chocolatey.org: Access Denied

    IT Discussion
    windows 10 pro windows 10 1709 chocolatey
    3
    5
    5.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse
      last edited by

      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.
      
      1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender
        last edited by

        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.

        1 Reply Last reply Reply Quote 2
        • DashrenderD
          Dashrender
          last edited by

          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.

          1 Reply Last reply Reply Quote 1
          • Mike DavisM
            Mike Davis
            last edited by

            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.

            1 Reply Last reply Reply Quote 3
            • gjacobseG
              gjacobse
              last edited by

              Thanks - I re-installed webroot and was able to update.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post