Befehle, um CCleaner ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Piriform.CCleaner.Slim -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Piriform.CCleaner.Slim -e --silentwinget uninstall --id Piriform.CCleaner.Slim -e --silentNach Installer
64-Bit · EXE (NSIS) · Alle Benutzer
Stille Installation
build_RELEASE /SEigener Ordner
build_RELEASE /S /D=C:\Apps\ccleaner- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CCleaner
32-Bit · EXE (NSIS) · Alle Benutzer
Stille Installation
build_RELEASE /SEigener Ordner
build_RELEASE /S /D=C:\Apps\ccleaner- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\CCleaner
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-ccleaner.ps1
$url = 'https://bits.avcdn.net/productfamily_CCLEANER/insttype_SLIM/platform_WIN_PIR/installertype_ONLINE/build_RELEASE'
$sha256 = 'BB11CE1AC7180FB8E6BDFB465D6769D0C822E0CE06B807169BDBD28C6215F686'
$file = Join-Path $env:TEMP 'build_RELEASE'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-ccleaner.ps1
$url = 'https://bits.avcdn.net/productfamily_CCLEANER/insttype_SLIM/platform_WIN_PIR/installertype_ONLINE/build_RELEASE'
$sha256 = 'BB11CE1AC7180FB8E6BDFB465D6769D0C822E0CE06B807169BDBD28C6215F686'
$file = Join-Path $env:TEMP 'build_RELEASE'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait