Microsoft Virtual WiFi Miniport Adapter: What Replaced It

·
7 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

The Microsoft Virtual WiFi Miniport Adapter shows up in Device Manager on older Windows machines, or you’ve stumbled on it while troubleshooting a driver error, and it’s not immediately obvious what it does or whether you still need it. The short answer: it’s a legacy feature from Windows 7 that’s been quietly replaced on modern Windows 10 and Windows 11 by Mobile Hotspot and Wi-Fi Direct.

What Is the Microsoft Virtual WiFi Miniport Adapter?

The Microsoft Virtual WiFi Miniport Adapter was Microsoft’s implementation of a technology called Wireless Hosted Network, introduced in Windows 7 and Windows Server 2008 R2. It worked by virtualizing your single physical Wi-Fi card into two logical adapters:

  • One adapter connected to your normal Wi-Fi network as usual
  • The second (the virtual miniport) acted as a software access point, letting other devices connect to your PC as if it were a router

This let you share a wired or wireless internet connection over Wi-Fi without any extra hardware. At the time, it was genuinely useful. The catch was that it required command-line setup and wasn’t officially documented. Microsoft treated it as a semi-hidden feature.

Does It Still Exist in Windows 10 and Windows 11?

Not really. On modern Windows 10 and Windows 11, the original Microsoft Virtual WiFi Miniport Adapter is deprecated and usually absent. If you open Device Manager today, you’re more likely to see Microsoft Wi-Fi Direct Virtual Adapter entries instead. That’s the newer underlying technology Windows uses for Mobile Hotspot, Miracast wireless display, and peer-to-peer connections.

The netsh wlan set hostednetwork command still exists on some builds, but running netsh wlan show drivers on a modern machine will typically return Hosted network supported: No, meaning the old miniport path is gone from that driver stack.

For almost every use case the old miniport covered, Windows now has a proper built-in replacement.

What Replaced It: Mobile Hotspot and Wi-Fi Direct

Option 1: Use Mobile Hotspot (Recommended for sharing your connection)

Mobile Hotspot is the direct, officially supported replacement for everything the Virtual WiFi Miniport Adapter’s hosted network feature did. No command line needed.

  1. Open Settings and go to Network & Internet > Mobile hotspot.
  2. Under Share my Internet connection from, choose your active connection. Select Wi-Fi, Ethernet, or a mobile connection if available.
  3. Click Edit to set a custom Network name (SSID) and Network password.
  4. Toggle Mobile hotspot to On.
Windows 11 Settings > Network & Internet > Mobile hotspot, showing the toggle switched On and the Edit button for network name and password

Windows creates and manages a Wi-Fi Direct virtual adapter behind the scenes, so you never have to touch it directly. Other devices will see your PC’s hotspot in their Wi-Fi list and can connect using the password you set.

Option 2: View or Disable the Microsoft Wi-Fi Direct Virtual Adapter

If you’re troubleshooting driver conflicts, a Code 31 error, or just want to see what virtual adapters are running on your system, Device Manager is where to look.

  1. Right-click the Start button and select Device Manager.
  2. Expand Network adapters.
  3. Click View > Show hidden devices, as some virtual adapters only appear when this is enabled.
  4. Look for Microsoft Wi-Fi Direct Virtual Adapter (there may be more than one listed).
  5. Right-click the adapter and choose Disable device to turn it off, or Uninstall device to remove it. Windows will recreate it automatically the next time a feature like Mobile Hotspot needs it.
Device Manager with Network adapters expanded, View > Show hidden devices enabled, and Microsoft Wi-Fi Direct Virtual Adapter visible with right-click context menu showing Disable device and Uninstall device options

Legacy Only: Setting Up a Hosted Network via Command Line (Windows 7 / Windows 8)

If you’re on an older machine still running Windows 7 or Windows 8, the original command-line method may still work, provided your driver supports it. These commands are deprecated and won’t work on most modern Windows 10/11 driver stacks.

First, check whether your hardware supports the hosted network feature:

  1. Open Command Prompt as Administrator (search for cmd, right-click, select Run as administrator).
  2. Run the following command:
    netsh wlan show drivers
  3. Look for the line Hosted network supported. If it says Yes, continue. If it says No, this method won’t work on your system.
Administrator Command Prompt showing output of "netsh wlan show drivers" with the "Hosted network supported : Yes" line visible

If your hardware supports it, create and start the hosted network:

  1. Run this command, replacing YourSSID and YourPassword with your chosen network name and password:
    netsh wlan set hostednetwork mode=allow ssid=YourSSID key=YourPassword
  2. Start the hosted network:
    netsh wlan start hostednetwork
  3. To check connection status and see how many clients are connected:
    netsh wlan show hostednetwork
  4. When you’re done, stop and disable it:
    netsh wlan stop hostednetwork
    netsh wlan set hostednetwork mode=disallow

You’ll also need to enable Internet Connection Sharing on your main adapter so connected devices can actually reach the internet. Go to Network & Sharing Center > Change adapter settings, right-click your main internet-connected adapter, select Properties > Sharing, and check Allow other network users to connect through this computer’s Internet connection. In the dropdown, select the virtual adapter (usually listed as Wireless Network Connection 2 or similar).

Windows 11 Network adapter Properties dialog open on the Sharing tab, with "Allow other network users to connect through this computer's Internet connection" checkbox checked and the Home networking connection dropdown visible

Fixing Common Virtual Adapter Errors

Fix #1: Reinstall the wireless driver to resolve Code 31 or driver errors

If Device Manager shows a yellow warning icon on the Microsoft Virtual WiFi Miniport Adapter or Microsoft Wi-Fi Direct Virtual Adapter, often with the message “This device is not working properly because Windows cannot load the drivers required for this device (Code 31)”, a driver reinstall usually clears it.

  1. Open Device Manager (right-click Start > Device Manager).
  2. Expand Network adapters.
  3. Right-click your main Wi-Fi adapter (not the virtual one) and select Uninstall device. Check the box to Delete the driver software for this device if it appears.
  4. After uninstalling, click Action > Scan for hardware changes. Windows will detect the adapter and reinstall the driver automatically.
Device Manager showing a Wi-Fi adapter with a yellow warning icon, right-click context menu open with "Uninstall device" highlighted

If the automatic driver doesn’t fix the Code 31 error, download the latest Wi-Fi driver directly from your laptop manufacturer’s support page (Dell, HP, Lenovo, ASUS, etc.) or from the chipset vendor (Intel, Qualcomm, Realtek, Broadcom) and install it manually.

Fix #2: Restore a missing Wi-Fi adapter after uninstalling the virtual adapter

If you uninstalled the virtual adapter and now your Wi-Fi has stopped working entirely, Windows should be able to detect and reinstall it.

  1. Open Device Manager.
  2. Click Action > Scan for hardware changes. Windows will attempt to rediscover and reinstall the Wi-Fi adapter and any associated virtual adapters.
  3. If the adapter still doesn’t appear, download and reinstall the Wi-Fi driver from your OEM’s support site.
  4. If Wi-Fi still doesn’t work after reinstalling the driver, use System Restore to roll back to a point when Wi-Fi was working: search for Create a restore point in the Start menu, click System Restore, and follow the prompts.
Device Manager with Action menu open, showing "Scan for hardware changes" option

Fix #3: Run the Network troubleshooter

If you’re not sure whether the virtual adapter is causing a broader Wi-Fi problem, Windows’ built-in troubleshooter can catch obvious driver and configuration issues automatically.

  1. Open Settings > System > Troubleshoot > Other troubleshooters.
  2. Click Run next to Internet Connections.
  3. Follow the on-screen prompts. If the troubleshooter finds a driver problem, let it apply the fix automatically.
Windows 11 Settings > System > Troubleshoot > Other troubleshooters, with "Internet Connections" visible and its Run button highlighted

Quick Reference: Old vs. New

FeatureWindows 7 / 8 (Legacy)Windows 10 / 11 (Current)
Virtual adapter nameMicrosoft Virtual WiFi Miniport AdapterMicrosoft Wi-Fi Direct Virtual Adapter
Share internet as Wi-Fi hotspotnetsh wlan set hostednetwork + ICSSettings → Mobile Hotspot
Setup methodCommand line (deprecated)Settings UI (supported)
Peer-to-peer / MiracastAd-hoc network via miniportWi-Fi Direct virtual adapter
Manage in Device ManagerYes (visible by default)Yes (may need Show hidden devices)

Conclusion

For anyone on Windows 10 or Windows 11, Mobile Hotspot in Settings is the right tool. It’s stable, officially supported, and takes about 30 seconds to set up. If you’re seeing driver errors related to the Microsoft Wi-Fi Direct Virtual Adapter, reinstalling your Wi-Fi driver from your OEM’s site (Fix #1) resolves it in most cases. The legacy Virtual WiFi Miniport Adapter is worth knowing about for historical context or if you’re supporting an older Windows 7/8 machine, but it has no role on a modern Windows system.