Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » Network | Monitoring » How to Create Hyper-V Virtual Switch
  • nonRDP admin
    Allow RDP access for non administrators: Add User to Remote Desktop Users Group in Active Directory Windows Server
  • create a new Azure SQL Database
    How to create a new Azure SQL Database [PaaS] AWS/Azure/OpenShift
  • image 81
    How to Deploy Dynamic Website to AWS EC2 AWS/Azure/OpenShift
  • Lets Encryp
    How to install Let’s Encrypt Certificates with IIS on a Windows Server Windows
  • fdsdsd
    Configuring DHCP Scope: Post-deployment of Dynamic Host Configuration Protocol Windows Server
  • Using the Command Prompt to add and modify the Windows registry
    How to add and modify the Windows Registry from the Command Prompt Windows
  • Screenshot 2020 05 13 at 23.07.56
    ENA Driver on Amazon EC2: Easy Installation Guide AWS/Azure/OpenShift
  • Domain
    Connectivity to a writable domain controller from a node could not be determined because of an error Virtualization

How to Create Hyper-V Virtual Switch

Posted on 12/11/202307/08/2024 Imoh Etuk By Imoh Etuk No Comments on How to Create Hyper-V Virtual Switch
Hyper-V Virtual Switch

In this post, I show you how to create a virtual switch for your Hyper-V virtual machine. Hyper-V is Microsoft’s hardware virtualization tool that is included as a feature in Windows Server, Windows 10/11 Pro, and Enterprise editions. They run on a physical machine and access computing resources through software called a hypervisor. Most organizations use Hyper-V to deploy virtual machines on a computer for enterprise use. This makes the use of third-party tools such as VMWare or Oracle VirtualBox redundant in most cases.

Hyper-V provides users with the opportunity to create and run a software version of a computer known as a virtual machine. Virtual machines are virtualized instances of a computer that can perform almost all of the same functions as normal computers.

Creating Hyper-V Virtual Switch is required if your Hyper-V network adapter is not connected and you are seeing the “No internet access” prompt on your VM. This is caused by the misconfigurations of the virtual machine.

In this case, the network adapter in the virtual machine settings will report “No connected,” as shown below. It is also easy to increase Disk Size in Hyper-V. If you also Stuck in Stopping State, it also easy to fix it. Hyper-V makes it easy to clone a Virtual Machine via Export and Import.

1-1-Network-Adapter-not-connect
Virtual Machine Network Adapter Not connected

At this point, the Hyper-V virtual machine will report no internet access. This will impact the VM users, as they will not be able to use the internet on the virtual machine. The solution is to create a virtual switch from the Hyper-V virtual switch manager and attach it to the virtual machine.

1-VM-With-No-Internet
Not Internet Access

Create Hyper-V Virtual Switch

The only thing that can resolve the above issue is creating a virtual switch. To create a virtual switch, follow the below steps:

See also how to install and configure Hyper-V Cluster On Windows Server via PowerShell and Server Manager, and Hyper-V Server Core Mode: How to install free Hyper-V Server on a VMware Workstation.

Step 1: Open the Hyper-V Manager

2-0-select-hyper-v
Opening Hyper-V Manager

From the right-side menu, select Virtual Switch Manager.

3-select-virtual-switch-manager
Open Hyper-V Virtual Switch Manager

You may want to see how to fix “An error occurred while attempting to connect to the server: Check if the Virtual Machine Management service is running or you are not authorized to connect to this server“, and How does Key Rotation work in MBAM?

Step 2 – Create a Virtual Switch

On the right side, under the section Create virtual switch, select External, then click on Create Virtual Switch.

4-create-virtual-switch
Creating A virtual Switch

Here are a few things you should know about the Hyper-V virtual switch. It is divided into three categories, i.e. External, Internal and Private. See their explanations below:

External - creates a virtual switch that binds to the physical network adapter so that virtual machines can access a physical network

Internal - creates a virtual switch that can be used only the virtual machines that run on this physical computer, and between the virtual machines and the physical computer. An internal virtual switch doesn't provide connectivity to a physical nnetwork connection. 

Private - creates a virtual switch that can be used only by the virtual machines that run on this physical computer

Also, see “Enable HyperV on Windows: How to install Windows 11 on HyperV“, how to install and Configure Hyper-V on Windows Server on Windows Server 2019, and 2022 via the Server Manager, PowerShell or DISM.

Step 3 – Specify the name

In this step, you need to specify a unique for your Hyper-V Virtual Switch. The name specified here is External Switch. Make sure you check the External Network radio button and check the “Allow management operating system to share this network adapter.”

5-Specify-the-name-for-virtual-switch
Configuring Virtual Switch

From the above screen, select the newtork switch of your computer that you want to create the virtual switch from, and then click Apply and Ok to complete it.

6-click-on-Okay-to-finish
Finishing the Virtual Switch Creation

Please see Fast user switching: How to create a desktop shortcut in Windows 10 to switch User Accounts, how to install and Configure Hyper-V on Windows Server on Windows Server 2019, and 2022 via the Server Manager, PowerShell or DISM.

Step 4 – Assign the Virtual Switch to the Virtual Machine

To assign the virtual switch to the virtual machine, select the VM to which you wish to attach the virtual switch you just created. Then, from the left-menu of the VM, select Settings

7-Select-the-template-and-attach-the-virtual-switch

This will open a new window. In the new window, select the name of the virtual switch created above, click Apply, and then click Ok to attach it.

8-Select-the-external-switch-name-1
Attaching Virtual Switch to a VM

Now check the virtual machine to see that there is network access as shown below:

9-VM-now-Has-Network-Access
Network Access on the VM

In conclusion, Hyper-V is a virtualization platform that allows organizations to run multiple virtual machines (VMs) on a single physical server. Overall, Hyper-V is a powerful and flexible virtualization platform that can provide a number of benefits to organizations of all sizes.

In short: Hyper-V can help organizations to save money, improve efficiency, and enhance security.

I hope you found the post on Create Hyper-V Virtual Switch useful. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Network | Monitoring, Virtualization, Windows, Windows Server Tags:Hyper-V

Post navigation

Previous Post: How does Key Rotation work in MBAM?
Next Post: Install BitLocker on Windows Server via the Server Manager

Related Posts

  • create a two-way Active Directory Trust
    How to create a two-way Active Directory Trust Windows Server
  • Lockout7
    Change Account Lockout Threshold for Local Accounts in Windows: The reference account is locked Windows
  • Remote desktop
    Is RDP enabled? Enable and disable Remote Desktop in Windows 10 for all users or selected users Windows
  • how to fix the sorry this file type is not permitted for security reasons error in wordpress 5e4a5632967c7
    Error 1707: Network address invalid when trying to connect remotely Windows
  • screenshot 2020 05 03 at 18.30.44
    How to Activate Cisco ASA 5505 License Network | Monitoring
  • banner 6
    How to Set a Static IP Address in Windows 11 Windows

More Related Articles

create a two-way Active Directory Trust How to create a two-way Active Directory Trust Windows Server
Lockout7 Change Account Lockout Threshold for Local Accounts in Windows: The reference account is locked Windows
Remote desktop Is RDP enabled? Enable and disable Remote Desktop in Windows 10 for all users or selected users Windows
how to fix the sorry this file type is not permitted for security reasons error in wordpress 5e4a5632967c7 Error 1707: Network address invalid when trying to connect remotely Windows
screenshot 2020 05 03 at 18.30.44 How to Activate Cisco ASA 5505 License Network | Monitoring
banner 6 How to Set a Static IP Address in Windows 11 Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • nonRDP admin
    Allow RDP access for non administrators: Add User to Remote Desktop Users Group in Active Directory Windows Server
  • create a new Azure SQL Database
    How to create a new Azure SQL Database [PaaS] AWS/Azure/OpenShift
  • image 81
    How to Deploy Dynamic Website to AWS EC2 AWS/Azure/OpenShift
  • Lets Encryp
    How to install Let’s Encrypt Certificates with IIS on a Windows Server Windows
  • fdsdsd
    Configuring DHCP Scope: Post-deployment of Dynamic Host Configuration Protocol Windows Server
  • Using the Command Prompt to add and modify the Windows registry
    How to add and modify the Windows Registry from the Command Prompt Windows
  • Screenshot 2020 05 13 at 23.07.56
    ENA Driver on Amazon EC2: Easy Installation Guide AWS/Azure/OpenShift
  • Domain
    Connectivity to a writable domain controller from a node could not be determined because of an error Virtualization

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,839 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.