Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

7,516,660

Downloads of v 5.38.6357.20171217:

93,182

Last Update:

17 Dec 2017

Package Maintainer(s):

Software Author(s):

  • Piriform

Tags:

ccleaner system cleanup freeware trial registry admin

CCleaner

This is not the latest version of CCleaner available.

  • 1
  • 2
  • 3

5.38.6357.20171217 | Updated: 17 Dec 2017

Downloads:

7,516,660

Downloads of v 5.38.6357.20171217:

93,182

Maintainer(s):

Software Author(s):

  • Piriform

CCleaner 5.38.6357.20171217

This is not the latest version of CCleaner available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Piriform. The inclusion of Piriform trademark(s), if any, upon this webpage is solely to identify Piriform goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

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

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade ccleaner -y --source="'INTERNAL REPO URL'" --version="'5.38.6357.20171217'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade ccleaner -y --source="'INTERNAL REPO URL'" --version="'5.38.6357.20171217'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install ccleaner
  win_chocolatey:
    name: ccleaner
    version: '5.38.6357.20171217'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'ccleaner' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '5.38.6357.20171217'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller ccleaner
{
    Name     = "ccleaner"
    Version  = "5.38.6357.20171217"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'ccleaner':
  ensure   => '5.38.6357.20171217',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

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

Package Approved

This package was approved as a trusted package on 17 Dec 2017.

Description

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.


tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$packageName = 'ccleaner'
$url32       = 'https://download.piriform.com/ccsetup538.exe'
$url64       = $url32
$checksum32  = 'e28d4eb40c69b7457d72a1ebef1d8ed41f9e087800d02074d1742c83d584453c'
$checksum64  = $checksum32

if ($Env:ChocolateyPackageParameters -match '/UseSystemLocale') {
    Write-Host "Using system locale"
    $locale = "/L=" + (Get-Culture).LCID 
}

$packageArgs = @{
  packageName            = $packageName
  fileType               = 'EXE'
  url                    = $url32
  url64bit               = $url64
  checksum               = $checksum32
  checksum64             = $checksum64
  checksumType           = 'sha256'
  checksumType64         = 'sha256'
  silentArgs             = "/S $locale"
  validExitCodes         = @(0)
}
Install-ChocolateyPackage @packageArgs

# This adds a registry keys which prevent Google Chrome from getting installed together with Piriform software products.
$regDirChrome    = 'HKLM:\SOFTWARE\Google\No Chrome Offer Until'
$regDirToolbar   = 'HKLM:\SOFTWARE\Google\No Toolbar Offer Until'
if (Get-ProcessorBits 64) {
    $regDirChrome  = $regDirChrome -replace 'SOFTWARE', 'SOFTWARE\Wow6432Node'
    $regDirToolbar = $regDirChrome -replace 'SOFTWARE', 'SOFTWARE\Wow6432Node'
}
& {
    New-Item $regDirChrome -ItemType directory -Force
    New-ItemProperty -Name "Piriform Ltd" -Path $regDirChrome -PropertyType DWORD -Value 20991231 -Force
    New-Item $regDirToolbar -ItemType directory -Force
    New-ItemProperty -Name "Piriform Ltd" -Path $regDirToolbar -PropertyType DWORD -Value 20991231 -Force
} | Out-Null

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
CCleaner 6.29.11342 83041 Wednesday, October 16, 2024 Approved
CCleaner 6.28.11297 112426 Thursday, September 19, 2024 Approved
CCleaner 6.27.11214 94277 Wednesday, August 21, 2024 Approved
CCleaner 6.26.11169 115002 Wednesday, July 17, 2024 Approved
CCleaner 6.25.11131 54626 Monday, July 1, 2024 Approved
CCleaner 6.25.11093 74981 Wednesday, June 19, 2024 Approved
CCleaner 6.24.11060 111613 Thursday, May 23, 2024 Approved
CCleaner 6.23.11010 123738 Wednesday, April 17, 2024 Approved
CCleaner 6.22.10977 138269 Wednesday, March 13, 2024 Approved
CCleaner 6.21.10918 118716 Wednesday, February 14, 2024 Approved
CCleaner 6.20.10897 112319 Wednesday, January 17, 2024 Approved
CCleaner 6.19.10858 108590 Wednesday, December 13, 2023 Approved
CCleaner 6.18.10838 73493 Thursday, November 23, 2023 Approved
CCleaner 6.18.10824 54307 Wednesday, November 15, 2023 Approved
CCleaner 6.17.10746 135465 Wednesday, October 18, 2023 Approved
CCleaner 6.16.10662 192328 Wednesday, September 13, 2023 Approved
CCleaner 6.15.10623 259194 Wednesday, August 16, 2023 Approved
CCleaner 6.14.10584 178967 Wednesday, July 19, 2023 Approved
CCleaner 6.13.10517 161513 Wednesday, June 14, 2023 Approved
CCleaner 6.12.10490 289916 Thursday, May 18, 2023 Approved
CCleaner 6.11.10455 59913 Tuesday, May 2, 2023 Approved
CCleaner 6.11.10435 41341 Monday, April 24, 2023 Approved
CCleaner 6.10.10347 77681 Wednesday, March 15, 2023 Approved
CCleaner 6.09.10300 70224 Wednesday, February 15, 2023 Approved
CCleaner 6.08.10255 68967 Wednesday, January 18, 2023 Approved
CCleaner 6.07.10191 70337 Wednesday, December 14, 2022 Approved
CCleaner 6.06.10144 62430 Thursday, November 17, 2022 Approved
CCleaner 6.05.10110 61462 Monday, October 24, 2022 Approved
CCleaner 6.04.10044 65399 Tuesday, September 20, 2022 Approved
CCleaner 6.03.10002 60920 Monday, August 22, 2022 Approved
CCleaner 6.02.9938 47934 Monday, August 8, 2022 Approved
CCleaner 5.92.9652 130601 Monday, April 11, 2022 Approved
CCleaner 5.91.9537 61866 Thursday, March 17, 2022 Approved
CCleaner 5.90.9443 64990 Wednesday, February 16, 2022 Approved
CCleaner 5.89.9401 57560 Tuesday, January 25, 2022 Approved
CCleaner 5.89.9385 17583 Monday, January 24, 2022 Approved
CCleaner 5.88.9346 68953 Tuesday, December 14, 2021 Approved
CCleaner 5.87.9306 57105 Tuesday, November 16, 2021 Approved
CCleaner 5.86.9258 59896 Wednesday, October 20, 2021 Approved
CCleaner 5.85.9170 73165 Tuesday, September 14, 2021 Approved
CCleaner 5.84.9143 26094 Wednesday, September 8, 2021 Approved
CCleaner 5.84.9126 42135 Wednesday, August 18, 2021 Approved
CCleaner 5.83.9050 29688 Saturday, August 7, 2021 Approved
CCleaner 5.82.8950 57317 Thursday, June 17, 2021 Approved
CCleaner 5.81.8895 28606 Tuesday, June 8, 2021 Approved
CCleaner 5.80.8743 32220 Tuesday, May 25, 2021 Approved
CCleaner 5.79.8704 48373 Thursday, April 29, 2021 Approved
CCleaner 5.78.8558 51902 Thursday, March 25, 2021 Approved
CCleaner 5.77.8521.20210323 30610 Tuesday, March 23, 2021 Approved
CCleaner 5.77.8521 116370 Thursday, March 4, 2021 Approved
CCleaner 5.77.8448 36059 Thursday, February 18, 2021 Approved
CCleaner 5.76.8269 54674 Wednesday, January 13, 2021 Approved
CCleaner 5.75.8238 47780 Thursday, December 10, 2020 Approved
CCleaner 5.74.8198 46389 Wednesday, November 11, 2020 Approved
CCleaner 5.74.8184 22810 Monday, November 9, 2020 Approved
CCleaner 5.73.8130 31585 Monday, October 26, 2020 Approved
CCleaner 5.72.7994 46771 Wednesday, September 23, 2020 Approved
CCleaner 5.71.7971 23612 Monday, September 14, 2020 Approved
CCleaner 5.70.7909 52611 Saturday, August 8, 2020 Approved
CCleaner 5.69.7865 42353 Tuesday, July 21, 2020 Approved
CCleaner 5.68.7820.20200625 35453 Thursday, June 25, 2020 Approved
CCleaner 5.68.7820.20200624 6458 Wednesday, June 24, 2020 Approved
CCleaner 5.68.7820 5721 Tuesday, June 23, 2020 Approved
CCleaner 5.67.7763 35281 Thursday, May 28, 2020 Approved
CCleaner 5.66.7716 33591 Friday, May 1, 2020 Approved
CCleaner 5.66.7705 17710 Wednesday, April 29, 2020 Approved
CCleaner 5.65.7632 39134 Tuesday, March 24, 2020 Approved
CCleaner 5.64.7613 30301 Wednesday, March 4, 2020 Approved
CCleaner 5.63.7540 112113 Wednesday, October 16, 2019 Approved
CCleaner 5.62.7538 20163 Friday, October 4, 2019 Approved
CCleaner 5.61.7392 46897 Tuesday, August 20, 2019 Approved
CCleaner 5.60.7307 34153 Tuesday, July 16, 2019 Approved
CCleaner 5.59.7230 27218 Tuesday, June 25, 2019 Approved
CCleaner 5.58.7209 26035 Thursday, June 6, 2019 Approved
CCleaner 5.57.7182 28437 Tuesday, May 14, 2019 Approved
CCleaner 5.56.7144 36193 Tuesday, April 9, 2019 Approved
CCleaner 5.55.7108 36152 Tuesday, March 12, 2019 Approved
CCleaner 5.54.7088 16948 Monday, March 4, 2019 Approved
CCleaner 5.53.7034 22901 Tuesday, February 19, 2019 Approved
CCleaner 5.52.6967 39792 Thursday, January 17, 2019 Approved
CCleaner 5.51.6939 33670 Thursday, December 13, 2018 Approved
CCleaner 5.50.6911 22029 Thursday, November 29, 2018 Approved
CCleaner 5.49.6856 40199 Monday, November 12, 2018 Approved
CCleaner 5.48.6834 27083 Thursday, October 25, 2018 Approved
CCleaner 5.47.6716.20181017 17982 Wednesday, October 17, 2018 Approved
CCleaner 5.47.6716 36688 Thursday, September 20, 2018 Approved
CCleaner 5.46.6652 29442 Thursday, August 30, 2018 Approved
CCleaner 5.44.6575 54016 Tuesday, June 26, 2018 Approved
CCleaner 5.43.6522 43837 Friday, May 25, 2018 Approved
CCleaner 5.43.6520 11694 Wednesday, May 23, 2018 Approved
CCleaner 5.42.6499 19108 Wednesday, May 16, 2018 Approved
CCleaner 5.42.6495 30953 Monday, April 23, 2018 Approved
CCleaner 5.41.6446 92659 Tuesday, March 13, 2018 Approved
CCleaner 5.40.6411 128922 Tuesday, February 13, 2018 Approved
CCleaner 5.39.6399 103537 Tuesday, January 16, 2018 Approved
CCleaner 5.38.6357.20171217 93182 Sunday, December 17, 2017 Approved
CCleaner 5.38.6357 28217 Tuesday, December 12, 2017 Approved
CCleaner 5.37.6309 97881 Wednesday, November 15, 2017 Approved
CCleaner 5.36.6278 77189 Tuesday, October 24, 2017 Approved
CCleaner 5.35.6210 78192 Wednesday, September 20, 2017 Approved
CCleaner 5.34.6207 29285 Tuesday, September 12, 2017 Approved
CCleaner 5.32.6129 53886 Tuesday, July 11, 2017 Approved
CCleaner 5.31.6105 40601 Tuesday, June 13, 2017 Approved
CCleaner 5.31.6104 3673 Tuesday, June 13, 2017 Approved
CCleaner 5.30.6065 29688 Tuesday, May 23, 2017 Approved
CCleaner 5.30.6063 19986 Tuesday, May 16, 2017 Approved
CCleaner 5.29.6033 31804 Tuesday, April 18, 2017 Approved
CCleaner 5.28.6005 46866 Tuesday, March 14, 2017 Approved
CCleaner 5.27.5976 44616 Tuesday, February 14, 2017 Approved
CCleaner 5.26.5937 42447 Tuesday, January 17, 2017 Approved
CCleaner 5.25.5902 52299 Tuesday, December 13, 2016 Approved
CCleaner 5.24.5841 35726 Wednesday, November 16, 2016 Approved
CCleaner 5.24.5839 6191 Tuesday, November 15, 2016 Approved
CCleaner 5.23.5808 62371 Tuesday, October 18, 2016 Approved
CCleaner 5.22.5724 52152 Tuesday, September 13, 2016 Approved
CCleaner 5.21.5700 43690 Tuesday, August 16, 2016 Approved
CCleaner 5.20.5668 34182 Tuesday, July 19, 2016 Approved
CCleaner 5.19.5633 846 Tuesday, June 21, 2016 Approved
CCleaner 5.18.5607 687 Tuesday, May 24, 2016 Approved
CCleaner 5.17.5590 7421 Tuesday, April 26, 2016 Approved
CCleaner 5.16.5551 16165 Tuesday, March 22, 2016 Approved
CCleaner 5.15.5513 13676 Tuesday, February 23, 2016 Approved
CCleaner 5.14.5493 13320 Tuesday, January 26, 2016 Approved
CCleaner 5.13.5460 12570 Monday, December 21, 2015 Approved
CCleaner 5.12.5431 10618 Tuesday, November 24, 2015 Approved
CCleaner 5.11.5408 33761 Monday, October 26, 2015 Approved
CCleaner 5.10.5373 24667 Thursday, September 24, 2015 Approved
CCleaner 5.09.5343 16060 Tuesday, August 25, 2015 Approved
CCleaner 5.08.5308 11532 Thursday, July 23, 2015 Approved
CCleaner 5.07.5261 8203 Thursday, June 25, 2015 Approved
CCleaner 5.06.5219 9355 Tuesday, May 26, 2015 Approved
CCleaner 5.05.5176 8237 Thursday, April 23, 2015 Approved
CCleaner 5.04.5151 7630 Wednesday, March 25, 2015 Approved
CCleaner 5.03.5128 7990 Tuesday, February 24, 2015 Approved
CCleaner 5.02.5101 6865 Friday, January 30, 2015 Approved
CCleaner 5.01.5075 7885 Tuesday, December 23, 2014 Approved
CCleaner 5.00.5050 5475 Friday, November 28, 2014 Approved
CCleaner 4.19.4867 6685 Friday, October 24, 2014 Approved
CCleaner 4.18.4844 5363 Saturday, September 27, 2014 Approved
CCleaner 4.18.4842 1237 Thursday, September 25, 2014 Approved
CCleaner 4.17.4808 4889 Thursday, August 28, 2014 Approved
CCleaner 4.16.4763 4567 Sunday, July 27, 2014 Approved
CCleaner 4.15.4725 3940 Wednesday, June 25, 2014 Approved
CCleaner 4.14.4707 3738 Thursday, May 22, 2014 Approved
CCleaner 4.13.4693 3566 Thursday, April 24, 2014 Approved
CCleaner 4.12.4657 3435 Tuesday, March 25, 2014 Approved
CCleaner 4.11.4619 2902 Tuesday, February 25, 2014 Approved
CCleaner 4.10.4570 3101 Thursday, January 23, 2014 Approved
CCleaner 4.09.4471.20140102 1725 Thursday, January 2, 2014 Approved
CCleaner 4.09.4471 1294 Thursday, December 19, 2013 Approved
CCleaner 4.08.4428 1496 Wednesday, November 27, 2013 Approved
CCleaner 4.07.4369 1744 Thursday, October 24, 2013 Approved
CCleaner 4.06.4324 1653 Wednesday, September 25, 2013 Approved
CCleaner 4.05.4250 1528 Monday, August 26, 2013 Approved
CCleaner 4.04.4197 1381 Friday, July 26, 2013 Approved
CCleaner 4.03.4151 1325 Thursday, June 27, 2013 Approved
CCleaner 4.02.4115.20130609 1083 Sunday, June 9, 2013 Approved
CCleaner 4.02.4115.20130601 904 Saturday, June 1, 2013 Approved
CCleaner 4.02.4115 783 Wednesday, May 29, 2013 Approved
CCleaner 4.01.40933 1064 Sunday, May 5, 2013 Approved
CCleaner (multilanguage) 4.01.40931 658 Sunday, May 5, 2013 Approved
CCleaner (multilanguage) 4.01.40930 674 Friday, May 3, 2013 Approved
ccleaner 4.01.4093 798 Thursday, April 25, 2013 Approved
ccleaner 3.23.1823 2356 Sunday, September 30, 2012 Approved
ccleaner 3.12.0 1261 Monday, November 14, 2011 Approved

This package has no dependencies.

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