Search Wiki:

General Information

Hyper-V(tm) VM State to Memory Dump Converter (vm2dmp) is a command-line tool that converts the saved state of a Hyper-V virtual machine to a full memory dump file compatible with Debugging Tools for Windows. You can use this tool to convert the memory contents of a virtual machine at a point of time to a full memory dump file. The vm2dmp tool makes it easier to debug hard problems when they occur on virtual machines. Using this tool, developers can save time by avoiding the need to create a dump file over a slow debugger connection or from the operating system running inside the virtual machine.

License and Disclaimer

“Hyper-V(tm) VM State to Memory Dump Converter” and associated documentation are licensed under the Microsoft Public License (Ms-PL) as described here, and are provided “AS-IS”. You bear the risk of using it. No express warranties, guarantees or conditions are provided.
“Hyper-V(tm) VM State to Memory Dump Converter” is not supported or endorsed by Microsoft Corporation and should be used at your own risk.

Quick Usage

Create a dump file using virtual machine state files:

vm2dmp.exe -bin C:\VM\example.bin -vsv C:\VM\example.bin -dmp C:\VM\memory.dmp

Create a dump file from virtual machine and snapshot name:

vm2dmp.exe –vm VISTASP1-ENT-32 -dmp C:\VM\memory.dmp
vm2dmp.exe –vm VISTASP1-ENT-32 –snap “VISTASP1-ENT-32-snapshot-SP1” -dmp C:\VM\memory.dmp

Create a dump file using local symbols:

vm2dmp.exe -bin C:\VM\example.bin -vsv C:\VM\example.bin -dmp C:\VM\memory.dmp –sym C:\symbols

For detailed instructions you can download user guide from here

Requirements

  • A computer running the release version (RTM) one of the following Windows operating systems:
    • Windows Server 2008 R2
    • Windows 7
  • Installation of “Debugging Tools for Windows”.
  • For required symbol information; either internet connection or correct guest operating system symbols for the virtual machine being converted into dump file, cached locally on the host.
  • Guest operating system to be one of Hyper-V supported operating systems when state information was created.
Last edited Feb 1 2010 at 5:29 PM  by serdarsutay, version 11
Comments
trebligb wrote  Mar 18 2011 at 7:46 PM  
When I try to use this tool on the hyper-v server it starts to run but right after INFO Guest build number: 6002 the program crashes wtih "vm2dmp.exe has stopped working"

Problem signature:
Problem Event Name: BEX64
Application Name: vm2dmp.exe
Application Version: 0.0.0.0
Application Timestamp: 4b6366b1
Fault Module Name: vm2dmp.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4b6366b1
Exception Offset: 00000000000254d8
Exception Code: c0000409
Exception Data: 0000000000000000
OS Version: 6.1.7601.2.1.0.274.10
Locale ID: 1033
Additional Information 1: 0ed1
Additional Information 2: 0ed1cce59748c695592c43eeb6c9d91f
Additional Information 3: 748a
Additional Information 4: 748a5dc8477deff9cff94fa3972fb81b

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

Photubias wrote  Dec 12 2013 at 10:36 AM  
Please, can the new version be uploaded? The one that supports Hyper-V 2012 (R2) ?
Thanks in advance!

Updating...
Page view tracker