Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

This is not the latest version of CCleaner available.

CCleaner

5.16.5551

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 3/22/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.16.5551

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

C:\> choco upgrade ccleaner --version 5.16.5551

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'ccleaner'
    $installerType = 'EXE'
    $LCID = (Get-Culture).LCID
    $url = 'https://download.piriform.com/ccsetup516.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.47.6716 36104 Thursday, September 20, 2018 approved
CCleaner 5.46.6652 28952 Thursday, August 30, 2018 approved
CCleaner 5.44.6575 53217 Tuesday, June 26, 2018 approved
CCleaner 5.43.6522 43433 Friday, May 25, 2018 approved
CCleaner 5.43.6520 11362 Wednesday, May 23, 2018 approved
CCleaner 5.42.6499 18733 Wednesday, May 16, 2018 approved
CCleaner 5.42.6495 30584 Monday, April 23, 2018 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