This will change it globally for all users on the box.
Key: .DEFAULT\Control Panel\Desktop
This will change it for any particular users on the box.
Key: your_user_id\Control Panel\Desktop
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.
Value: 20000 msecs=default
When you issue the shut down command, NT sends shutdown requests to running processes. In particular, 16-bit applications running in the VDM (Virtual DOS Machine) often do not honor the shutdown requests. If an application does not respond to the initial shutdown request, NT prompts for a decision
- kill the task
- wait for the task to die on its own
- cancel the shutdown