Microsoft KB Archive/928839

= How to use the keyboard to generate a memory dump file on a Virtual Server 2005 guest computer =

Article ID: 928839

Article Last Modified on 11/2/2007

-

APPLIES TO


 * Microsoft Virtual Server 2005 Standard Edition
 * Microsoft Virtual Server 2005 Enterprise Edition
 * Microsoft Virtual Server 2005 R2 Enterprise Edition
 * Microsoft Virtual Server 2005 R2 Standard Edition

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



INTRODUCTION
Microsoft Windows operating systems let you use the keyboard to generate a memory dump (Memory.dmp) file. When this feature is enabled, you can generate the Memory.dmp file by holding CTRL on the right side of the spacebar while you press SCROLL LOCK two times. This step-by-step article describes how to use this feature when you run a Windows operating system on a guest computer in Microsoft Virtual Server 2005.



MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

By default, you cannot use the keyboard to generate a memory dump file. To enable this feature on a Virtual Server virtual machine that is running a Microsoft operating system, you must modify the registry. To enable this feature, follow these steps on the virtual machine where you want to create the memory dump file:  Click Start, click Run, type Regedit, and then click OK. Expand the following subkey:

 Click Parameters. On the Edit menu, point to New, and then click DWORD Value. Type CrashOnCtrlScroll, and then press ENTER to name the new value. Right-click CrashOnCtrlScroll, and then click Modify. In the Value data box, type 1, and then click OK.</li> Exit Registry Editor.</li> Click Start, right-click My Computer, and then click Properties.</li> On the Advanced tab, click Settings in the Startup and Recovery area.</li> In the Write debugging information list, click Complete memory dump, Kernel memory dump, or Small memory dump, and then click OK.</li> Click Start, click Run, type appwiz.cpl, and then click OK.</li> In the Currently installed programs list, locate Virtual Machine Additions, and then click Remove.</li> When you are prompted to restart the computer, click Yes.</li></ol>

To generate a memory dump file, hold CTRL on the right side of the spacebar while you press SCROLL LOCK two times. When you do this, you receive a Stop error message that resembles the following:

STOP: 0x000000E2 (0x00000000,0x00000000,0x00000000,0x00000000)

The end-user manually generated the crashdump.

For more information about memory dump file options, click the following article number to view the article in the Microsoft Knowledge Base:

254649 Overview of memory dump file options for Windows Server 2003, Windows XP, and Windows 2000

How to disable the memory dump file feature on Windows Server 2003-based host computers that have a USB keyboard attached
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

A hotfix is available to enable the memory dump file feature on a Windows Server 2003-based computer that has a USB keyboard installed. This hotfix is not required for Virtual Server guest operating systems on such a computer. If you have installed hotfix 244139, you must disable the feature in the registry of the host computer. If you do not disable the feature, the host computer instead of the virtual machine will generate a memory dump file when you use the keyboard shortcut.

To disable the memory dump file feature on a Windows Server 2003-based computer that has a USB keyboard installed, follow these steps: <ol> Start Registry Editor, and then expand the following subkey:

</li> Right-click CrashOnCtrlScroll, and then click Modify.</li> In the Value data box, type 0, and then click OK.</li> Exit Registry Editor, and then restart the computer.</li></ol>

For more information about the hotfix for Windows Server 2003-based computers that have a USB keyboard attached, click the following article number to view the article in the Microsoft Knowledge Base:

244139 Windows feature lets you generate a memory dump file by using the keyboard

Additional query words: VPC Win2003 serv2003 bugcheck crash blue screen

Keywords: kbhowto KB928839

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.