{"id":2661,"date":"2024-01-30T11:07:38","date_gmt":"2024-01-30T09:07:38","guid":{"rendered":"https:\/\/itsimple.info\/?p=2661"},"modified":"2025-11-24T14:38:50","modified_gmt":"2025-11-24T12:38:50","slug":"hyper-v-virtual-switch-error-after-applying-setting-due-to-lbfo-deprecation-in-windows-server-2022","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=2661","title":{"rendered":"Hyper-V Virtual Switch error after applying setting due to LBFO deprecation in Windows Server 2022"},"content":{"rendered":"\n<p>In Windows Server 2022, the traditional LBFO (Load Balancing\/Failover) teaming mode is deprecated for Hyper-V virtual switches. when applying the new VM switch you can get this error : <\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"352\" height=\"275\" data-id=\"2662\" src=\"https:\/\/itsimple.info\/wp-content\/uploads\/2024\/01\/LBFO-deprecated.png\" alt=\"\" class=\"wp-image-2662\" srcset=\"https:\/\/itsimple.info\/wp-content\/uploads\/2024\/01\/LBFO-deprecated.png 352w, https:\/\/itsimple.info\/wp-content\/uploads\/2024\/01\/LBFO-deprecated-300x234.png 300w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/figure>\n<\/figure>\n\n\n\n<p> Instead, the recommended approach is to use Switch Embedded Teaming (SET). You can overcome this deprecation by using the New-VMSwitch PowerShell cmdlet with the appropriate parameters. Here&#8217;s the syntax for creating a virtual switch with NIC teaming using SET:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>New-VMSwitch -Name &lt;switch-name> -NetAdapterName \"NIC1\",\"NIC2\",\"NIC3\",\"NIC4\" -EnableEmbeddedTeaming $true -AllowManagementOS $true\n<\/code><\/pre>\n\n\n\n<p>For Example, creating Hyper-v switch called &#8220;VM Network&#8221; with 2 network cards (the name change in advance for clearance ): &#8220;VM-Team-1&#8221; +  &#8220;VM-Team-1&#8221; and without integration with the OS network :<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">New-VMSwitch -Name \"VM Network\" -NetAdapterName \"VM-Team-1\",\"VM-Team-2\" -EnableEmbeddedTeaming $true -AllowManagementOS $False<\/pre>\n\n\n\n<p>This command creates a new virtual switch with the specified name, binds it to the NIC team adapter, and enables embedded teaming for the virtual switch.<\/p>\n\n\n\n<p>The deprecation of LBFO teaming for Hyper-V virtual switches in Windows Server 2022 is a part of the transition to the more modern and flexible SET technology. By using the provided PowerShell command, you can effectively create a virtual switch with NIC teaming using the recommended SET approach.<\/p>\n\n\n\n<figure class=\"wp-block-pullquote has-vivid-green-cyan-color has-text-color has-link-color has-large-font-size wp-elements-913a8d28a4fab8f1d7b7023910a23e04\"><blockquote><p>Good Luck<\/p><\/blockquote><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In Windows Server 2022, the traditional LBFO (Load Balancing\/Failover) teaming mode is deprecated for Hyper-V virtual switches. when applying the new VM switch you can get this error : Instead, the recommended approach is to use Switch Embedded Teaming (SET). You can overcome this deprecation by using the New-VMSwitch PowerShell cmdlet with the appropriate parameters. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,21,4,12,18,14,15],"tags":[],"class_list":["post-2661","post","type-post","status-publish","format-standard","hentry","category-hyper-v","category-operating-systems","category-tech","category-tutorials","category-virtualization","category-windows","category-windows-server"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/2661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2661"}],"version-history":[{"count":4,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/2661\/revisions"}],"predecessor-version":[{"id":3070,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/2661\/revisions\/3070"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}