Understanding the Windows Event Architecture
Prior to Windows Vista, the Windows Event Log API and ETW were separate components. The Windows Event Log API published events in event logs, such as the System and Application event logs, while ETW could be used to start event tracing sessions for detailed troubleshooting of system and application issues.
Beginning with Windows Vista, the Windows event logs and ETW are unified into a single architecture that provides an always-present, selectively-on logging infrastructure. While the Windows event logs and ETW integrated with each other in Windows Vista and later, event logs and ETW generally target two different types of users:
- ETW Used mainly by developers and for advanced troubleshooting by support professionals,
ETW must be manually enabled on a computer and generates events at a
higher rate (around 10,000 per second) than the event logs. ETW includes the following features:
- Defined declaratively in manifests
- Has localizable strings
- Has a flexible data model
- Uses programmatic consumption
- Has discoverability
- Event logs Used mainly by system administrators, event logs are always on and typically
generate events at a lower rate (around 100 events per second) than ETW. Event
logs include all the features of ETW, plus the following:
- Admin-focused tools
- Centralized event logs
- Remote collection support
- Data query support
- Reduced logging rate
The Windows Event architecture consists of the following:
- Event Providers These define events and register with the ETW/Event Log infrastructure using XML manifest files that define the events that can be generated, logging levels, event templates, and other components.
- Event Controllers These are used to start and stop tracing sessions on the computer.
- Event Consumers These register to receive events in real time (from an event channel or ETW sessions) or from an existing log file (an event log file or trace file).
In this tutorial:
- Windows 7 Desktop Maintenance
- Performance Monitoring
- Improvements to Performance Monitoring in Windows 7
- Using Performance Monitor
- Real-Time Performance Monitoring
- Performance Monitor Logging
- Creating a Data Collector Set
- Configuring a Data Collector Set
- Using Data Manager to View Performance Data
- Starting and Stopping Data Logging
- Viewing Performance Data
- Comparing Performance Monitor Logs
- Performance Monitor User Rights
- Remote Data Collection
- Using Windows PowerShell for Performance Monitoring
- Resource Monitor
- Overview Tab
- CPU Tab
- Memory Tab
- Disk Tab
- Network Tab
- Reliability Monitor
- How Reliability Monitor Works
- Windows Performance Tools Kit
- Event Monitoring
- Understanding the Windows Event Architecture
- Channels
- Improvements to Event Monitoring in Windows 7
- Using Event Viewer
- Understanding Views
- Viewing Event Logs
- Saving Event Logs
- Configuring Event Subscriptions
- Considerations for Workgroup Environments
- Creating a New Subscription
- Using the Windows Events Command-Line Utility for Event Monitoring
- Using Windows PowerShell for Event Monitoring
- Using Task Scheduler
- Improvements to Task Scheduler in Windows 7
- Understanding Tasks
- Understanding the Task Scheduler Architecture
- Understanding Task Scheduler Security
- Credentials Management
- Securing Running Tasks
- Understanding AT and Task Scheduler v1.0 Compatibility Modes
- Understanding the Task Scheduler Snap-in
- Understanding Default Tasks
- Creating Tasks
- Defining Triggers
- At Startup Trigger
- On Connection To AND Disconnect From User Session Triggers
- On Workstation Lock AND Unlock Triggers
- Defining Actions
- Defining Conditions
- Defining Settings
- Managing Tasks
- Viewing History
- Using SchTasks.exe for Creating and Managing Tasks
- Task Scheduler Events
- Troubleshooting Task Scheduler
- Tasks Won't Run If the Service Is Not Started
- The Task Will Run Only When a Certain User Is Logged On
- The Task Action Failed to Execute
- Interpreting Result and Return Codes
- Understanding the Windows System Assessment Tool
- Understanding WinSAT Assessment Tests
- Examining the WinSAT Features Assessment
- Running WinSAT from the Command Line
- Understanding WinSAT Command Exit Values
- Running WinSAT Using Performance Information and Tools
- System Capabilities Section
- OEM Upsell And Help Section
- Understanding Windows Error Reporting
- Overview of Windows Error Reporting
- How WER Works
- Store Management System
- ReportArchive Folder
- WER Service
- Understanding the Error Reporting Cycle
- Understanding WER Data
- Configuring WER Using Group Policy
- Configuring WER Using the Action Center