Pcornel
Windows · Event Logging

Setup Log

Cheat sheet · https://pcornel.dk/topic.php?topic=3132

Back to the Topic

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 events
  • Get-WinEvent -FilterHashtable @{LogName='Application';Level=2;StartTime=(Get-Date).AddHours(-1)} — errors last hour
  • Get-WinEvent -ListLog * | ? RecordCount — logs with entries
  • wevtutil 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

BoundaryMeaningEvidence limit
Start eventSetup action beginsnot success proof
Success eventReported stage completionnot post-install health proof
Failure eventStage reported failuremay be summary only
Rollback eventRecovery path invokedneeds reason correlation
Reboot markerRestart boundarycorrelate 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

Confirmation

Confirm action

Continue?