Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

thanks.

-AD.

share|improve this question

migrated from stackoverflow.com Dec 22 '09 at 9:26

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

Closest thing I can think of is enabling Ctrl+Scrollock, 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)

share|improve this answer
    
AFAIK Ctrl-ScrollLock should be enabled manually. It does nothing without registry modification –  kolypto Dec 25 '09 at 15:28
add comment

You need to have windbg installed.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.