---
title: "AutoEndTasks, WaitToKillAppTimeout and HungAppTimeout: making Windows shut down faster"
description: "At shutdown Windows asks each program to close and waits. What the tweak changes, when it helps, when it hurts and how to undo it."
url: https://frozentweaks.com/tweaks/faster-shutdown
author: Frost LIVE, Founder of Frozen Tweaks
published: 2026-10-08
updated: 2026-10-08
category: "Windows"
source: Frozen Tweaks (https://frozentweaks.com)
---

# AutoEndTasks, WaitToKillAppTimeout and HungAppTimeout: making Windows shut down faster

**Short answer:** At shutdown Windows asks each program to close and waits. HungAppTimeout is how long before a program counts as not responding, WaitToKillAppTimeout how long it gets to close, and AutoEndTasks whether Windows closes it without asking. This tweak shortens both waits and turns AutoEndTasks on. In the registry it sets AutoEndTasks to 1 under HKCU\Control Panel\Desktop, and 2 more values.

## In the app

- Switch: Faster Shutdown (Windows, Pro, Advanced)
- Undo: Yes. Switching it off puts back exactly what was there before, value for value.
- Catalog row: https://frozentweaks.com/tweaks#t-1166

## What it does

At shutdown Windows asks each program to close and waits. HungAppTimeout is how long before a program counts as not responding, WaitToKillAppTimeout how long it gets to close, and AutoEndTasks whether Windows closes it without asking. This tweak shortens both waits and turns AutoEndTasks on.

In the app the switch is called "Faster Shutdown", described there as: Closes apps that hang at shutdown after 3 to 5 seconds instead of waiting for you (sign out to apply).

## When it helps

- Shutdowns and restarts that hang on 'This app is preventing shutdown'.

## When it hurts

- A program that needed more time to save can lose unsaved work. Save before you shut down.
- Sign out once to apply.

## What it writes

Read from the app's source. "Switching it off" is what the app writes when you turn the tweak off again.

Registry values:

| Key | Value | With the tweak | Switching it off |
| --- | --- | --- | --- |
| `HKCU\Control Panel\Desktop` | `AutoEndTasks` | `1` | Your previous value (saved before the change, or deleted if there was none) |
| `HKCU\Control Panel\Desktop` | `WaitToKillAppTimeout` | `5000` | Your previous value (saved before the change, or deleted if there was none). Windows default: 20000 |
| `HKCU\Control Panel\Desktop` | `HungAppTimeout` | `3000` | Your previous value (saved before the change, or deleted if there was none). Windows default: 5000 |

Source: Tweaks/pack_extra.hpp in the app's source, app 2.0.0, checked 2026-10-08.

## The same change by hand

Run in a Command Prompt opened as administrator. Make a restore point first.

```bat
reg add "HKCU\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d "1" /f
reg add "HKCU\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d "5000" /f
reg add "HKCU\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d "3000" /f
```

Put it back:

```bat
reg add "HKCU\Control Panel\Desktop" /v "WaitToKillAppTimeout" /t REG_SZ /d "20000" /f
reg add "HKCU\Control Panel\Desktop" /v "HungAppTimeout" /t REG_SZ /d "5000" /f
```

See what it is set to now:

```bat
reg query "HKCU\Control Panel\Desktop" /v "AutoEndTasks"
```

## How to undo it

Switch the tweak off in Frozen Tweaks. The app saved what each value was before the change and writes exactly that back, or removes the value if it did not exist.

## Verdict

Convenient, as long as you do not count on the shutdown prompt to remind you to save.

## Questions

### What does the "Faster Shutdown" tweak change in Windows?

In the registry it sets AutoEndTasks to 1 under HKCU\Control Panel\Desktop, and 2 more values. The full list is in the table on this page, read from the app's source.

### What is the default value of WaitToKillAppTimeout?

The Windows default of WaitToKillAppTimeout is 20000. Frozen Tweaks sets it to 5000, and switching the tweak off puts back the value you had before.

### Is "Faster Shutdown" safe to switch on?

Convenient, as long as you do not count on the shutdown prompt to remind you to save. The main cost: A program that needed more time to save can lose unsaved work. Save before you shut down.

### How do I undo it?

Switch the tweak off in Frozen Tweaks. Switching it off puts back exactly what was there before, value for value.

### Does it need a restart?

Yes, the change applies after signing out once.

### Is "Faster Shutdown" free in Frozen Tweaks?

It is part of Frozen Pro and Elite. You can also make the change by hand with the values on this page.

## Related guides

- [Windows 11 Gaming Optimization: What Still Works in 2026](https://frozentweaks.com/guides/windows-11-gaming-optimization)
- [How to Increase FPS on PC: The Complete 2026 Guide](https://frozentweaks.com/guides/how-to-increase-fps-on-pc)

## More tweak explainers

- [Keyboard repeat rate and delay](https://frozentweaks.com/tweaks/keyboard-repeat-rate-and-delay)
- [Game DVR and Game Bar](https://frozentweaks.com/tweaks/disable-game-dvr)
- [Cortana](https://frozentweaks.com/tweaks/disable-cortana)

---
Written by Frost LIVE, founder of Frozen Tweaks. Canonical version: https://frozentweaks.com/tweaks/faster-shutdown
