This will change it globally for all users on the box.
Hive: HKEY_USER
Key: .DEFAULT\Control Panel\Desktop
Name: AutoEndTasks
Type: REG_SZ
Value: 1
This will change it for any particular users on the box.
Hive:
HKEY_USER
Key: your_user_id\Control Panel\Desktop
Name:
AutoEndTasks
Type: REG_SZ
Value: 1
NT default is to wait 20secs. To lessen the wait, you can change the
WaitToKillAppTimeout value found in the same subkey in msecs. Don't set too low
or you could lose data.
Name: WaitToKillAppTimeout
Type: REG_SZ
Value: 20000 msecs=default