Browsed by
Category: Hyper-V

Configure Hyper-V NAT Virtual Switch and NAT Forwarding

Configure Hyper-V NAT Virtual Switch and NAT Forwarding

Windows Server 2016 and Windows 10 adds the native ability for a NAT forwarding Hyper-V switch. This is really handful software-defined networking (SDN) or even lab environment. By default, there is no inbound access from the LAN to the virtual machines that are connected to an NAT-enabled (Internal) virtual switch. And you might want to access isolated virtual machines in your lab through RDP with your laptop. Actually, the old way was to create a specific virtual machine in this…

Read More Read More

Windows Server 2016 Hyper-V Checkpoints

Windows Server 2016 Hyper-V Checkpoints

Checkpoints enable you to capture point-in-time snapshots of a VM. This gives you an easy method of quickly restoring to a known working configuration, making them useful before installing or updating an application. When a checkpoint is created, the original VHD becomes read-only, and all changes are captured in an AVHD file. Conversely, when a checkpoint is deleted, the contents of the AVHD are merged with the original disk, which becomes the primary writable file. Prior to Windows Server 2016,…

Read More Read More

Perform Remote Management of Hyper-V Hosts

Perform Remote Management of Hyper-V Hosts

Performing remote management of Hyper-V hosts within the same domain simply requires the permissions or delegation discussed in this previous article. However, managing a Hyper-V server that is in a Workgroup is slightly more complicated. First, the Hyper-V server must have PowerShell remoting enabled. This is easily accomplished by running the Enable-PSRemoting cmdlet. The second task on the Hyper-V host is to enable the WSMan credential role as a server. To accomplish this, run the following command:

The more complicated…

Read More Read More

Enable Nested Virtualization on Hyper-V and Windows Server 2016

Enable Nested Virtualization on Hyper-V and Windows Server 2016

As you should know, through the latest version of Hyper-V coming with Windows Server 2016 & Windows 10 you can enable Nested Virtualization, which means you can install Hyper-V role on a Hyper-V virtual machine. But in order to activate this functionality you need to meet some requirements, otherwise you will face this kind of error. Dynamic Memory must be disabled on the virtual machine containing the nested instance of Hyper-V VM must have more than 1 vCPU MAC address…

Read More Read More

Manage Virtual Machines Using Windows PowerShell Direct

Manage Virtual Machines Using Windows PowerShell Direct

Coming with Windows Server 2016, PowerShell Direct is a new feature which gives you a way to run Windows PowerShell commands in a VM from the host. Windows PowerShell Direct runs between the host and the VM. This means it doesn’t require networking or firewall requirements, and it works regardless of your remote management configuration. Windows PowerShell Direct works much like remote Windows PowerShell except that you do not need network connectivity. To connect to the VM from a host,…

Read More Read More

Delegate Virtual Machine Management in Hyper-V

Delegate Virtual Machine Management in Hyper-V

The most simple and effective method of enabling others to manage Hyper-V and virtual machines is to add them to the Hyper-V Administrators local security group for each of the Hyper-V hosts to which you plan to delegate management. However, this might not be the most secure method because doing so gives the new administrators permissions to change virtual switch and host settings in addition to VMs. To delegate access to individual VMs, you need to modify the Hyper-V Authorization…

Read More Read More

Error: Failed while creating virtual Ethernet switch

Error: Failed while creating virtual Ethernet switch

If you encounter the error Failed while creating virtual Ethernet switch¬†with Invalid class string as an explanation, it means that you need to repair some DLL on your OS. To resolve this issue you will have to use System File Check tool that is built into the Operating System to look for system file corruption. (Keep in mind it is always a good idea to have a backup of your data). Follow these steps to launch the repair process: Start…

Read More Read More

Install Hyper-V role on an Hyper-V VM

Install Hyper-V role on an Hyper-V VM

In order to avoid the error message when you try to install Hyper-V role on a Hyper-V VM through GUI, you will have to run several Powershell commands: First, you need to change your Powershell execution policy script to at least Remote Signed: Set-ExecutionPolicy RemoteSigned Then you will have to install Hyper-V role: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart This step is to install Hyper-V management tools: Install-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature (Optional) Finally, you can also install Failover Cluster and MPIO…

Read More Read More