Add Virtual Network Adapter Windows 11 Jun 2026
Complete Guide: How to Add a Virtual Network Adapter in Windows 11 Adding a virtual network adapter in Windows 11 allows you to simulate a network connection without needing physical hardware. This is essential for developers testing local servers, IT professionals managing virtual machines, or users needing to isolate network traffic. Depending on your needs, there are two primary ways to do this: installing a Microsoft Loopback Adapter for the host system or configuring Virtual Machine adapters via Hyper-V. Method 1: Add a Loopback Adapter (Microsoft KM-TEST) The Loopback adapter acts as a virtual network card for your physical Windows 11 host. It is often used for local development or testing network-dependent applications without an active internet connection. How to create a Microsoft loopback adapter in Windows 11
There are two common reasons to do this:
Hyper-V Switch: To connect a Virtual Machine (VM) to the internet or a private network. Microsoft Loopback Adapter: To create a virtual network interface for software testing or networking simulations (when you don't have Hyper-V enabled).
Here are the methods for both.
Method 1: Creating a Virtual Switch (For Hyper-V / VMs) This is the standard method if you are using Virtual Machines (VirtualBox, VMware, or Hyper-V) and need them to access the network. Prerequisites: You must have Hyper-V enabled. If you are on Windows 11 Pro or Enterprise, you can enable it via Control Panel > Programs > Turn Windows features on or off > Hyper-V .
Press Windows Key + S and type Hyper-V Manager . Open the app. In the left-hand navigation pane, click on your computer name (the local server). In the right-hand "Actions" pane, click Virtual Switch Manager... . In the new window, under "Create virtual switch," select the type you need:
External: Allows the VM to connect to the physical network (Internet access). Internal: Allows traffic between the VM and the host (your PC) only. Private: Allows traffic only between VMs. add virtual network adapter windows 11
Click Create Virtual Switch . Give the adapter a Name (e.g., "External VM Switch"). If you chose External , select your physical network adapter from the drop-down list (e.g., your Wi-Fi or Ethernet card). Click Apply and then OK .
Windows will momentarily reset your network connection as it creates the virtual bridge. Your virtual adapter is now ready for your VMs.
Method 2: Installing the Microsoft Loopback Adapter Use this method if you need a "fake" network card for software development, testing firewalls, or legacy app support, but you aren't running full Hyper-V. Complete Guide: How to Add a Virtual Network
Press Windows Key + X and select Device Manager . Once Device Manager opens, click on your computer name at the very top of the device tree. Go to the top menu bar, click Action , and select Add legacy hardware . (Note: If you don't see the menu bar, you might need to click the "Show/Hide" icon or just press the Alt key to reveal menus). The "Add Hardware Wizard" will launch. Click Next . Select Install the hardware that I manually select from a list (Advanced) and click Next . Scroll down the list and select Network adapters , then click Next . Under "Manufacturer," select Microsoft . Under "Network Adapter," select Microsoft KM-TEST Loopback Adapter . Click Next , then Next again to confirm the installation. Click Finish .
You now have a virtual network adapter installed. You can see it by going to Settings > Network & Internet > Advanced network settings > More network adapter options .