When shutting down, Windows attempts to stop all running tasks. If a task??”
an application, service, or background program??”doesn??™t respond or refuses
to shut down, there??™s a built-in delay before Windows will force the task to
end. This delay is called the timeout, and it can be shortened if you??™re experiencing
problems or unreasonable delays every time you shut down your
system.
1. Open the Registry Editor (see Chapter 3).
2. Expand the branches to HKEY_CURRENT_USER\Control Panel\Desktop.
3. Double-click the WaitToKillAppTimeout value. (If it??™s not there, select
Edit ??? New ??? DWORD Value (32-bit) and type WaitToKillAppTimeout
for the name of the new value.) This number controls the time to wait,
in milliseconds, before unresponsive applications are forced to close.
The default is 20000 (20 seconds), but you can type any value here; the
minimum is 1 millisecond, although it??™s impractical to use any value
smaller than about 2000 (2 seconds) here.
4. Also in this key is the HungAppTimeout value, which does pretty much the
same thing as WaitToKillAppTimeout; just enter the same number for
both values.
5. Next, you can configure Vista to end hung applications automatically
and without asking. Select Edit ??? New ??? DWORD Value (32-bit) and
type AutoEndTasks for the name of the new value. Then, double-click
AutoEndTasks and enter 1 (one) to automatically end tasks or 0 (zero) to
prompt before ending tasks (the default).
Pages:
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323