OSDeploy | Sune Thomsen
TwitterLinkedInWindows 365 CommunityMVP ProfileGitHub
  • Home
  • Blog
    • Microsoft Intune
      • How to migrate BitLocker key(s) from all fixed drives to Microsoft Entra ID.
      • Migrate Bitlocker Recovery Key(s) to Azure AD with Proactive Remediation
      • Migrate imported GPOs to Intune with Group Policy analytics (preview)
      • Group Policy analytics (preview) made a bit easier with PowerShell
      • Analyze on-premises GPOs with MEM Group Policy Analytics (preview)
    • Virtual Machine
      • Fix the Hyper-V virtual switches after updating to Windows 11 (22H2)
    • 🆕Windows 365
      • 🆕Windows 365 Boot: Why User-Driven Mode?
      • 🆕Enhancing Security With Intune MAM (preview) for Windows 365
      • The Concept of Windows 365 Switch
      • The Concept of Windows 365 Boot
      • The Concept of Windows 365 Frontline
      • Move Cloud PCs to a new Azure Region or Azure Network Connection
      • Windows 365 End-User Experience (Tips & Tricks) – Part 4. Windows 365 app and Cloud PC reporting
      • Windows 365 End-User Experience (Tips & Tricks) – Part 3. Multimedia Redirection
      • Windows 365 End-User Experience (Tips & Tricks) – Part 2. Teams Optimization, SSO, and Localization
      • Windows 365 End-User Experience (Tips & Tricks) – Part 1. Connection experience
      • How to Configure Windows 365 Azure AD Join Single Sign-on (SSO)
      • Keep Windows 365 current and stay current with Windows Autopatch
      • Provide the end-users with a localized Windows 365 Cloud PC experience
      • How to configure Windows 365 Enterprise Azure AD join
      • How to secure Windows 365 using a FIDO2 security key
      • Prevent sensitive information from being captured on Windows 365 CPCs
      • Manage local administrator rights on Windows 365 Cloud PCs.
      • How to create a custom image for Windows 365 Enterprise Cloud PCs
      • How to reprovision existing Cloud PC (Windows 365) to Windows 11
      • How to configure Windows 365 Enterprise in Microsoft Endpoint Manager
  • Archive
    • Deployment
      • OSDCloud: The ZTI Way
      • OSDBuilder: WinPE Customization
    • Microsoft Configuration Manager
      • ConfigMgr: Run "All" Client Actions During OSD
      • ConfigMgr: WIM Your Applications Like a Boss
      • ConfigMgr: Deploy UWP Applications During OSD
      • ConfigMgr: Building a Basic LAB Environment
        • Part 1 - Installing Windows 10 (1909) on the Host
        • Part 2 - The Host and Hyper-V Configuration
        • Part 3 - Setting up the Domain Controller
          • Active Directory
          • DHCP
          • DNS
        • Part 4 - Setting up Microsoft Endpoint Configuration Manager
          • Prerequisites
          • SQL
        • Part 5 - Setting up Discovery Methods and Boundaries
        • Part 6 - Setting up Software Update Point
      • ConfigMgr: Splash Screen for Driver and BIOS Update
      • ConfigMgr: Global Conditions for Dell WD15 Dock Detection
    • Microsoft Intune
      • Block personally owned devices in Intune with enrollment restrictions
      • Remove Windows 10 built-in apps with Intune & Microsoft Store for Business Apps
    • Windows
      • Win10: Multi-Language Toast Notifications
        • Toast Notification: Low Disk Space
  • Links
    • Blogs
    • Microsoft
    • Scripts
Powered by GitBook
On this page
  • BEFORE YOU BEGIN
  • Introduction
  • Okay, what’s going on with those virtual switches?
  • How to fix the broken virtual switches
  • Bonus info – Re-enable the processor resource control feature
  • Summary

Was this helpful?

  1. Blog
  2. Virtual Machine

Fix the Hyper-V virtual switches after updating to Windows 11 (22H2)

01-06-2023 7:55 PM

PreviousVirtual MachineNextWindows 365

Last updated 9 months ago

Was this helpful?

BEFORE YOU BEGIN

Disclaimer: All information and content in this blog post is provided without any warranty whatsoever. The entire risk of using this information or executing the provided content remains with you. Under no circumstances should the mentioned persons or vendors, the author, or anyone else involved in creating these blog posts be held liable for any damage or data loss.

Introduction

Are you running Hyper-V on your Windows 11 device, and are the virtual switches broken after installing the Windows 11 version 22H2 feature update? – Then read this small post, as it might help you fix the issue. Last night I noticed that the Windows 11 version 22H2 feature update was available on a device that I use for pretty much everything in my daily life, including a Hyper-V lab environment. So, I went ahead and installed the feature update, and everything seemed to be okay afterward (Phew! What a relief…). But that was until I turned on my lab environment and noticed that none of my VMs had Internet connectivity.

Okay, what’s going on with those virtual switches?

So, the first thing I had to confirm was that the virtual switches had not been changed or deleted during the feature update, and thank goodness, it turned out that they were still present in Hyper-V Manager.

Okay, what’s going on then? – Well, let’s find out! Luckily, this is not my only lab environment! So, I started an investigation by comparing the virtual switches with those in another lab environment, which led to the discovery of a switch extension called “Microsoft Azure VFP Switch Filter Extension“. I suspect that the feature update has caused the “Microsoft Azure VFP Switch Filter Extension” to be enabled!

How to fix the broken virtual switches

The fix is pretty easy! Just untick the Microsoft Azure VFP Switch Filter Extension for each virtual switch. Type Hyper-V in the search line next to the start button and click Hyper-V Manager.

Next, right-click on the Hyper-V Server and select Virtual Switch Manager…

Expand the Virtual Switches and select Extensions. Untick the Microsoft Azure VFP Switch Filter Extension and click OK.

Click Yes if you see the below warning.

Now, reboot your VMs, and that’s it! – Everything should now function as normal again. Awesome!

Bonus info – Re-enable the processor resource control feature

After installing the feature update, I noticed that the feature processor resource control had been disabled.

Run the below command if you want to re-enable this feature.

bcdedit /set hypervisorschedulertype classic

Reboot the device hosting your Hyper-V environment to complete the re-enablement of this feature.

Summary

In this blog post, you learned how to fix your Hyper-V virtual switches if they broke during the Windows 11 version 22H2 feature update. I hope this can help others, so they don’t have to spend time investigating this issue. That’s it, folks. Happy fixing! If you have any questions regarding this topic, please feel free to reach out to me.

Note: In Windows Server 2016, HNVv2 is implemented using the Azure Virtual Filtering Platform (VFP) which is a NDIS filtering extension within the Hyper-V Switch. –

Note: Hyper-V host CPU resource controls introduced in Windows Server 2016 or later allow Hyper-V administrators to better manage and allocate host server CPU resources between the “root”, or management partition, and guest VMs. –

See the Hyper-V Network Virtualization Technical Details in Windows Server
See the Hyper-V Host CPU Resource Management
Page cover image
Hyper-V Virtual Switches.
Hyper-V Virtual Switches.
Windows 11 version 22H2.
Hyper-V Manager.
Hyper-V Virtual Switches.
VM with no internet connectivity.
Hyper-V Virtual Switches.
Hyper-V Virtual Switches.
Hyper-V Virtual Switches.
VM with internet connectivity.
Hyper-V VM settings.
Enable processor resource controls feature.
Hyper-V VM settings.