How to Capture a Memory Dump from a Provisioned Target in a Hyper-V Environment

How to Capture a Memory Dump from a Provisioned Target in a Hyper-V Environment

book

Article ID: CTX126393

calendar_today

Updated On:

Description

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.

Requirements


Instructions

Complete the following steps to generate a memory dump file from a provisioned target in a Hyper-V environment:

  1. Open a command prompt and navigate to the folder where you copied livekd to.

  2. Run the following commands:

    1.  livekd -hvl - This command will list all the virtual machines running on that host.

    2.  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.

Issue/Introduction

This article describes how to generate a memory dump file from a provisioned target in a Hyper-V environment.

Additional Information

Taking a dump of a VM running on Hyper-V