Right now, Windows 11 doesn’t let you see the exact "last wake" timestamp directly in Settings or Task Manager—but you can retrieve it with a command-line command (PowerShell or CMD) or via Event Viewer. The shortest reliable method is Get-CimInstance Win32_OperatingSystem | Select-Object LastWakeTime (PowerShell). If your PC was awake, this shows the last time it fully waked up from sleep or hibernation. If it’s blank, the system may be running in a low-power state or the data wasn’t recorded. This is useful for diagnosing sleep issues like waking stuck at a screen or delayed responses after turning off the computer.

What You'll Need

  • A Windows 11 PC with administrative privileges (some methods require elevated access).
  • An open command prompt (CMD), PowerShell, or Event Viewer (GUI).

Step-by-Step

  1. Open PowerShell (Admin) or CMD: Press Win + X, then select "Windows Terminal (Admin)" or "Command Prompt (Admin)" from the menu. If prompted by UAC, click Yes. Note: Labels may vary by version or region. On Windows 11, the "Admin" prompt is usually visible in the title bar.
  2. Run the PowerShell command: Type the following and press Enter: Get-CimInstance Win32_OperatingSystem | Select-Object LastWakeTime

    If successful, this displays the last wake time in a readable format, such as 2024-05-20T14:30:45.123Z. If no time appears, the system may be in a low-power state or the data wasn’t recorded.

    For CMD, use: wmic os get LastWakeTime

  3. Alternative: Check Event Viewer (GUI method):
    1. Press Win + X, then select "Event Viewer". If prompted, click Yes to allow administrative access.
    2. In the left pane, expand Windows Logs, then System.
    3. In the right pane, look for entries with the Event ID 6005 or 6006, which indicate wake events. Double-click an event to view details, including the time.
  4. Verify with Task Manager: Press Ctrl + Shift + Esc to open Task Manager. Go to the Performance tab, then click CPU to see the last wake time displayed near the bottom. This only shows if the system was fully active, not if it was sleeping.

Common Mistakes

  • Admin rights required: If you see a "Permission denied" error, close and reopen the command prompt as Administrator. This is not a system error—your account lacks elevated permissions.
  • Incorrect command syntax: Typos in `Get-CimInstance` or `wmic` commands will return no results or errors. Double-check spelling (e.g., "Win32_OperatingSystem," not "Win32_OperationSystem").
  • PowerShell not enabled: Older Windows versions (pre-10) may not support PowerShell commands. Use CMD instead if needed.
  • Event Viewer not showing wake logs: If no wake events appear, the system may be running in "Fast Startup" mode (hybrid sleep), which doesn’t always log wake times. Test this by disabling Fast Startup in Settings > System > About > Additional settings > Power options > Choose what the power buttons do > Change settings currently unavailable, then restart and check again.

Tips

  • Compare times: Use the PowerShell command to check wake times across multiple sessions. If the time is inconsistent (e.g., 2024-05-20T14:30 and 2024-05-20T14:31), your PC may be waking up repeatedly due to scheduled tasks, network activity, or other triggers.
  • Check BIOS settings: Some PCs ignore the "Last Wake Time" if BIOS/UEFI is set to disable PST (Power State Transitions). Enter BIOS by pressing F2, Del, or Esc during startup and confirm that PST is enabled.
  • Test with a clean boot: If the PC wakes up unexpectedly, run a clean boot to rule out third-party software:
    1. Open Task Manager, press More details, then Startupapps. Disable non-Microsoft apps one by one and check wake times.
  • Use WMI (Windows Management Instrumentation): For advanced users, run: wmic path win32_operatingsystem get lastwakeuptime (may require enabling WMI remoting if not already set up).

Troubleshooting

If the command returns no data, start with these simplest fixes:

  1. Restart the PC: Wake times may be cached. Force a shutdown by holding the power button for 10 seconds, then restart. Check again.
  2. Update Windows: Go to Settings > Windows Update > Check for updates and install all pending updates. Outdated drivers (especially for the chipset or BIOS) can cause wake time records to fail.
  3. Check power settings: Ensure the PC is set to Normal power management, not Power saver or High performance. Go to Settings > System > Power & sleep and set When on battery and When plugged in to Balance or Normal.
  4. Reinstall the OS: If wake times persist and you suspect hardware issues (e.g., RAM failure), back up data and perform a clean Windows 11 reinstall. Warning: This deletes all installed programs and personal files. Use an external drive for backups.
  5. Check for system logs: Open Event Viewer and filter for System logs under Win32-PerfFormattedData-Counter. Look for Wake Reason entries. These may indicate the cause (e.g., Network wake or Scheduled Task).

Frequently Asked Questions

Why doesn’t my PC show a wake time?

The system may be running in a low-power state (e.g., hiberfil.sys is active), or your BIOS/UEFI settings disable wake logging. Try disabling hibernation via Settings > System > About > Additional settings > Power options (uncheck Turn on fast startup), then restart and check.

How do I see wake times if Event Viewer doesn’t show them?

Use the PowerShell command Get-CimInstance Win32_OperatingSystem—this is the most reliable method. If it still fails, your PC might not log wake events by default; check BIOS settings or contact your PC manufacturer for model-specific logs.

What if I get an error like “Access Denied”?

Run the command prompt or PowerShell as Administrator. If the issue persists, your account permissions may be too restricted—ask an admin to grant you elevated access.

Can I force my PC to log wake times for debugging?

Enable verbose logging in Windows by adding these registry keys (backup first):

  1. Open regedit and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters.
  2. Add a DWORD value named PortSettings with value 0x00000011. Restart the PC.
This may expose more wake reasons but may also cause instability.

Why does my PC wake up at random times?

Common causes include:

  • Scheduled tasks (check Task Scheduler via taskschd.msc).
  • Network activity (Wi-Fi/Bluetooth may wake the PC).
  • Desktop notifications (apps sending wake notifications).
  • Power-saving settings (e.g., Always on for screens in some PCs).
Use a clean boot and check Event Viewer for Wake Reason codes.

Does last wake time differ between sleep and hibernation?

Yes. Sleep (S3) and hibernation (S4) have distinct wake behaviors:

  • Sleep: The PC stores minimal state; wake times are logged near the event.
  • Hibernation: The system loads hiberfil.sys on shutdown; wake times may not be logged if the PC was in a low-power state.
To test hibernation logging, force hibernation with powercfg /h on in CMD.