mdnsNSP.dll - This module is blocked from loading into the Local Security Authority

On clean installation of MS Windows 11 Pro. 24H2 with latest iTunes 12.13.4.4 64-bit, after user logs into Windows the following message is displayed by Program Compatibility Assistant:

This module is blocked from loading into the Local Security Authority.
\Device\HarddiskVolume3\Program Files\Bonjour\mdnsNSP.dll


Obviously, the DLL belongs to Bonjour component of iTunes.


In Core Isolation settings I see that Local Security Authority protection is enabled.


On https://support.microsoft.com/en-gb/windows/core-isolation-e30ed737-17d8-42f3-a2a9-87521df09b78 I read:

Local Security Authority (LSA) protection is a Windows security feature to help prevent the theft of credentials used for signing into Windows.

The Local Security Authority (LSA) is a crucial process in Windows involved in user authentication. It’s responsible for verifying credentials during the login process and managing authentication tokens and tickets used to enable single sign-on for services. LSA protection helps prevent untrusted software from running inside LSA or from accessing LSA memory.

LSA protection is turned on by default on new installs of Windows 11 version 22H2 and 23H2 on enterprise managed devices. It’s turned on by default on all new installs of Windows 11 version 24H2 and later.


So, mdnsNSP.dll is regarded as an untrusted software regarding LSA.


I hope someone from Apple will listen to it and fix the issue.


-- rpr.

Posted on Dec 2, 2024 1:22 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 2, 2025 2:27 AM

Short summary on this one as problem still exists: Since Local Security Authority (LSA) protection is on per default starting with Windows 11 24H2, this prompt will appear. Bonjour might be installed through iTunes or other third-party software (like Printix that simulates AirPrint). Only fix so far, is an uninstallation (if not needed any more). If needed, there is no solution. Also, Microsoft does not offer policies to define exclusions. Turning of LSA can't be seen as acceptable solution.

In the end, Apple needs to fix their Bonjour DLL. Currently, it is not fulfilling the requirements defined by Microsoft like "digitally signed with a Microsoft signature": Configure added LSA protection | Microsoft Learn

Similar questions

27 replies
Question marked as Top-ranking reply

Mar 2, 2025 2:27 AM in response to rpremuz

Short summary on this one as problem still exists: Since Local Security Authority (LSA) protection is on per default starting with Windows 11 24H2, this prompt will appear. Bonjour might be installed through iTunes or other third-party software (like Printix that simulates AirPrint). Only fix so far, is an uninstallation (if not needed any more). If needed, there is no solution. Also, Microsoft does not offer policies to define exclusions. Turning of LSA can't be seen as acceptable solution.

In the end, Apple needs to fix their Bonjour DLL. Currently, it is not fulfilling the requirements defined by Microsoft like "digitally signed with a Microsoft signature": Configure added LSA protection | Microsoft Learn

May 3, 2025 10:05 PM in response to rpremuz

I had the exact same issue (on Windows 11), and it was a real headache. I couldn’t resolve the problem despite trying everything—reinstalling iTunes, updating, cleaning the system and registry, installing the Windows Store version, the desktop version, older versions, etc. Nothing worked.


Finally, I found a working solution:


  • Uninstall the Bonjour service (no need to uninstall iTunes if you already have the latest version): Go to Control Panel > Programs and Features or Settings > Installed Apps > Locate and uninstall Bonjour.
  • Download Bonjour manually from the official Apple site:


Download Bonjour Print Services for Windows v2.0.2 - Apple Support


  • Reboot your system.


That worked for me — while all other solutions failed.



Mar 25, 2025 4:58 AM in response to Wheelbarrow74

Yes, adding "mdnsNSP.dll" under this registry key activates Bonjour as Security Package and allows access to the Local Security Authority what removes the security warning: Restrictions around Registering and Installing a Security Package - Win32 apps | Microsoft Learn


Downside: This gives the DLL the ability to access access plaintext passwords of authenticated users. This mechanism is commonly exploited for credential theft. From my point of view, giving the "old" Bonjour DLL such high privileges creates a bad gut feeling and can be seen as security risk.

Jan 22, 2025 4:16 AM in response to rpremuz

Also played around with Bonjour as separate installer. The current version is 3.1.0.1 from 2015 (extracted from iTunes installer). Also found: Download Bonjour Print Services for Windows v2.0.2 - Apple Support which gives you an even older version...

Updates to and reinstallation of version 3.1.0.1 do not fix the LSA warning.



My summary: Uninstall Bonjour (if not needed) or hope to get an updated version.

Mar 17, 2025 2:26 AM in response to rpremuz

FWIW : here is what happened to me. I had NO current Apple products or software installed on my freshly built Windows 11 PC. Or so I thought. Got the Bonjour mdndnsp.dll blocking message as well (right after the 24H2 installatione). Turned out to be a Spotify plugin that was causing this behaviour on mine. Went to the installed apps and sure enought, somehow Bonjour was installed with Spotify? Just my 2cts if anyone (like me) was wondering what an Apple service was doing on my kit.

May 6, 2025 2:57 AM in response to rpremuz

Here is a solution to disable the warning:


https://community.rsa.com/s/article/RSA-MFA-Agent-2-3-4-DLL-error-on-Windows-11-24H2


Resolution

RSA Engineering is working on a solution and will provide updates soon. In the meantime, we recommend avoiding the upgrade to Windows 11 24H2 patch until RSA provides an update.

 

In case the Windows machine is already updated to Windows 11 24H2, follow the steps below to disable Local Security Authority (LSA) and restore MFA agent functionality.

Workaround

Disable Local Security Authority (LSA)

Steps to disable using Local Group Policy on Windows 11 version 24H2 and later:

  1. Open the Local Group Policy Editor by entering gpedit.msc.
  2. Expand Computer Configuration > Administrative Templates > System > Local Security Authority.
  3. Open the Configure LSASS to run as a protected process policy.
  4. Set the policy to Disable.
  5. Restart the machine 


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

mdnsNSP.dll - This module is blocked from loading into the Local Security Authority

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.