4

Is there any way to debug/gather some diagnostic information in case a windows machine hangs/freezes to get some clue about what caused the hang/freeze., just like linux has

Magic_SysRq key

Is there any way one can connect to a frozen/hanged windows to get some log having some memory info, process info, registers/flags status info from the OS. Or some way to kill the process which could have caused the freeze. Basically try to give some restore command to saLvage the hanged situation?

Is it possible?

marli
  • 105
  • 1
  • 4
goldenmean
  • 179
  • 1
  • 8

2 Answers2

3

Closest thing I can think of is enabling RightCtrl+ScrollLock, which will bluescreen the machine (thus creating a memory dump). This can be examined in WinDBG, with which you will be able to examine everything (threads, registers, memory, etc).


http://support.microsoft.com/kb/244139

Info about doing so with a USB keyboard (you need Vista/WS 2008 SP1 or later, plus this hotfix):
http://support.microsoft.com/kb/971284

Here are some troubleshooting steps in case it doesn't work:
http://support.microsoft.com/kb/927069

Here's more general info about creating a memory dump:
http://support.microsoft.com/kb/972110 (WS 2003)
http://support.microsoft.com/kb/969028 (WS 2008)

Mark Sowul
  • 1,809
  • 1
  • 11
  • 14
  • AFAIK Ctrl-ScrollLock should be enabled manually. It does nothing without registry modification – kolypto Dec 25 '09 at 15:28
0

You need to have windbg installed.

bmargulies
  • 2,283
  • 3
  • 17
  • 20