Offer Extended  -  Cyber Monday Bundle  -  85% Off Buy now
Windows Errors

What Is mdnsNSP.dll? How to Fix Bonjour mdnsNSP.dll Errors

mdnsNSP.dll is the Bonjour Namespace Provider from Apple, which helps apps find devices on your network.

By WinZip Team|Published

Don't need Bonjour? Remove it cleanly. WinZip System Utilities Suite's Uninstall Manager removes programs in one place, and its Uninstall Cleanup scan finds what they leave behind.

Download Now For Windows 11 and 10
A laptop searching for a printer over the network, with a router above and a broken link between them

Quick Answer

mdnsNSP.dll is the Bonjour Namespace Provider, part of Apple's Bonjour software, which lets programs find printers and other devices on your local network. If Windows 11 says "This module is blocked from loading into the Local Security Authority" and names it, Windows' LSA protection is doing its job; it isn't a sign of a virus. To fix it:

  1. Select Start > Settings > Apps > Installed apps and search for Bonjour to confirm it's installed.
  2. Don't use it? Select More (…) next to Bonjour > Uninstall, then restart your PC.
  3. Need it for AirPlay, Home Sharing or a network printer? Keep it, update the program that installed it, and keep LSA protection on.
  4. Never delete the Bonjour folder by hand. If its files are already gone and you see errors naming mdnsNSP.dll, see section 6.

How you know it worked: after a restart, no LSA warning or mdnsNSP.dll error appears. If you removed Bonjour, it's gone from Installed apps and netsh winsock show catalog no longer lists mdnsNSP.

Most people find mdnsNSP.dll in a Windows 11 notification that says "This module is blocked from loading into the Local Security Authority", with a path like \Program Files\Bonjour\mdnsNSP.dll. Others see an error naming mdnsnsp.dll, or just spot the file and wonder what it is. Below: what the file does, why Windows blocks it, how to find the program that installed it, and how to keep it or remove it safely, using Apple's and Microsoft's own documentation.

1. What Is mdnsNSP.dll?

Back to guide

mdnsNSP.dll is the Bonjour Namespace Provider, part of Bonjour, Apple's software for "zero-configuration networking": finding printers, speakers and other devices on your local network without setting them up by hand. Apple's own source code describes it as a plug-in that "hooks into the Windows name resolution infrastructure" so any program can look up local device names, the ones ending in .local.

  • Where it lives: Apple's Bonjour installer puts it in C:\Program Files\Bonjour (64-bit copy) and C:\Program Files (x86)\Bonjour (32-bit copy), together with the Bonjour Service (mDNSResponder.exe).
  • What uses Bonjour: Apple lists the network traffic it uses (Multicast DNS, UDP port 5353) for Bonjour, AirPlay, Home Sharing and printer discovery.
  • Who installs it: Apple's software, and other programs too. Apple offers a Bonjour kit for Windows developers and publishes Bonjour as open source, so another company's program can include it.

Is mdnsNSP.dll Safe?

The genuine file is Apple's. To check yours, right-click it in File Explorer > Properties > Details: the description should be Bonjour Namespace Provider and the product Bonjour. It should be in one of the Bonjour folders above. If you find it anywhere else, or you're unsure, right-click it and select Scan with Microsoft Defender (on Windows 11 you may need Show more options first).

2. Why Is Windows 11 Blocking Bonjour? "This Module Is Blocked From Loading Into the Local Security Authority"

Back to guide

Windows blocks mdnsNSP.dll because of Local Security Authority (LSA) protection, a Windows security feature that helps stop the theft of the credentials you use to sign in to Windows. The LSA is the part of Windows that checks your sign-in details when you log in. With LSA protection on, Microsoft says only plug-ins signed by Microsoft can load into it, and Apple's mdnsNSP.dll isn't signed by Microsoft.

Why would a Bonjour file go near the LSA at all? Neither Apple nor Microsoft explains this case directly. Our reading: Bonjour adds mdnsNSP.dll to Windows' list of name lookup providers, and Apple's code says that lets "any software" using Windows' standard name lookup use it. The LSA is Windows software too, so it most likely tries to load the file like any other program, and LSA protection blocks it there.

  • Why now: Microsoft's Windows Security help page says LSA protection is turned on by default: right away on a new install, and on an upgraded PC after a five-day evaluation period and a restart. So the message can appear a few days after a Windows upgrade, even if you didn't install anything new. (Microsoft's documentation for IT staff describes narrower rules, so not every PC has it on. To see yours, open Windows Security > Device security > Core isolation details.)
  • What you see: a notification from Windows saying "This module is blocked from loading into the Local Security Authority", with a Learn more link. On the Windows 11 PC we checked (read only), this exact text is part of Windows itself, and LSA protection was on.
  • Where it's logged: in Event Viewer, under Applications and Services Logs > Microsoft > Windows > CodeIntegrity > Operational, as Event 3033, which Microsoft describes as a process, usually LSASS.exe, trying to load a file that doesn't meet the Microsoft signing level requirements.

Microsoft gives two ways forward: remove the software that loads the file, or turn off future warnings for that file. Pick by what you use:

Your situationWhat to do
You don't know what Bonjour is or don't use itFind the program behind it (section 3), then remove Bonjour (section 4)
You use AirPlay, Home Sharing or a Bonjour network printerKeep Bonjour, update or repair the program (section 5), and turn off future warnings for that file
The message names a different file or folderFind the program that owns that folder and update or remove it the same way

3. Which Program Installed Bonjour?

Back to guide

Bonjour shows up in your apps list as its own program, so you can see when it arrived and what came with it.

  1. Select Start > Settings > Apps > Installed apps (Windows 10: Apps & features).
  2. Search for Bonjour. The publisher should be Apple Inc. Note its install date.
  3. Clear the search and, on Windows 11, set Sort by to Date installed. Then look at what was installed on the same day: that program most likely brought Bonjour with it.
  4. Also look for other Apple software, such as iTunes, Apple Mobile Device Support or Apple Software Update.

Don't assume it was iTunes. We downloaded today's iTunes for Windows installer from Apple (version 12.13.12.3) and looked inside without running it: it contains iTunes and Apple Mobile Device Support, but no Bonjour, no mdnsNSP.dll and no Bonjour Service. Apple's Bonjour Print Services download, on the other hand, does include Bonjour. So if Bonjour is listed, it came from an earlier installer or from another program.

Expected result: you know whether you still use the program that needs Bonjour. If it's a printer, audio or other non-Apple tool, check its maker's support pages before removing Bonjour.

4. How to Remove Bonjour mdnsNSP.dll Properly

Back to guide

If you don't need Bonjour, uninstall it like any other program. That removes mdnsNSP.dll and the Bonjour Service, so the warning should stop.

  1. Save your work and close the programs that use Bonjour.
  2. Select Start > Settings > Apps > Installed apps. Find Bonjour, select More (…) > Uninstall, and follow the steps. Windows 10: select Bonjour in Apps & features > Uninstall.
  3. Not there? Open Control Panel > Programs > Programs and Features, right-click Bonjour and select Uninstall (or Uninstall/Change).
  4. Restart your PC.

Why not just delete the folder? Bonjour's installer registers mdnsNSP.dll with Windows as a name lookup provider, and its uninstaller removes that registration (Microsoft's installer calls the file's own "unregister" step on uninstall, and Apple's code removes the entry there). Deleting the files by hand skips that step, so Windows can be left with an entry pointing at a file that's gone (section 6 shows how to check).

Expected result: Bonjour is gone from Installed apps and the LSA warning doesn't come back. If the uninstall fails, see How to Fix Programs That Won't Uninstall in Windows 10 and 11; Microsoft also offers its Program Install and Uninstall troubleshooter.

5. Need Bonjour? Repair or Reinstall the Apple Software That Uses It

Back to guide

If you use AirPlay, Home Sharing or a Bonjour printer and see errors naming mdnsNSP.dll, repair Bonjour first, then update the program that needs it.

  1. Open Control Panel > Programs > Programs and Features.
  2. Right-click Bonjour and select Repair, or Change if Repair isn't there, and follow the steps. Microsoft notes that not every program offers these options; if Bonjour shows neither, go to the next step.
  3. Update or reinstall the program that installed Bonjour, using the maker's latest version. For iTunes, Apple recommends the Microsoft Store version, an administrator account, the latest Windows updates and a restart if it won't install.

Expected result: the program finds your devices again. LSA protection still blocks mdnsNSP.dll from the LSA itself, so the warning can return. Microsoft says you can turn off future warnings for that file; do that rather than turning the protection off.

6. mdnsnsp.dll Errors or Network Problems After Removing Bonjour

Back to guide

If you see an error such as "mdnsnsp.dll not found" and Bonjour's files were deleted instead of uninstalled, Windows may still list mdnsNSP as a name lookup provider. Check first:

  1. Select Start, type cmd and open Command Prompt.
  2. Type netsh winsock show catalog and press Enter. It lists the network providers registered with Windows.
  3. Look through the Description lines for mdnsNSP. On the Windows 11 PC we checked, without Bonjour, only Microsoft's own entries were listed (Tcpip, NTDS, Bluetooth Namespace and others).

If mdnsNSP is listed but the Bonjour folder is gone: this is only worth fixing if you're seeing errors naming mdnsnsp.dll or have connection problems. Apple's code removes the mdnsNSP entry when Bonjour is uninstalled properly, so the likeliest way to clear it is to reinstall the program that came with Bonjour (section 3), then uninstall Bonjour the proper way (section 4). We haven't been able to test this ourselves. If you don't know the program, Apple's Bonjour Print Services download also includes Bonjour, but Apple only lists older Windows versions for it. Get it only from Apple, never from a DLL download site. Don't expect netsh winsock reset to remove the entry: Microsoft says that command doesn't affect name lookup ("Name Space Provider") entries.

For other connection problems, use Microsoft's steps:

  1. Select Search on the taskbar, type command prompt, and next to Command Prompt select Run as administrator > Yes.
  2. Run these in this order, pressing Enter after each: netsh winsock reset, netsh int ip reset, ipconfig /release, ipconfig /renew, ipconfig /flushdns. Then check whether your connection works.
  3. Still no connection? As a last step, use network reset: Start > Settings > Network & internet > Advanced network settings > Network reset (Windows 10: Status > Network reset), then Reset now > Yes.

Expected result: no mdnsNSP entry is left in the catalog and your connection works. More connection fixes: How to Fix "Can't Connect to This Network" in Windows 11 and 10.

Still Seeing mdnsNSP.dll? What to Try Next

Back to guide

  • The warning came back after you removed Bonjour: another program has most likely installed it again. Repeat section 3 and check what was installed most recently.
  • You think the file isn't genuine: run a quick scan in Windows Security > Virus & threat protection > Quick scan.
  • A different Windows security block: for "A driver cannot load on this device", see How to Fix "A Driver Cannot Load on This Device" (ene.sys).
  • It started after installing something new: System Restore takes Windows back to before the change. See How to Use a System Restore Point in Windows 11.
  • Nothing helped: contact Apple Support or the maker of the program that installed Bonjour.

Frequently Asked Questions

Why is Windows 11 blocking Bonjour?

Because of Local Security Authority (LSA) protection, which Microsoft says Windows 11 turns on by default. With it on, only plug-ins signed by Microsoft can load into the LSA, the part of Windows that handles sign-in. Bonjour's mdnsNSP.dll isn't signed by Microsoft, so Windows blocks it there and shows "This module is blocked from loading into the Local Security Authority".

Is Bonjour mdnsNSP.dll safe?

The genuine file is Apple's: it's the Bonjour Namespace Provider and lives in C:\Program Files\Bonjour or C:\Program Files (x86)\Bonjour. The LSA warning doesn't mean it's malware. If the file is somewhere else, or you're unsure, right-click it and select Scan with Microsoft Defender.

How do I remove Bonjour mdnsNSP.dll?

Uninstall Bonjour: Start > Settings > Apps > Installed apps, select More (…) next to Bonjour > Uninstall, then restart. Don't delete mdnsNSP.dll or the Bonjour folder by hand: the uninstaller also removes the file's registration with Windows, and deleting the file skips that step.

Do I need Bonjour on my PC?

Only if a program you use needs it. Apple uses Bonjour's network discovery for AirPlay, Home Sharing and finding printers, and other programs can include it too. If you don't know what installed it (section 3), you can uninstall it; if a feature stops working afterward, reinstall the program that needs it.

Should I disable LSA protection to stop the warning?

No. Microsoft offers a switch for it in Windows Security (Device security > Core isolation details), but LSA protection helps stop the theft of your sign-in credentials. Microsoft's suggested options are to remove the software that loads the file or to turn off future warnings for that file.

Can WinZip System Utilities Suite fix mdnsNSP.dll errors?

No. It doesn't restore or replace DLL files, change LSA protection or repair Windows' network settings. What it does: its Uninstall Manager removes programs such as Bonjour in one place, and its one-click scan includes Uninstall Cleanup, which finds files removed programs leave behind, and Driver Updater, which looks for outdated drivers. It isn't antivirus software.

How This Guide Was Checked

Written by
WinZip Team, December 2026.
First published
December 2, 2026
Sources reviewed

Speed Up Your PC With WinZip System Utilities Suite

  • Clean junk files and free up disk space
  • Update outdated drivers
  • Speed up startup
  • Optimize and defrag your drives
Download Now For Windows 11 and 10