Choose by signal: use an idle trigger when the user has stopped interacting, a process-exit trigger when a known worker program closes after finishing, and a low-battery trigger when a laptop reaches a defined charge level. Do not call process exit “download complete” unless the process truly exits on completion.
Choose the condition you can actually verify
| Real goal | Best trigger | Important limitation |
|---|---|---|
| Turn off a shared PC after nobody uses it | Idle time | Video playback or background activity may affect what “idle” means |
| Turn off after a command-line conversion finishes | Worker process exits | Confirm the process closes only after successful completion |
| Turn off after a browser download | Browser/download manager’s own completion feature | The browser normally remains open after downloading |
| Protect a laptop when charge becomes low | Low-battery condition | Save work first; shutdown is different from hibernate |
| Turn off at 11:00 PM every night | Daily calendar schedule | This is not a conditional trigger |
Method 1: automatically shut down after idle time
Built-in Task Scheduler method
Microsoft’s schtasks supports an ONIDLE schedule. The idle period is measured in minutes.
You can also build the task in the graphical Task Scheduler. Use a clear name, set the action to C:\Windows\System32\shutdown.exe with arguments /s /t 0, and review what should happen if the user becomes active again. Microsoft documents that any positive /t value implies forced application closing, so do not add a countdown unless you accept that risk. A visual scheduler can present its own warning while keeping force-close disabled.
Visual idle trigger
Free Auto Shutdown exposes idle time directly. Select the power action, choose the idle trigger, set the duration, then configure warning and busy-computer behavior before activation.
Method 2: shut down after a program exits
A process-exit trigger watches a specific running program. When that process ends, the scheduler begins the configured action or warning. This is useful for a command-line encoder, backup worker, renderer or other program that closes when its job is done.
Use the real worker process
Applications often have a launcher and one or more worker processes. The visible window may close while the worker continues, or the launcher may remain after the worker finishes. Use Task Manager’s Details tab to identify which executable accurately represents job completion.
Confirm the exit means success
Process exit means only that the process stopped. It might have succeeded, failed or crashed. If the job is important, verify the output inside the application or use a completion signal that distinguishes success from failure before shutting down.
Can Windows shut down after a download completes?
Sometimes—but “download complete” must be represented by something observable.
| Download workflow | Recommended approach |
|---|---|
| Download manager has “shut down when finished” | Use its built-in completion action; it knows the real queue state |
| Command-line downloader exits after its queue | Monitor that worker process, then show a warning |
| Browser download | Do not monitor the browser process; it remains open and may host unrelated tabs |
| Game launcher remains open after downloading | Use the launcher’s own setting if available, or a verified file/queue signal |
| Unknown completion time but PC becomes unused afterward | Use a conservative idle threshold plus busy-computer postponement |
A fixed “four-hour timer” is a fallback, not evidence of completion. Network speed, retries and file verification can change the duration significantly.

Method 3: low-battery shutdown on a laptop
A low-battery rule can protect a laptop that is running unattended. However, hibernate may be a better choice when you need to resume the session later. Microsoft notes that hibernate uses less power than sleep and restores the previous session when supported.
- Choose a threshold high enough to finish the warning and shutdown process.
- Account for battery wear: an old battery can fall from 10% to critical very quickly.
- Do not force-close unsaved work by default.
- Test while connected to power first, using simulation or a harmless action.
- Keep Windows’ own critical-battery action configured as a final safety layer.
Busy-computer postponement and wake timers
A conditional trigger still needs policy for conflicting activity. If the computer becomes busy again, postponement can prevent a shutdown during active work. A wake timer is the opposite: it may wake a sleeping PC so a clock-based schedule can run. Enable it only when waking the machine is truly intended.
For a media PC, consider whether playback counts as busy. For a workstation, consider CPU-heavy background jobs and remote sessions. Test on the actual machine because power capabilities differ by hardware and Windows sleep state.
A safe five-minute test plan
- Save all work and close anything that must not be interrupted.
- Use warning simulation or choose Lock instead of Shutdown.
- Set a short condition that you can deliberately produce.
- Verify the warning names the intended action.
- Cancel or snooze and confirm the status and history update.
- Repeat once with the real application/idle condition.
- Only then choose Shutdown and a production threshold.

Conditional shutdown FAQ
Can Windows shut down automatically when idle?
Yes. Task Scheduler supports an ONIDLE schedule, and a visual scheduler can make the idle threshold and warning state easier to manage.
Can the PC shut down when a program finishes?
It can trigger when a monitored process exits. Verify that process exit accurately represents successful completion.
Is process exit the same as download complete?
Not usually for browsers or launchers that stay open. Prefer the downloader’s own queue-completion action or a worker process that actually exits at completion.
Should a low-battery rule shut down or hibernate?
Shutdown ends the session; hibernate preserves it when supported. Choose based on whether you need to resume and keep Windows’ critical-battery protection enabled.
Product capabilities and screenshots refer to Free Auto Shutdown 8.0.0. Conditional automation should be tested against the real process and power state before unattended use.
