Bonjour service on Windows11

This module is blocked from loading into the Local Security Authority

If you are on Windows 11, you might have seen this pop-up window, wondering what you did wrong or what just happened.

The file itself is located in the C:\Program Files\Bonjour folder.

Bonjour is a networking protocol developed by Apple Inc. that enables devices to automatically discover and connect with one another on a local network. It utilizes a combination of industry-standard protocols, including IP (Internet Protocol) and DNS (Domain Name System), to facilitate communication between devices without requiring manual configuration.

Once connected to the same network, devices like computers and printers can seamlessly exchange data and share resources.

ndnsNSP.dll is a Windows Network Service Provider component that integrates Bonjour into the Windows networking stack. It enables “zero-configuration” networking, allowing applications to automatically discover devices and resolve .local hostnames without manual setup.

Many programs, such as Adobe Creative Suite or printer software, install Bonjour as a background service to facilitate automatic device communication.

Should you disable it? Disabling the service is generally safe if you do not use local network discovery, network printing, or media streaming. However, doing so may cause dependent programs to lose connectivity or fail to find devices.

If you are unsure, disable it temporarily and re-enable it if network functionality is lost.

To disable the Bonjour service and its associated component (ndnsNSP.dll) on Windows, you can use the built-in Services manager. This is the safest method because it allows you to easily turn it back on if you notice any issues with printing or network discovery.

Method 1: Using Windows Services (Recommended)

  1.  Press Win + R on your keyboard, type services.msc, and press Enter.
  2.  Scroll down the list to find Bonjour Service.
  3.  Right-click it and select Properties.
                                                     Image made by the author

4. Change the Startup type to Disabled.

5. Click the Stop button to end the current session of the service.

6. Click Apply and then OK.

Method 2: Using Command Prompt (Faster)

If you prefer a quick command, you can do this via an Administrator Command Prompt:

  1.  Search for cmd in your Start menu, right-click it, and choose Run as Administrator.

2. Type the following command and press Enter to stop the service: sc stop "Bonjour Service"

3. Type the following command and press Enter to disable it: sc config "Bonjour Service" start= disabled

                                                           Image made by the author

The command returned with SUCCESS, and the service is now disabled.


Thank you for reading my article. Stay tuned for more articles on cybersecurity, bug bounty hunting, CTFs, and more.

Similar Posts

  • Backing up your data

    Jepp, you are correct. A quick Google search for your data backup will give you 49 million results. You will then wonder why I would write an article on Medium. I am creating this guide to simplify technical terminology, making it accessible to everyone. Whether using Windows or MacOS, you can easily understand how to…

  • Viruses, worms, and trojans

      1. Malware End devices such as computers, phones, tablets, and printers are particularly vulnerable to malware attacks. Therefore, this topic focuses on threats to end devices.Malware is short for malicious software or malicious code. It is code or software designed to damage, disrupt, steal, or inflict other “bad” or illegitimate actions on data, hosts, or networks.It is…

  • Digital Signature Using SHA-256 with RSA Encryption.

    Digital signatures are crucial in cryptography to ensure secure communication and data integrity. But how exactly do they work? A digital signature, implemented using SHA-256 with RSA encryption, is a secure method for verifying the authenticity and integrity of data. Here’s a detailed breakdown of how it works: Step1. Process Overview: Hashing with SHA-256: The…

  • Google Dorking

    Using Google for Advanced Searching What is Google Dorking? Google has a lot of websites that have been crawled and indexed. Your average Joe uses Google to look up Cat pictures (I’m more of a Dog person myself…). While Google will have many Cat pictures indexed and ready to serve to Joe, this is a…

  • EU Dora & How to be Compliant

    This is how to comply with the new EU regulation. Digital Operational Resilience Act  The Digital Operational Resilience Act (DORA) is an EU regulation that entered into force on 16 January 2023 and will apply as of 17 January 2025. Who Does DORA Apply To? DORA applies to Europe’s 22,000 financial entities and the ICT…