ANAVEM
Languagefr
Windows Event Viewer displaying power management events and system power state transitions on a monitoring dashboard
Event ID 102InformationMicrosoft-Windows-Kernel-PowerWindows

Windows Event ID 102 – Microsoft-Windows-Kernel-Power: System Power State Transition

Event ID 102 indicates a system power state transition, typically when Windows enters or exits sleep, hibernate, or shutdown states. Critical for diagnosing power management issues.

Emanuel DE ALMEIDAEmanuel DE ALMEIDA
18 March 20269 min read 0
Event ID 102Microsoft-Windows-Kernel-Power 5 methods 9 min
Event Reference

What This Event Means

Windows Event ID 102 represents a fundamental component of the Windows power management subsystem. When Windows transitions between power states - such as moving from S0 (working) to S3 (sleep) or S4 (hibernate) - the kernel power manager logs this transition as Event ID 102. This event provides administrators with visibility into power state changes that might otherwise go unnoticed.

The event typically includes several key data points: the previous power state, the target power state, the transition type, and often a reason code explaining why the transition occurred. These transitions can be triggered by user actions (closing a laptop lid), system policies (automatic sleep after inactivity), hardware events (power button press), or software requests from applications or drivers.

In enterprise environments, Event ID 102 becomes particularly valuable when investigating power-related issues across multiple systems. Unexpected power state transitions can indicate hardware problems, driver conflicts, or configuration issues. The event helps distinguish between planned power management operations and unexpected system behavior that might require intervention.

Modern Windows versions in 2026 have enhanced power management capabilities, making Event ID 102 even more detailed. The event now includes additional context about connected devices, wake sources, and power policy decisions that influenced the transition. This enhanced logging helps administrators optimize power management settings and troubleshoot complex power-related scenarios in hybrid work environments.

Applies to

Windows 10Windows 11Windows Server 2019/2022/2025
Analysis

Possible Causes

  • User-initiated power state changes (sleep button, lid close, shutdown command)
  • Automatic power management policies triggering sleep or hibernate
  • System wake events from network adapters, USB devices, or scheduled tasks
  • Hardware-initiated power transitions (power button, thermal events)
  • Application or service requests for power state changes
  • Driver-initiated power management operations
  • Group Policy power management settings taking effect
  • Battery level thresholds triggering automatic power state changes
  • Wake-on-LAN events or remote wake requests
  • System recovery from unexpected shutdowns or crashes
Resolution Methods

Troubleshooting Steps

01

Review Event Details in Event Viewer

Start by examining the specific details of Event ID 102 to understand the power transition context.

  1. Open Event Viewer by pressing Win + R, typing eventvwr.msc, and pressing Enter
  2. Navigate to Windows LogsSystem
  3. Filter the log by clicking Filter Current Log in the Actions pane
  4. Enter 102 in the Event IDs field and click OK
  5. Double-click on recent Event ID 102 entries to view detailed information
  6. Examine the General tab for power state transition details
  7. Check the Details tab for XML data containing specific power state codes
  8. Note the timestamp patterns to identify if transitions are occurring at expected intervals
Pro tip: Look for the PowerTransitionReason field in the event details to understand what triggered the power state change.
02

Analyze Power Events with PowerShell

Use PowerShell to query and analyze Event ID 102 patterns across time periods.

  1. Open PowerShell as Administrator
  2. Query recent power transition events:
    Get-WinEvent -FilterHashtable @{LogName='System'; Id=102} -MaxEvents 50 | Format-Table TimeCreated, Id, LevelDisplayName, Message -AutoSize
  3. Filter events from the last 24 hours:
    $StartTime = (Get-Date).AddDays(-1)
    Get-WinEvent -FilterHashtable @{LogName='System'; Id=102; StartTime=$StartTime} | Select-Object TimeCreated, Message
  4. Export power events for analysis:
    Get-WinEvent -FilterHashtable @{LogName='System'; Id=102} -MaxEvents 100 | Export-Csv -Path "C:\Temp\PowerEvents.csv" -NoTypeInformation
  5. Analyze event frequency patterns:
    Get-WinEvent -FilterHashtable @{LogName='System'; Id=102} -MaxEvents 200 | Group-Object {$_.TimeCreated.Hour} | Sort-Object Name
Pro tip: Combine Event ID 102 with Event ID 1 (system startup) and Event ID 6008 (unexpected shutdown) for complete power event analysis.
03

Check Power Management Configuration

Examine system power management settings that might be causing unexpected power transitions.

  1. Open Control PanelHardware and SoundPower Options
  2. Click Change plan settings for your active power plan
  3. Click Change advanced power settings
  4. Review critical settings:
    • SleepSleep after (check both AC and battery settings)
    • SleepHibernate after
    • SleepAllow wake timers
    • USB settingsUSB selective suspend setting
  5. Check wake sources using PowerShell:
    powercfg /waketimers
    powercfg /devicequery wake_armed
  6. Review power policy using command line:
    powercfg /query
  7. Generate a power efficiency report:
    powercfg /energy /output "C:\Temp\energy-report.html"
Warning: Disabling wake timers completely may prevent scheduled maintenance tasks from running properly.
04

Investigate Device-Specific Power Issues

Identify specific devices that might be causing unexpected power state transitions.

  1. Open Device Manager by right-clicking Start and selecting Device Manager
  2. Expand device categories and look for devices with power management capabilities
  3. Right-click problematic devices and select Properties
  4. Check the Power Management tab for wake settings
  5. Use PowerShell to identify wake-capable devices:
    Get-WmiObject -Class Win32_SystemDriver | Where-Object {$_.State -eq "Running"} | Select-Object Name, State, StartMode
  6. Check network adapter wake settings:
    Get-NetAdapter | Get-NetAdapterPowerManagement | Where-Object {$_.WakeOnMagicPacket -eq "Enabled"}
  7. Review USB device power settings:
    Get-WmiObject -Class Win32_USBHub | Select-Object Name, DeviceID, Status
  8. Generate a sleep study report (Windows 11/Server 2025):
    powercfg /sleepstudy /output "C:\Temp\sleepstudy.html"
Pro tip: Use Device Manager to disable "Allow this device to wake the computer" for devices that shouldn't trigger wake events.
05

Advanced Power Event Correlation and Registry Analysis

Perform advanced analysis of power events and examine registry settings for comprehensive troubleshooting.

  1. Create a comprehensive power event correlation script:
    $Events = @(1, 6008, 41, 102, 107, 109)
    $PowerEvents = foreach ($EventID in $Events) {
        Get-WinEvent -FilterHashtable @{LogName='System'; Id=$EventID} -MaxEvents 20 -ErrorAction SilentlyContinue
    }
    $PowerEvents | Sort-Object TimeCreated -Descending | Format-Table TimeCreated, Id, LevelDisplayName, Message -AutoSize
  2. Examine power management registry settings:
    Get-ItemProperty -Path "HKLM\SYSTEM\CurrentControlSet\Control\Power" -Name "*"
  3. Check hibernation file settings:
    Get-ItemProperty -Path "HKLM\SYSTEM\CurrentControlSet\Control\Power" -Name "HibernateEnabled"
  4. Review power policy registry entries:
    Get-ChildItem -Path "HKLM\SYSTEM\CurrentControlSet\Control\Power\PowerSettings" -Recurse | Select-Object Name
  5. Enable detailed power logging:
    wevtutil sl Microsoft-Windows-Kernel-Power/Thermal-Operational /e:true
    wevtutil sl Microsoft-Windows-UserModePowerService/Diagnostic /e:true
  6. Create a custom power monitoring script:
    Register-WmiEvent -Query "SELECT * FROM Win32_PowerManagementEvent" -Action {
        Write-Host "Power event detected at $(Get-Date)"
        Get-WinEvent -FilterHashtable @{LogName='System'; Id=102} -MaxEvents 1
    }
Warning: Modifying power management registry settings incorrectly can cause system instability. Always backup the registry before making changes.

Overview

Event ID 102 from the Microsoft-Windows-Kernel-Power source fires during system power state transitions in Windows. This event logs when your system changes power states - entering sleep mode, waking from hibernation, or transitioning between different ACPI power states. The event appears in the System log and provides crucial information about power management operations.

This event is particularly important for troubleshooting systems that experience unexpected shutdowns, wake-from-sleep issues, or power management problems. Modern Windows systems generate this event frequently as they manage power states for energy efficiency and hardware compatibility. The event contains detailed information about the power state transition, including the previous state, new state, and transition reason.

System administrators monitoring server environments or investigating desktop power issues rely on Event ID 102 to understand power behavior patterns. The event helps identify whether power transitions are user-initiated, system-initiated, or caused by hardware events. Understanding this event is essential for diagnosing sleep/wake cycles, unexpected shutdowns, and power management driver conflicts in Windows environments.

Frequently Asked Questions

What does Event ID 102 mean and when should I be concerned?+
Event ID 102 indicates a system power state transition, such as entering sleep mode, waking up, or hibernating. This is typically normal behavior. You should be concerned if you see frequent unexpected transitions, transitions occurring at unusual times, or if they correlate with system crashes or performance issues. The event becomes problematic when it indicates unplanned power state changes that disrupt user work or system operations.
How can I prevent my system from waking up unexpectedly?+
To prevent unexpected wake events, first identify wake sources using 'powercfg /waketimers' and 'powercfg /devicequery wake_armed'. Then disable wake capabilities for unnecessary devices in Device Manager by unchecking 'Allow this device to wake the computer' in the Power Management tab. Common culprits include network adapters receiving Wake-on-LAN packets, USB mice, and scheduled tasks. You can also disable wake timers in Power Options advanced settings.
Why does Event ID 102 appear multiple times in quick succession?+
Multiple Event ID 102 entries in quick succession often indicate a system struggling with power state transitions. This can happen when hardware doesn't properly support the requested power state, when drivers fail during the transition, or when wake events immediately trigger after entering sleep mode. Check for driver updates, especially for power management and USB devices, and review the detailed event information to identify the specific power states involved in the rapid transitions.
Can Event ID 102 help diagnose battery or power supply issues?+
Yes, Event ID 102 can provide insights into power-related hardware issues. Frequent unexpected power state transitions might indicate battery problems, failing power supplies, or thermal issues triggering protective shutdowns. Correlate Event ID 102 with other power events like Event ID 41 (unexpected shutdown) and Event ID 6008 (dirty shutdown) to build a complete picture. Also check if transitions correlate with battery level changes or AC power connection/disconnection events.
How do I configure power management to reduce Event ID 102 frequency?+
To optimize power management and reduce unnecessary Event ID 102 events, adjust your power plan settings in Control Panel → Power Options. Increase sleep timeouts if systems are entering sleep too frequently, disable unnecessary wake timers, and configure USB selective suspend appropriately for your environment. For servers, consider using High Performance power plan to minimize power state transitions. Use 'powercfg /energy' to generate recommendations for your specific system configuration and workload patterns.
Documentation

References (2)

Emanuel DE ALMEIDA
Written by

Emanuel DE ALMEIDA

Senior IT Journalist & Cloud Architect

Microsoft MCSA-certified Cloud Architect | Fortinet-focused. I modernize cloud, hybrid & on-prem infrastructure for reliability, security, performance and cost control - sharing field-tested ops & troubleshooting.

Discussion

Share your thoughts and insights

You must be logged in to comment.

Loading comments...