Category: Microsoft Hyper-v
-
Remove Active Directory Domain Services (ADDS) from a WS2012 R2 with PowerShell.
I decided to tear down my Azure Lab IaaS and ASR infrastructure and rebuild it. The process involves removing the ASR configurations, Recovery Vaults, S2S VPNs, VNets and Azure VM running as a Azure based Domain controller for resilience with on-premise infrastructure and Azure deployed Apps. The next steps will include uninstalling the Domain Controller,…
-
Enable Hyper-V Server 2012 R2 Core Virtual Machine Protection using existing Azure Site Replication Policy.
In this post, I’ll be writing about my steps for enabling on premise Virtual Machine protection to Azure Site Recovery using an existing Hyper-V Site Replication policy. In this deployment, I’ll be adding and registering a Hyper-V Core Server 2012 R2 to Azure Site Recovery. The process differs from the steps in registering a full…
-
Moving a Hyper-V Virtual Machine Storage to a Cluster Volume using PowerShell.
I have a Virtual Machine ADS00 running a guest OS WS 2012 R2 .It’s vhdx file is located on a Failover Cluster node physical server running Hyper-V Core 2012 R2. As the services offered and requirements for this VM continued to scale, we decided to migrate it to the Cluster volume and make it highly…
-
Resolving Hyper-v Error: “‘Unnamed VM’ could not initialize… The security ID structure is invalid.”
While moving my Lab to a new environment using the Hyper-v Export and Import VM options, I ran into an “‘Unnamed VM’ could not initialize… The security ID structure is invalid” error when trying to start the Domain Controller Virtual machines. After doing some research, I found out that after a VM Import, Hyper-v doesn’t…
-
Resizing/Expanding a Virtual Disk and Resynchronizing to Replica Hyper-v Virtual Machine .
Hyper-v Server 2012 R2 has added functionality that enables an admin expand the size of a running/online virtual machine disk.In my Hyper-v 2012 R2 environment, I recently resized a clustered virtual machine root volume (vhdx file)via the following steps: Open Failover Cluster Manager, navigate to the specific VM, right click and select settings, select hard…
-
23 Best Practices to improve Hyper-V and VM Performance
Best practices are the most obvious starting point for improving your Hyper-V and Virtual Machine performance and I’ve listed 23 of them for you below. 1. Avoid overloading Hyper-V Server You must not overload Hyper-V Server. In other words, there is no need to host virtual machines which have no functions or I would say…
-
Uninstalling Software with Powershell.
I have a number of Hyper-v Windows Server 2012 R2 core host machines in my environment. Once in a while, I have to check for installed software and uninstall software for maintenance. The following WMIObject class helped me achieve the task in PowerShell. Check for installed software: Filter by Software to be Uninstalled: Locate the…
-
Resolving EventID: 4292 IPSec driver Block mode Error !!
I recently encountered a situation with a Virtual Machine running Guest OS Windows Server 2003 SP2. The parent partition (Host) is running Hyper-v 2012 R2. I could login to the VM console using Hyper-v Manager, the Guest OS had an IP Address by DHCP, but there was no network access . I could not ping…
-
Configuring Hyper-v Host Network Adapters for ISCSI Storage Connectivity with Powershell .
Windows Server 2012 R2 with PowerShell 4.0 has hugely expanded support for configuring multiple NICs on a Cluster/ISCSI Initiator node via command line. After deploying multiple Network Interface Cards on my Hyper-v host, it took me a while to figure out how to properly configure the NICS with PowerShell . Prior to Windows Server 2012,…
-
Configuring Windows Server 2012 as an iSCSI Target SAN in a Two Host Failover Cluster Part 5
As it turns out, I already have two Virtual machines running on one of the cluster nodes. I set these up before the cluster creation. The VMs are currently not cluster roles/resources. I will go ahead and make one of the VMs (WK7) a cluster role by adding it to the cluster. PS C:\> Get-VM…