Category Archives: 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 … Continue reading

Posted in Active Directory, Active Directory Domain Services, Azure, Azure Site Recovery, Azure VPN, DCPromo, Domain Controller, FSMO, Microsoft Hyper-v, PowerShell, Powershell 4.0, Windows Server 2012 R2 | Tagged , , , , , , , , | Leave a comment

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 … Continue reading

Posted in Azure, Azure Site Recovery, Failover Cluster, Failover Cluster Manager, Hyper-v, Hyper-v 2012 R2, Hyper-v Manager, Microsoft Hyper-v | Tagged , , , , , , , , , , , | Leave a comment

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 … Continue reading

Posted in Failover Cluster, Failover Cluster Manager, Generation 2 Virtual Machines, Hyper-v 2012 R2, Hyper-v Manager, Hypervisor Replication, Microsoft Hyper-v, Migration, PowerShell, Powershell 4.0, VHDX, Virtual Machines, VM Replica, Windows Server 2012 R2 | Tagged , , , , | Leave a comment

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 … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, Hyper-v Manager, Microsoft Hyper-v, PowerShell, Powershell 4.0, Uncategorized, VHDX, Virtual Machines, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , , , | 1 Comment

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 … Continue reading

Posted in Hyper-v 2012 R2, Hyper-v Manager, Hypervisor Replication, Microsoft Hyper-v, VM Replica, Windows Server 2012 R2 | Tagged , , , , | 3 Comments

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 … Continue reading

Posted in Generation 2 Virtual Machines, Hyper-v, Hyper-v 2012 R2, Hyper-v Manager, Microsoft Hyper-v, NIC Teaming, Virtual Machines, Windows Server 2012 R2 | Leave a comment

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 … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, Microsoft Hyper-v, PowerShell, PowerShell 3.0, Powershell 4.0, Windows Server 2008 R2 Backup, Windows Server 2012, Windows Server 2012 R2 | Tagged , , | 5 Comments

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 … Continue reading

Posted in Hyper-v Manager, Microsoft Hyper-v, Network, Windows Server 2012 R2 | Tagged , , , | Leave a comment

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 … Continue reading

Posted in Hyper-v, Hyper-v 2012 R2, ISCSI Initiator, Microsoft Hyper-v, PowerShell, PowerShell 3.0, WIndows 8.1, Windows Server 2012, Windows Server 2012 R2 | Tagged , | 4 Comments

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 … Continue reading

Posted in Cluster Shared Volume, CSV, Failover Cluster, Hyper-v, ISCSI, ISCSI Initiator, ISCSI Target, Microsoft Hyper-v, PowerShell, PowerShell 3.0, Quorum, Virtual Machines, Witness | Tagged , , , , , | Leave a comment