This article describes how to generate a memory dump file from a provisioned target in a Hyper-V environment. This process requires no modification to the virtual machine.
Download and install the Debugging Tools for Windows package from Microsoft's web site: Debugging Tools for Windows (WinDbg, KD, CDB, NTSD).
Download livekd from Windows Sysinternals.
Complete the following steps to generate a memory dump file from a provisioned target in a Hyper-V environment:
Open a command prompt and navigate to the folder where you copied livekd to.
Run the following commands:
livekd -hvl - This command will list all the virtual machines running on that host.
livekd -hv <VMName> -p -o C:\Memory.dmp - This will pause the specified VM and then generate a dump of the VM to the path specified.