Shutting Down The System During an Application Crash
By altering the registry slightly, Windows XP can be set to close crashed applications automatically. So when the user gives the shutdown command during an application crash, the Pc will shutdown automatically without waiting for input from the user.
To allow Windows XP to close non-responsive applications automatically upon shutdown:
Go to Start > Run and type in "regedit"(without quotes) and navigate to
Highlight the value "AutoEndTasks" and change the value to "1"
XP will now close all applications that have hung without user input during the shutdown process.