1. 程式人生 > 實用技巧 >mdnsresponder_什麼是mDNSResponder.exe / Bonjour,如何解除安裝或刪除它?

mdnsresponder_什麼是mDNSResponder.exe / Bonjour,如何解除安裝或刪除它?

mdnsresponder

mdnsresponder

image

You are no doubt reading this article because you’ve noticed the mDNSResponder.exe process running in Task Manager, you don’t remember installing it, and it doesn’t show up in the Add/Remove programs in Control Panel. So what is it, and how do we get rid of it?

您無疑會閱讀本文,因為您已經注意到工作管理員中執行的mDNSResponder.exe程序,您不記得安裝了它,並且該過程也未顯示在“控制面板”中的“新增/刪除”程式中。 那麼這是什麼,以及我們如何擺脫它呢?

This article is part of our ongoing series explaining various processes found in Task Manager, likedwm.exe, ctfmon.exe,conhost.exe, rundll32.exe,Adobe_Updater.exe, and many others.Don’tknow what those services are? Better start reading!

本文是我們正在進行的系列文章的一部分,介紹在工作管理員中找到的各種過程,例如dwm.exectfmon.exe

conhost.exerundll32.exeAdobe_Updater.exe以及許多其他過程。 不知道這些服務是什麼? 最好開始閱讀!

What is mDNSResponder.exe or Bonjour?

什麼是mDNSResponder.exe或Bonjour?

The mDNSResponder.exe process belongs to the Bonjour for Windows service, which is Apple’s “Zero Configuration Networking” application, typically installed automatically by iTunes. If you’ve ever wondered how one iTunes install can talk to another on the same local network, Bonjour is what actually does this behind the scenes.

mDNSResponder.exe程序屬於Bonjour for Windows服務,該服務是Apple的“零配置網路”應用程式,通常由iTunes自動安裝。 如果您曾經想知道一個iTunes安裝如何與同一個本地網路上的另一個iTunes通訊,那麼Bonjour實際上是在幕後進行的操作。

Don’t use iTunes? You aren’t alone, and that’s not the only way that Bonjour gets installed on your computer. It’s also bundled in a whole bunch of other software, like Pidgin, Skype, and Safari, and used to connect clients together on the same network.

不使用iTunes? 您並不孤單,這不是Bonjour安裝在計算機上的唯一方式。 它還捆綁在許多其他軟體中,例如Pidgin,Skype和Safari,並用於將同一網路上的客戶端連線在一起。

It’s implemented as a Windows Service, which you can see if you head into the services panel (or just type services.msc into the start menu search box). You can stop it from here anytime.

它作為Windows服務實現,您可以檢視是否進入服務面板(或僅在開始選單搜尋框中鍵入services.msc)。 您可以隨時從這裡停止它。

image

The whole problem we have is that it generally doesn’t show up in Add / Remove Programs, so you can’t get rid of it through any normal methods. Thankfully you can still remove mDNSResponder.exe if you really want to, and it will simply limit some of the functionality in the apps that might rely on it.

我們遇到的整個問題是,它通常不會顯示在“新增/刪除程式”中,因此您無法通過任何常規方法擺脫它。 值得慶幸的是,如果您確實願意,仍然可以刪除mDNSResponder.exe,它將僅限制可能依賴該應用程式的某些功能。

Important: Don’t remove Bonjour if you use iTunes to share libraries, or any other feature from an application that relies on it.

重要提示:如果您使用iTunes共享庫或依賴它的應用程式中的任何其他功能,請不要刪除Bonjour。

How Do I Remove It?

如何刪除它?

First, it should be noted that you can disable Bonjour without necessarily removing it—just head into the Services panel, double-click on the service, and change the Startup type to Disabled.

首先,應該注意的是,您可以禁用Bonjour,而不必將其刪除-只需進入“服務”面板,雙擊該服務,然後將“啟動”型別更改為“禁用”即可。

image

This is probably your best bet if you don’t really want to break anything—if you have problems you can always re-enable it.

如果您真的不想破壞任何東西,這可能是最好的選擇-如果遇到問題,可以隨時重新啟用它。

Alright, How Do I Really Remove It?

好吧,我如何真正將其刪除?

Let’s get down to business. If you’re absolutely sure you want to remove it, it’s really pretty simple. Open up a command prompt in administrator mode (right-click and choose Run as Administrator), and then change into the installation directory, usually the following:

讓我們轉到工作上。 如果您完全確定要刪除它,那確實很簡單。 在管理員模式下開啟命令提示符(右鍵單擊並選擇以管理員身份執行),然後切換到安裝目錄,通常是以下內容:

\Program Files\Bonjour

\ Program Files \ Bonjour

If you are using Vista or Windows 7 x64 edition, you’ll need to head into the Program Files (x86) folder instead. Now that you are there, type in the following command to see the options:

如果您使用的是Vista或Windows 7 x64版本,則需要轉到Program Files(x86)資料夾。 現在您已經在這裡,鍵入以下命令以檢視選項:

mDNSResponder.exe /?

mDNSResponder.exe /?

image

Ah, so now we know what to do to remove it! Simply type in the following:

啊,所以現在我們知道該如何刪除它了! 只需輸入以下內容:

mDNSResponder.exe –remove

mDNSResponder.exe –刪除

You’ll get a message saying that the service has been removed. (Note again that you need an Administrator mode command prompt)

您將收到一條訊息,指出該服務已被刪除。 (再次注意,您需要管理員模式命令提示符)

image

You’ll want to also disable the DLL file in the directory by renaming it to something else:

您還需要通過重新命名為其他名稱來禁用目錄中的DLL檔案:

ren mdnsNSP.dll mdnsNSP.blah

ren mdnsNSP.dll mdnsNSP.blah

You should be able to actually remove that entire directory if you really want to.

如果確實需要,您應該實際上可以刪除整個目錄。

Wait, How Do I Enable It Again?

等待,如何再次啟用它?

Oh, so your favorite application broke? No matter, you can easily re-install the Bonjour service with the following command:

哦,所以您喜歡的應用程式壞了? 沒關係,您可以使用以下命令輕鬆地重新安裝Bonjour服務:

mDNSResponder.exe -install

mDNSResponder.exe-安裝

But I Deleted It!

但是我刪除了!

See, you really shouldn’t delete things until you are sure they aren’t useful anymore. That’s why renaming is a good thing. Thankfully you can simply head over to Apple’s page and install Bonjour again.

瞧,在確定它們不再有用之前,您實際上不應該刪除它們。 這就是為什麼重新命名是一件好事。 值得慶幸的是,您可以直接轉到Apple頁面並再次安裝Bonjour。

Download Bonjour for Windows

下載Windows版Bonjour

翻譯自: https://www.howtogeek.com/howto/6456/what-is-mdnsresponder.exe-bonjour-and-how-can-i-uninstall-or-remove-it/

mdnsresponder