Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of CCleaner available.

CCleaner

5.21.5700

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 8/16/2016.

The number-one tool for cleaning your Windows PC.

It protects your privacy online and makes your computer faster and more secure.

Notes

This package installs CCleaner without additional adware.

To install CCleaner, run the following command from the command line or from PowerShell:

C:\> choco install ccleaner --version 5.21.5700

To upgrade CCleaner, run the following command from the command line or from PowerShell:

C:\> choco upgrade ccleaner --version 5.21.5700

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'ccleaner'
    $installerType = 'EXE'
    $LCID = (Get-Culture).LCID
    $url = 'https://download.piriform.com/ccsetup521.exe'
    
    # The installer contains the 64-bit version too.
    # Therefore $url64 is identical to $url
    $url64 = $url
    $silentArgs = "/S /L=$LCID"
    
    # Please test every new version of CCleaner for possible adware/spyware/crapware
    # which installs silently together with Piriform software products.
    # Only push the new package to the gallery if you are 100% sure that this
    # package prevents the install of the bundled adware.
    $regAdd = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)\regAdd.ps1"
    
    $validExitCodes = @(0)
    
    
    # This adds a registry key which prevents Google Chrome
    # from getting installed together with Piriform software products.
    Start-ChocolateyProcessAsAdmin "& `'$regAdd`'"
    
    Install-ChocolateyPackage $packageName $installerType $silentArgs `
      $url $url64 -validExitCodes $validExitCodes
    
    
    
  • tools\chocolateyUninstall.ps1 Show
    $packageName = 'ccleaner'
    $installerType = 'EXE'
    $silentArgs = '/S'
    $unpath = "$Env:ProgramFiles\CCleaner\uninst.exe"
    $validExitCodes = @(0)
    
    Uninstall-ChocolateyPackage $packageName $installerType `
      $silentArgs $unpath -validExitCodes $validExitCodes
    
  • tools\regAdd.ps1 Show
    # This adds a registry key which prevents Google Chrome from getting installed together with Speccy
    
    $processor = Get-WmiObject Win32_Processor
    $is64bit = $processor.AddressWidth -eq 64
    
    $regDirChrome = 'HKLM:\SOFTWARE\Google\No Chrome Offer Until'
    $regDir64Chrome = 'HKLM:\SOFTWARE\Wow6432Node\Google\No Chrome Offer Until'
    $regDirToolbar = 'HKLM:\SOFTWARE\Google\No Toolbar Offer Until'
    $regDir64Toolbar = 'HKLM:\SOFTWARE\Wow6432Node\Google\No Toolbar Offer Until'
    
    if ($is64bit) {
      if (-not(Test-Path $regDir64Chrome)) {New-Item $regDir64Chrome -ItemType directory -Force}
      New-ItemProperty -Name "Piriform Ltd" -Path $regDir64Chrome -PropertyType DWORD -Value 20991231 -Force
      if (-not(Test-Path $regDir64Toolbar)) {New-Item $regDir64Toolbar -ItemType directory -Force}
      New-ItemProperty -Name "Piriform Ltd" -Path $regDir64Toolbar -PropertyType DWORD -Value 20991231 -Force
    } else {
      if (-not(Test-Path $regDirChrome)) {New-Item $regDirChrome -ItemType directory -Force}
      New-ItemProperty -Name "Piriform Ltd" -Path $regDirChrome -PropertyType DWORD -Value 20991231 -Force
      if (-not(Test-Path $regDirToolbar)) {New-Item $regDirToolbar -ItemType directory -Force}
      New-ItemProperty -Name "Piriform Ltd" -Path $regDirToolbar -PropertyType DWORD -Value 20991231 -Force
    }
    
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Piriform

Tags

Version History

Version Downloads Last updated Status
CCleaner 5.41.6446 91978 Tuesday, March 13, 2018 approved
CCleaner 5.40.6411 127796 Tuesday, February 13, 2018 approved
CCleaner 5.39.6399 102623 Tuesday, January 16, 2018 approved
CCleaner 5.38.6357.20171217 92743 Sunday, December 17, 2017 approved
CCleaner 5.38.6357 27774 Tuesday, December 12, 2017 approved
CCleaner 5.37.6309 97454 Wednesday, November 15, 2017 approved
CCleaner 5.36.6278 76765 Tuesday, October 24, 2017 approved
CCleaner 5.35.6210 77152 Wednesday, September 20, 2017 approved
CCleaner 5.34.6207 28875 Tuesday, September 12, 2017 approved
Show More

Discussion for the CCleaner Package

Ground rules:

  • This discussion is only about CCleaner and the CCleaner package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or CCleaner, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok