Windows · Event Logging
Setup Log
Cheat sheet · https://pcornel.dk/topic.php?topic=3132
Answer
The Setup channel records selected installation, servicing and setup lifecycle events. Detailed component-specific setup logs may still exist outside Event Log.
Remember
- Setup is focused on setup/servicing, not all installer activity.
- A successful Setup event does not prove every dependent application/driver works afterward.
- Windows Update and servicing can also emit into dedicated providers/channels/files.
- Event timing is useful for change correlation.
- Rollback/failure events should be correlated with component setup logs and CBS/servicing evidence when applicable.
First checks
Get-WinEvent -LogName System -MaxEvents 50— recent System eventsGet-WinEvent -FilterHashtable @{LogName='Application';Level=2;StartTime=(Get-Date).AddHours(-1)}— errors last hourGet-WinEvent -ListLog * | ? RecordCount— logs with entrieswevtutil gl <log>— log size and retention
Verify in this order
setup/servicing → Setup log entries
Where it usually breaks
First mismatch in definition/configuration → security context → service/task/process creation → runtime state → output/side effect → event/performance evidence; preserve identity/native error/pre-state before mutation.
Event Logging → Setup Log reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Start event | Setup action begins | not success proof |
| Success event | Reported stage completion | not post-install health proof |
| Failure event | Stage reported failure | may be summary only |
| Rollback event | Recovery path invoked | needs reason correlation |
| Reboot marker | Restart boundary | correlate state before/after |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3132