Community Record
13
Posts
0
Kudos
0
Solutions
Badges
Sep 27 2017
9:22 PM
in which i have no visibility for (Completed/Failed/Timeout), one of the caveats for Meraki MDM. I do have a case logged since ccleaner is shown in "program & features" but not the returned in the CLI which was used to capture. But this section is really cool..
... View more
Sep 27 2017
9:12 PM
That was good lead. i used the below,, thou it timed out on majority of systems. "C:\Program Files\CCleaner\uninst.exe" /S For those who want to do it via powershell (intune should have this as beta feature) # Checking Presence of CCleaner
Get-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName -match CCleaner
# Stopping CCleaner64 & CCleaner running process, this will have errors if it is not running. keep calm and carry on
stop-process -name CCleaner64 -force
stop-process -name CCleaner -force
# Starting uninstaller
if (Get-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName -match CCleaner -OutVariable Results) {
& "$($Results.InstallLocation)\uninst.exe" /S
}
# Removing install folder, this should prevent even if uninstall failed
Remove-Item "C:\Program Files\CCleaner" -Force
# Checking Presence of CCleaner
Get-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName -match CCleaner
... View more
Sep 24 2017
8:01 PM
Hi Folks, Got a good question, in need of a very good answer. I currently have the need to remove CCleaner due to the malware payload of recent my bosses have decided to blacklist it all together. I could click uninstall manually but sadly my fingers or mouse will likely fall apart of suffer a crap clicking 3K+ times & now i am looking for a easier way to uninstall all version of it in a more automatic method (this will prove very useful for other software in future). btw, i can't see ccleaner in my windows software inventory list (but i can see everything else, likely a bug and a case already logged).
... View more