How to Disable UPnP in Windows 11

Published by Nyau Wai Hoe - Updated on

Universal Plug and Play (UPnP) is a way for devices on a network to find each other and share resources without any action on your side. It makes connecting devices and forwarding ports much easier, but it can also open doors for many security problems. In this guide, we’ll talk about why turning off UPnP can sometimes be something you should do and show you how to disable it on Windows 11.

Also see: 30+ Windows 11 Services to Disable for Gaming Performance

How to Disable UPnP in Windows 11

The risks of having UPnP enabled all the time

UPnP makes port forwarding and communication between devices easier and automatic, but it’s not always a good practice. The following are some problems that UPnP can cause when left enabled:

  1. UPnP doesn’t check who’s trying to connect, so any device can hop on and mess with your devices.
  2. It can open up pathways in your router all by itself, which might let hackers sneak in and steal your data.
  3. Since every device might do UPnP differently, there could be weak spots that hackers can use to break into your network.
  4. Internet of Things (IoT) devices love UPnP for easy setup, but their security isn’t always strong and they are often the easy targets.

Because of these issues, turning off UPnP can, in a sense, help keep your network and personal info safe.

Recommended guide: How to Disable Proxy Settings in Windows 11/10 Permanently

Disabling UPnP in Windows 11

Method 1: Using the Services application

Here’s how to stop UPnP on your Windows 11 PC using the Services app:

  1. Open the Services app: Press Win + R, type services.msc, and click OK.Open services.msc in Run Windows 11
  2. Find the SSDP Discovery Service: This service handles UPnP in Windows.
  3. Turn off the SSDP Discovery Service: Right-click it, choose Properties, set Startup type to Disabled, stop it if it’s running, and hit OK.Disable SSDP Discovery service in Windows 11
  4. Find the UPnP Device Host service: This service lets your PC host UPnP devices.
  5. Turn off the UPnP Device Host service: Right-click, go to Properties, set to Disabled, stop it if needed, and click OK.Disabling UPnP Device Host Service Windows 11
  6. Close the Services window.

Related resource: How to Disable VPN in Windows 11

Method 2: Using the Registry Editor

You can also turn off UPnP using the Registry Editor, but be careful because messing up the registry can cause very serious problems. Always create a system restore point or back up your registry first.

  1. Open the Registry Editor: Press Win + R, type regedit, and click OK. If asked, say Yes.Open Registry Editor
  2. Go to the SSDP Discovery Service key:
  3. Change the Start value: Double-click Start, set it to 4 (Disabled), and hit OK.How to Disable Universal Plug and Play using Registry Editor
  4. Go to the UPnP Device Host service key:
  5. Change the Start value: Double-click Start, set it to 4, and click OK.Disable UPnP via Regedit Windows 11
  6. Close the Registry Editor.
  7. Restart your PC.

More ways to keep your network safe

Turning off UPnP on Windows 11 is a good start to better protect your home network. But, there’s more you can do to make it even safer. The following are things you should consider:

  1. Make sure your router’s software is always the latest. This helps fix security weak spots.
  2. Change your router’s factory-set login info to something only you know. This keeps strangers out.
  3. If you can, turn on WPA3 encryption for your Wi-Fi. It’s the newest and most secure. If not, WPA2 is still good.
  4. Turn off the option to change your router settings over the internet. This stops hackers from messing with your network from far away.
  5. Use a really strong Wi-Fi password. Make it something unique and tough to guess.
  6. Set up a separate Wi-Fi for guests. It can keep your main network safer.
  7. Don’t use Wi-Fi Protected Setup (WPS). It’s meant to make connecting devices easy, but it can also make it easy for hackers.
  8. Keep all your devices and drivers updated. This closes loopholes hackers might exploit.
  9. Adding a firewall to your network is like having a guard. It watches for trouble coming in or going out and stops it.
  10. Think about using a VPN. It scrambles your internet traffic, making it hard for hackers to spy on you.

What you might miss without UPnP

Before disabling UPnP, I think it’s important that you know what you might miss without UPnP. It’s pretty much about making things easier for you. UPnP helps your devices to find each other and communicate without any work from your end. This comes in very handy when you’re setting up things like printers, gaming consoles, and all those smart gadgets at home quickly. Without UPnP, you might end up having to manually input the settings, which is usually quite time-consuming.

However, having UPnP enabled means you might have certain security risks in your network. Though, most people actually neglect this and keep their UPnP on all the time. If you value your security more and you don’t actually use UPnP at all, you might want to just turn it off.

Categories: NetworkWindows 11

Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link