Silently uninstalling Bonjour

Hi all,

I'm trying to uninstall Bonjour on a bunch of machines. That part is fairly easy which I can tackle with either 'mDNSResponder.exe -remove' or the following powershell script

$uninstallString = (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\windows\CurrentVersion\Uninstall\*' | ?{$_.DisplayName -like "Bonjour"}).UninstallString
if ($uninstallString -ne $null)
    & cmd /c $uninstallString /quiet /norestart

Problem is, the first time itunes then loads it comes up stating 'THe bonjour service cant be found'

I wondering if its possible to remove bonjour without that message coming up.


1 Comment   [ + ] Show comment
  • Another way to tackle this might be to disallow iTunes from running - JasonEgg 4 years ago

Answers (1)

Posted by: SMal.tmcc 4 years ago
Red Belt
leave it installed and just disable the service from starting.

  • this is what we do to get around the warning - SMal.tmcc 4 years ago
    • Thanks for the suggestion. I have disabled the service via GP, but it still causes the error. May just have to go with it. - tomasnc 4 years ago
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ