mdnsNSP.dll blocked from loading into the Local Security Authority? How to fix it

The mdnsNSP.dll warning means Local Security Authority (LSA) protection stopped a file that is not signed with a Microsoft signature from loading into LSA, and the fix is to update or uninstall the Bonjour software that installed it.

This guide covers why Bonjour's mdnsNSP.dll is blocked, how to remove it, how to check the file's publisher and the block events, and why LSA protection should stay on.

mdnsNSP.dll blocked from loading into the Local Security Authority? How to fix it
The Program Compatibility Assistant names the blocked file, here Bonjour's mdnsNSP.dll in the Program Files Bonjour folder. (Image: Microsoft Q&A)

How to fix mdnsNSP.dll blocked from loading into the Local Security Authority

Microsoft's advice for this notification is to remove the software that loads the blocked file, or to turn off future warnings for that file. Removing Bonjour clears it for good.

  1. Select Start > Settings > Apps > Installed apps.
  2. Type Bonjour in the search box above the list.
  3. Select More (the three dots) next to Bonjour, then select Uninstall.
  4. Select Uninstall again to confirm and follow the prompts.
  5. Restart the PC.
  6. If you still need Bonjour, install the latest Bonjour version from the software that bundled it instead, and leave LSA protection turned on.

If you keep Bonjour and the notification returns, the block itself does no harm to Windows. LSA protection is doing its job by keeping the file out of the sign-in process.

Why is Bonjour mdnsNSP.dll blocked?

LSA is the Windows process that checks your credentials when you sign in and manages the tokens used for single sign-on. LSA protection only lets code into that process if it meets Microsoft's signing rules.

Rule What Microsoft states What it means for mdnsNSP.dll
Signature Any plug-in loaded into LSA must be digitally signed with a Microsoft signature A file signed only by its own publisher fails to load
Security process Plug-ins must also follow Microsoft's Security Development Lifecycle guidance Even a signed file can fail if it does not comply
Default state LSA protection is on by default; new installs turn it on immediately A fresh Windows 11 install blocks the file from the first boot
Upgrades Upgraded PCs turn it on after a five-day evaluation period and a restart The warning can appear days after a Windows upgrade
Notification When a file is blocked, a notification names the blocked file The message names mdnsNSP.dll
Your options Remove the software loading the file, or turn off future warnings for that file Uninstall or update Bonjour, or silence the warning

A blocked file is not proof of malware. It only means the file does not meet the signing rules for code that runs inside LSA.

mdnsNSP.dll: what is it?

The file name matches Bonjour, Apple's zero-configuration networking service. Bonjour uses multicast DNS (mDNS) to find printers and other devices on the local network without a DNS server.

Detail Value
Software it belongs to Bonjour, Apple's local network discovery service
Protocol Multicast DNS (mDNS)
Network port UDP 5353
Common source on Windows Apple software that bundles Bonjour, such as Bonjour Print Services
Why LSA sees it It tries to load into the LSA process, which requires a Microsoft signature
Similar file nimdnsNSP.dll, whose ni prefix points to NI software rather than Apple

Whether you need the Bonjour service depends on what you use it for.

How to remove mdnsNSP.dll from Control Panel

Some apps cannot be removed from the Settings app. Programs and Features in the classic Control Panel lists older desktop installers, including Bonjour.

  1. In search on the taskbar, enter Control Panel and select it from the results.
  2. Select Programs > Programs and Features.
  3. Right-click Bonjour and select Uninstall or Uninstall/Change.
  4. Follow the directions on the screen.
  5. Repeat for any other Bonjour entry, such as Bonjour Print Services, if you no longer use it.
  6. Restart the PC.

Removing Bonjour stops Bonjour-based printer and device discovery on that PC. Reinstall it later if a printer or app stops finding devices.

How to check which app installed mdnsNSP.dll

Check the file's publisher before you remove anything. This also tells you whether the notification is about Apple's Bonjour or another vendor's copy.

  1. Open File Explorer and select This PC.
  2. Type mdnsNSP.dll in the search box and press Enter.
  3. Right-click the file in the results and select Properties.
  4. Open the Details tab and read Product name and Copyright.
  5. Open the Digital Signatures tab, if it is present, to see who signed the file.
  6. Uninstall or update the app named there.

A file signed by its publisher but not by Microsoft still fails the LSA check. The signature tab confirms who made it, not whether LSA will accept it.

How to find mdnsNSP.dll block events in Event Viewer

Windows logs each file that LSA refuses in the Windows Event Viewer. These events show the exact path of the blocked mdnsNSP.dll.

  1. Right-click Start and select Event Viewer.
  2. Expand Applications and Services Logs > Microsoft > Windows > CodeIntegrity.
  3. Select Operational.
  4. Look for event ID 3033, logged when a process, usually LSASS.exe, tries to load a file that does not meet Microsoft signing level requirements.
  5. Look for event ID 3063, logged when the file does not meet the security requirements for shared sections.
  6. Open the event to read the full path of the blocked file.

Events 3065 and 3066 in the same log are audit-only versions. They mean the file would be blocked, but current policy still let it load.

mdnsNSP.dll block events: CodeIntegrity event 3033 in Event Viewer
Event ID 3033 in the CodeIntegrity Operational log names the process and the file that failed Microsoft signing level requirements. (Image: Microsoft Q&A)

Should you turn off LSA protection for mdnsNSP.dll?

No. Keep Local Security Authority protection on and deal with the Bonjour file instead. Microsoft describes LSA protection as a vital security feature that blocks untrusted code injection and memory dumping of the process that holds your sign-in credentials. Turning it off to let one networking file load trades credential protection for a warning that does no harm when left alone.

Microsoft's own option for a file you choose to keep is to turn off future warnings for that file, not to turn the protection off.

Turn off LSA protection warning under Core isolation in Device security
With LSA protection off, Windows Security warns under Core isolation that your device may be vulnerable. (Image: Microsoft Q&A)

How to tell if Local Security Authority protection is on

  1. Open the Windows Security app.
  2. Select Device security, then select Core isolation details.
  3. Check that the Local Security Authority protection toggle is On.
  4. For proof from the log, open Event Viewer and expand Windows Logs > System.
  5. Look for the WinInit event 12: LSASS.exe was started as a protected process with level: 4.

After you remove Bonjour and restart, the protection stays on and the mdnsNSP.dll notification no longer appears.

Check Local Security Authority protection from Device security in Windows Security
Select Core isolation details under Core isolation to see whether the Local Security Authority protection toggle is On. (Image: Microsoft)

mdnsNSP.dll blocked Windows 11 warning still appears

The warning returns after you uninstalled Bonjour

Another app still has its own copy of Bonjour, or the PC has not restarted since the removal.

  1. Restart the PC.
  2. Search This PC for mdnsNSP.dll in File Explorer.
  3. Open the remaining file's Properties > Details tab to see which product installed it.
  4. Update or uninstall that product.

This module is blocked: nimdnsNSP.dll

NI software installed its own multicast DNS file, which also lacks a Microsoft signature for LSA.

  1. Open the file's Properties to confirm the publisher.
  2. Check the publisher's support site for an updated version.
  3. Uninstall the NI component that installed it if you no longer need it.

Faulting module name: mdnsNSP.dll_unloaded

An app crash report names the Bonjour module, so the Bonjour component is the part to update or remove.

  1. Update the software that bundles Bonjour to its latest version.
  2. If the crashes continue, uninstall Bonjour from Settings > Apps > Installed apps.
  3. Restart the PC and run the app again.

mdnsNSP.dll blocked FAQ

Why is mdnsNSP.dll blocked?

Local Security Authority protection only loads plug-ins signed with a Microsoft signature. mdnsNSP.dll is not, so Windows blocks it from loading into LSA and shows a notification naming the file.

Why is Bonjour mdnsNSP.dll blocked on Windows 11?

LSA protection is on by default in Windows 11. New installs turn it on immediately, and upgraded PCs turn it on after a five-day evaluation period, so the Bonjour file is blocked after that restart.

How do I remove mdnsNSP.dll?

Uninstall Bonjour. Select Start > Settings > Apps > Installed apps, find Bonjour, select More > Uninstall, then restart. Programs and Features in Control Panel works too if Settings cannot remove it.

What is mdnsNSP.dll?

It is a file that comes with Bonjour, Apple's local network discovery service, which uses multicast DNS on UDP port 5353. Check the file's Properties > Details tab to confirm which product installed it on your PC.

Is it safe to ignore the mdnsNSP.dll blocked notification?

Yes. The block keeps the file out of the sign-in process and does not harm Windows. Microsoft lets you turn off future warnings for a blocked file if you choose to keep the software.

Does a blocked mdnsNSP.dll mean my PC has malware?

No. LSA protection blocks any plug-in that lacks a Microsoft signature, including legitimate software. The warning means the file fails the signing rules, not that it is malicious.

Should I turn off LSA protection to load mdnsNSP.dll?

No. Microsoft calls LSA protection a vital security feature that protects sign-in credentials. Remove or update Bonjour, or silence the warning for that file, and keep the protection on.

What is nimdnsNSP.dll?

It is a similarly named multicast DNS file with an NI prefix, installed by NI software rather than Apple. LSA blocks it for the same signing reason; update or remove the NI component that installed it.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *