I’m happy to provide the following QuickTime Uninstall Script to Remove QuickTime Windows Plugin. There are compelling reasons to remove QuickTime, for example: Apple no longer updates Quicktime Windows and Apple no longer supports Quicktime Windows.
This means that vulnerabilities will remain unpatched.
On April 14, 2016, the TrendMicro blog released the following Urgent Call to Action and the Department of Homeland Security released Alert (TA16-105A).
The US-CERT alert states
“The only mitigation available is to uninstall QuickTime for Windows.”, and Trend states: “even with protections, ultimately the right answer is to follow Appleās guidance and uninstall QuickTime for Windows. That is the only sure way to be protected against all current and future vulnerabilities in the product now that Apple is no longer providing security updates for it.”
For SysAdmins, this may involve removal from hundreds or thousands of workstations, potentially consuming hours of work; therefore, I searched for a way to script removal and found this thread. I’ve updated the script and tested this QuickTime Uninstall Script on several workstations with MaxFocus RMM. Script can be executed manually as well. Results are written to the shell or RMM dashboard, for example, if quicktime is removed, the version is reported. If not found, here’s a screenshot of the result:
Please contact me with any feedback.
Uninstall Script to Remove QuickTime Windows Plugin – code
The link to our github download is below…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
<# .NOTES =========================================================================== Original script by: The Immortal - https://community.spiceworks.com/topic/1560779-silent-uninstall-script-for-quicktime Updated on: 20200131 Updated by: Computer Repair Sacramento :: [email protected] Filename: wcs_remove-quicktime.ps1 CAUTION: distributed freely without any warranty or guarantee of suitability of fitness for any purpose! Use at your own risk! =========================================================================== .DESCRIPTION Powershell script to uninstall quicktime. Report result to dashboard. #> $qtVer = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -match "quicktime" } | Select-Object -Property DisplayName, UninstallString if ($qtVer -ne $null) { ForEach ($ver in $qtVer) { If ($ver.UninstallString) { $uninst = $ver.UninstallString $uninst = $uninst -replace "/I", "/x " Start-Process cmd -ArgumentList "/c $uninst /quiet /norestart" -NoNewWindow Write-Host "Removed: QuickTime $ver" } } } Else { Write-Host "QuickTime not found" } |
Hi John, thanks for your note on the Quicktime Uninstall Script; did you get it working to remove the quicktime windows plugin? If not, just let me know. Jonathan
Hi Jonathan,
Thanks for posting this.
How did you set up your Max RMM task?
I think I missed a step.
I uploaded the script and ran it against my test machine through MAX RMM but it did not give output to the task and did not uninstall QT.