Befehle, um CCleaner 7 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 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Piriform.CCleaner -e --silentwinget uninstall --id Piriform.CCleaner -e --silentNach Installer
64-Bit · EXE · Alle Benutzer
Stille Installation
build_RELEASE /SILENT- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CCleaner 7
32-Bit · EXE · Alle Benutzer
Stille Installation
build_RELEASE /SILENT- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\CCleaner 7
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-ccleaner-7.ps1
$url = 'https://bits.avcdn.net/productfamily_CCLEANER7/insttype_FREE/platform_WIN/installertype_ONLINE/build_RELEASE'
$sha256 = '67878AD7E694EE69C64874628538BB8DEDFC7D9BD0F419EE456EF50619BA818C'
$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 '/SILENT' -Wait install-ccleaner-7.ps1
$url = 'https://bits.avcdn.net/productfamily_CCLEANER7/insttype_FREE/platform_WIN/installertype_ONLINE/build_RELEASE'
$sha256 = '67878AD7E694EE69C64874628538BB8DEDFC7D9BD0F419EE456EF50619BA818C'
$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 '/SILENT' -Wait