Sony VAIO randomly enters sleep mode, Kernel-Power EventID 42

My Sony VAIO randomly goes to sleep after a couple minutes. The sleep setting--both with and without battery power--is set to 'never' (so it should never sleep if the system is idle, right?). Here is the event log:

Log Name:      System
Source:        Microsoft-Windows-Kernel-Power
Date:          2/21/2015 11:19:17 AM
Event ID:      42
Task Category: (64)
Level:         Information
Keywords:      (4)
User:          N/A
Computer:      valika-VAIO
Description:
The system is entering sleep.

Sleep Reason: System Idle
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" />
    <EventID>42</EventID>
    <Version>2</Version>
    <Level>4</Level>
    <Task>64</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000004</Keywords>
    <TimeCreated SystemTime="2015-02-21T16:19:17.356068200Z" />
    <EventRecordID>34416</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="552" />
    <Channel>System</Channel>
    <Computer>valika-VAIO</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="TargetState">5</Data>
    <Data Name="EffectiveState">5</Data>
    <Data Name="Reason">7</Data>
    <Data Name="Flags">0</Data>
  </EventData>
</Event>

I could not find an answer to this problem myself. Please let me know if there's anything I could do to fix the problem!
Thanks!

February 21st, 2015 7:54pm

Vali

Please upload the event viewer logs and run this from an elevated command prompt powercfg -a to tell us the supported sleep states.

Please provide us with your Event Viewer administrative logs by following these steps:


Click Start Menu
Type eventvwr into Search programs and files (do not hit enter)
Right click eventvwr.exe and click Run as administrator
Expand Custom Views
Click Administrative Events
Right click Administrative Events
Save all Events in Custom View As...
Save them in a folder where you will remember which folder and save as Errors.evtx
Go to where you saved Errors.evtx
Right click Errors.evtx -> send to -> compressed (zipped) folder
Upload the .zip file to Onedrive or a file sharing service and put a link to it in your next post * If you have updated to win 8.1 and you get the error message "the system cannot find the file specified" it is a known problem.  The work around is to edit the registry.  If you are not comfortable doing this DONT.  If you are, backup the key before you do Press Win+"R" and input regedit
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels. Delete "Microsoft-Windows-DxpTaskRingtone/Analytic"

Free Windows Admin Tool Kit Click here and download it now
February 21st, 2015 8:02pm

from an elevated command prompt, here is the output of powercfg -a:
C:\>powercfg -a
The following sleep states are available on this system:
    Hibernate
    Fast Startup

The following sleep states are not available on this system:
    Standby (S1)
        The system firmware does not support this standby state.
        An internal system component has disabled this standby state.
                Graphics

    Standby (S2)
        The system firmware does not support this standby state.
        An internal system component has disabled this standby state.
                Graphics

    Standby (S3)
        An internal system component has disabled this standby state.
                Graphics

    Standby (Connected)
        The system firmware does not support this standby state.

    Hybrid Sleep
        Standby (S3) is not available.


  • Edited by vali7oscar Saturday, February 21, 2015 10:32 PM removed unnecessary link
February 22nd, 2015 1:23am

Update: I figured this out after noticing that my computer was hibernating, not sleeping, after running the powercfg -a command above.

I managed to 'fix' it...

Control panel -> Power options -> Change plan settings -> Change advanced power settings

under "Sleep" there should be a Hibernate after: setting. Mine said Hibernate after: Plugged in: 2 minutes. I just changed 2 to 60. Thanks for all help.

  • Marked as answer by vali7oscar Saturday, February 21, 2015 10:31 PM
Free Windows Admin Tool Kit Click here and download it now
February 22nd, 2015 1:31am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics