• IT Systems Engineering

    Cloning a VM on Hyper-V without shutting it down

    {note: this post is deprecated, it is now possible to do “live cloning” using VMM 2012 R2, See my newer post below} Create clone of running VM using VMM My OLD post: If you use SC VMM’s own VM cloning functionality, you see two major problems: You have to shut down that VM, and The original VM gets destroyed. Of course this is not acceptable if you are trying to create a dev VM out of a production VM. Here is how you can clone a VM without these problems: Using VMM, create a checkpoint (snapshot) of that VM. Wait for the process to finish. This quieses the VHD, making…

  • IT Systems Engineering

    Troubleshooting Windows Remote (WinRM)

    Here are a few commands which can be run to troubleshoot Windows Remote (WinRM) connectivity (These commands may need to be run on an elevated CMD): This shows you which port and IP addresses WinRM is listening to: winrm e winrm/config/listener This checks if WinRM has some problem: winmgmt  /salvagerepository This shows you the configuration: winrm get winrm/config   I ran these commands on my Hyper-V nodes and VMM server, while troubleshooting connectivity / permission related errors.

  • IT Systems Engineering

    Annoying numlock toggle on Hyper-V virtual machines

    Are you getting annoyed at how connecting to a VM hosted on Hyper-V toggles your numlock status? I was To get rid of this problem you can enable the numlock inside the BIOS of each and every VM . Note that you can change this setting for only those VMs which are shutdown. Also, here is a little PS script which can do it for you: Win8/Hyper-V 2012 Enable Num Lock on All Virtual Machines | wasnt nate

  • IT Systems Engineering

    Hyper-V Server 2012 quick start guide

    Here is how I got started with Hyper-V Server 2012 First, let  me be clear which version of Hyper-V am I talking about. This is the Hyper-V standalone version, or the free version as some people call it. Basically it is a separate download from MSDN and runs a pre-configured server core version + hyper-V role already installed.

  • IT Systems Engineering

    Hyper-V 2012 Access Denied

    While trying to connect from a Windows 8 Enterprise client machine to my Windows Server Hyper-V 2012 server via the Hyper-V Manager, I kept getting this error message:“Access denied. Unable to establish communication between Client and Server”. I found a way to fix this. Here is how: From the command prompt of the  client open a command prompt and type DCOMCNFG Go to: “Component Services > Computers > My Computer”. Open Properties for “My Computer” and select the COM Security tab. In “Access Permissions” area click the “Edit Limits” button. Select the “Anonymous Logon”-group and make sure the “Remote Access” is set to Allowed. Now your client will connect successfully…