none
Why is my server entering sleep mode during the day? RRS feed

  • Question

  • Hello,

    Our Server 2008 (32 bit) has been shutting down on Tuesday mornings several weeks in a row now. When I check the event logs I see Kernel-power event ID 42 "The system is entering sleep." It is preceded by Event 102, Resource-Publication "The service temporarily stopped publishing because of a power event." Then followed immediately by Event 4202, Tcpip "The system detected that network adapter Local Area Connection was disconnected from the network and its network configuration has been released. If the network adapter was not disconnected, this may indicate that it has malfunctioned. Try updating the network adapter's drivers." 

    I have verified that sleep mode is disabled.

     

    Any ideas on what may be causing this?

     

    Thanks,

    Jared

    Tuesday, April 26, 2011 5:01 PM

Answers

  • Hi,

     

    Based on the current situation, would you please try to disable Sleep and Hibernation modes to test the issue?

     

    To disable Sleep mode, navigate to “Control Panel\Hardware\Power Options\Change when the computer sleeps” and select “Never” for “Put the computer to sleep” box.

     

    For how to disable Hibernation, please refer to the following Microsoft KB article:

     

    How to disable and re-enable hibernation on a computer that is running Windows

    http://support.microsoft.com/kb/920730

     

    Regards,

     

    Arthur Li

     TechNet Subscriber Support  in forum

    If you have any feedback on our support, please contact tngfb@microsoft.com .


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Friday, May 6, 2011 2:38 AM
    Moderator

All replies

  • Hi,

     

    Please check if there is a task schedule, a Group Policy or a script to put the Windows Server 2008 into sleep mode every Tuesday.

     

    If not, please perform a Clean Boot to test the issue on Tuesday to determine if there is a third party software conflicts. For the detailed steps, please refer to the following Microsoft KB article:

     

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.microsoft.com/kb/929135

     

    Regards,

     

    Arthur Li

     TechNet Subscriber Support  in forum

    If you have any feedback on our support, please contact tngfb@microsoft.com . 


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Proposed as answer by Soh.M Friday, May 6, 2011 2:47 AM
    Wednesday, April 27, 2011 5:48 AM
    Moderator
  • Hello,

    please see: http://support.microsoft.com/kb/2028504


    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Wednesday, April 27, 2011 9:03 AM
  • Hi,

     

    I would like to confirm what is the current situation? If there is anything that I can do for you, please do not hesitate to let me know, and I will be happy to help.

     

    Regards,

     

    Arthur Li

     TechNet Subscriber Support  in forum

    If you have any feedback on our support, please contact tngfb@microsoft.com .


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Monday, May 2, 2011 2:46 AM
    Moderator
  • Thank you for the response Arthur.

    I would like to troubleshoot with the clean boot method you have listed, but this is a production server and I can't have it down for an extended period of time. Do I have any other options?

    Thank you,

    Jared

    Tuesday, May 3, 2011 4:21 PM
  • Hello,

    Run powercfg /q ( powercfg /query)

    This reports the power settings in the current power scheme, make hte results available

     

    Also run powercfg /energy  and make the output available.


    Thanks, Darrell Gorter [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights. VAMT - Volume Activation Management Tool - Download link http://www.microsoft.com/downloads/details.aspx?FamilyID=ec7156d2-2864-49ee-bfcb-777b898ad582&displaylang=en
    Tuesday, May 3, 2011 9:56 PM
  • Thank you Darrell.

     

    I ran the powercfg /q on the server and my output is below. However, powercfg /engergy does not appear to be a recognized command. The only reference I could find was related to Windows 7.

    Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e  (Balanced)

      Subgroup GUID: fea3413e-7e05-4911-9a71-700331f1c294  (Settings belonging to no

     subgroup)

        Power Setting GUID: 0e796bdb-100d-47d6-a2d5-f7d2daa51f51  (Require a passwor

    d on wakeup)

          Possible Setting Index: 000

          Possible Setting Friendly Name: No

          Possible Setting Index: 001

          Possible Setting Friendly Name: Yes

        Current AC Power Setting Index: 0x00000001

        Current DC Power Setting Index: 0x00000001

     

      Subgroup GUID: 0012ee47-9041-4b5d-9b77-535fba8b1442  (Hard disk)

        Power Setting GUID: 6738e2c4-e8a5-4a42-b16a-e040e769756e  (Turn off hard dis

    k after)

          Minimum Possible Setting: 0x00000000

          Maximum Possible Setting: 0xffffffff

          Possible Settings increment: 0x00000001

          Possible Settings units: Seconds

        Current AC Power Setting Index: 0x00000000

        Current DC Power Setting Index: 0x00000000

     

      Subgroup GUID: 238c9fa8-0aad-41ed-83f4-97be242c8f20  (Sleep)

        Power Setting GUID: 29f6c1db-86da-48c5-9fdb-f2b67b1f44da  (Sleep after)

          Minimum Possible Setting: 0x00000000

          Maximum Possible Setting: 0xffffffff

          Possible Settings increment: 0x00000001

          Possible Settings units: Seconds

        Current AC Power Setting Index: 0x00000000

        Current DC Power Setting Index: 0x00000000

     

        Power Setting GUID: 94ac6d29-73ce-41a6-809f-6363ba21b47e  (Allow hybrid slee

    p)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Off

          Possible Setting Index: 001

          Possible Setting Friendly Name: On

        Current AC Power Setting Index: 0x00000001

        Current DC Power Setting Index: 0x00000001

     

        Power Setting GUID: 9d7815a6-7ee4-497e-8888-515a05f02364  (Hibernate after)

          Minimum Possible Setting: 0x00000000

          Maximum Possible Setting: 0xffffffff

          Possible Settings increment: 0x00000001

          Possible Settings units: Seconds

        Current AC Power Setting Index: 0x00000000

        Current DC Power Setting Index: 0x00000000

     

      Subgroup GUID: 2a737441-1930-4402-8d77-b2bebba308a3  (USB settings)

        Power Setting GUID: 48e6b7a6-50f5-4782-a5d4-53bb8f07e226  (USB selective sus

    pend setting)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Disabled

          Possible Setting Index: 001

          Possible Setting Friendly Name: Enabled

        Current AC Power Setting Index: 0x00000000

        Current DC Power Setting Index: 0x00000001

     

      Subgroup GUID: 4f971e89-eebd-4455-a8de-9e59040e7347  (Power buttons and lid)

        Power Setting GUID: 5ca83367-6e45-459f-a27b-476b1d01c936  (Lid close action)

     

          Possible Setting Index: 000

          Possible Setting Friendly Name: Do nothing

          Possible Setting Index: 001

          Possible Setting Friendly Name: Sleep

          Possible Setting Index: 002

          Possible Setting Friendly Name: Hibernate

          Possible Setting Index: 003

          Possible Setting Friendly Name: Shut down

        Current AC Power Setting Index: 0x00000001

        Current DC Power Setting Index: 0x00000001

     

        Power Setting GUID: 7648efa3-dd9c-4e3e-b566-50f929386280  (Power button acti

    on)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Do nothing

          Possible Setting Index: 001

          Possible Setting Friendly Name: Sleep

          Possible Setting Index: 002

          Possible Setting Friendly Name: Hibernate

          Possible Setting Index: 003

          Possible Setting Friendly Name: Shut down

        Current AC Power Setting Index: 0x00000003

        Current DC Power Setting Index: 0x00000003

     

        Power Setting GUID: 96996bc0-ad50-47ec-923b-6f41874dd9eb  (Sleep button acti

    on)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Do nothing

          Possible Setting Index: 001

          Possible Setting Friendly Name: Sleep

          Possible Setting Index: 002

          Possible Setting Friendly Name: Hibernate

          Possible Setting Index: 003

          Possible Setting Friendly Name: Shut down

        Current AC Power Setting Index: 0x00000000

        Current DC Power Setting Index: 0x00000000

     

        Power Setting GUID: a7066653-8d6c-40a8-910e-a1f54b84c7e5  (Start menu power

    button)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Sleep

          Possible Setting Index: 001

          Possible Setting Friendly Name: Hibernate

          Possible Setting Index: 002

          Possible Setting Friendly Name: Shut down

        Current AC Power Setting Index: 0x00000002

        Current DC Power Setting Index: 0x00000002

     

      Subgroup GUID: 501a4d13-42af-4429-9fd1-a8218c268e20  (PCI Express)

        Power Setting GUID: ee12f906-d277-404b-b6da-e5fa1a576df5  (Link State Power

    Management)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Off

          Possible Setting Index: 001

          Possible Setting Friendly Name: Moderate power savings

          Possible Setting Index: 002

          Possible Setting Friendly Name: Maximum power savings

        Current AC Power Setting Index: 0x00000001

        Current DC Power Setting Index: 0x00000002

     

      Subgroup GUID: 54533251-82be-4824-96c1-47b60b740d00  (Processor power manageme

    nt)

        Power Setting GUID: 68f262a7-f621-4069-b9a5-4874169be23c  (Processor power C

    State settings)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Power saver

          Possible Setting Index: 001

          Possible Setting Friendly Name: Power saver

          Possible Setting Index: 002

          Possible Setting Friendly Name: Balanced

          Possible Setting Index: 003

          Possible Setting Friendly Name: Balanced

          Possible Setting Index: 004

          Possible Setting Friendly Name: High performance

          Possible Setting Index: 005

          Possible Setting Friendly Name: High performance

        Current AC Power Setting Index: 0x00000002

        Current DC Power Setting Index: 0x00000003

     

        Power Setting GUID: 893dee8e-2bef-41e0-89c6-b55d0929964c  (Minimum processor

     state)

          Minimum Possible Setting: 0x00000000

          Maximum Possible Setting: 0x00000064

          Possible Settings increment: 0x00000001

          Possible Settings units: %

        Current AC Power Setting Index: 0x00000005

        Current DC Power Setting Index: 0x00000005

     

        Power Setting GUID: bbdc3814-18e9-4463-8a55-d197327c45c0  (Processor power P

    erfState settings)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Power saver

          Possible Setting Index: 001

          Possible Setting Friendly Name: Power saver

          Possible Setting Index: 002

          Possible Setting Friendly Name: Balanced

          Possible Setting Index: 003

          Possible Setting Friendly Name: Balanced

          Possible Setting Index: 004

          Possible Setting Friendly Name: High performance

          Possible Setting Index: 005

          Possible Setting Friendly Name: High performance

          Possible Setting Index: 006

          Possible Setting Friendly Name: Balanced

          Possible Setting Index: 007

          Possible Setting Friendly Name: Balanced

        Current AC Power Setting Index: 0x00000007

        Current DC Power Setting Index: 0x00000003

     

        Power Setting GUID: bc5038f7-23e0-4960-96da-33abaf5935ec  (Maximum processor

     state)

          Minimum Possible Setting: 0x00000000

          Maximum Possible Setting: 0x00000064

          Possible Settings increment: 0x00000001

          Possible Settings units: %

        Current AC Power Setting Index: 0x00000064

        Current DC Power Setting Index: 0x00000064

     

      Subgroup GUID: 7516b95f-f776-4464-8c53-06167f40cc99  (Display)

        Power Setting GUID: 3c0bc021-c8a8-4e07-a973-6b14cbcb2b7e  (Turn off display

    after)

          Minimum Possible Setting: 0x00000000

          Maximum Possible Setting: 0xffffffff

          Possible Settings increment: 0x00000001

          Possible Settings units: Seconds

        Current AC Power Setting Index: 0x000004b0

        Current DC Power Setting Index: 0x0000012c

     

        Power Setting GUID: 90959d22-d6a1-49b9-af93-bce885ad335b  (Adaptive display)

     

          Possible Setting Index: 000

          Possible Setting Friendly Name: Off

          Possible Setting Index: 001

          Possible Setting Friendly Name: On

        Current AC Power Setting Index: 0x00000001

        Current DC Power Setting Index: 0x00000001

     

        Power Setting GUID: aded5e82-b909-4619-9949-f5d71dac0bcb  (Display brightnes

    s)

          Minimum Possible Setting: 0x00000000

          Maximum Possible Setting: 0x00000064

          Possible Settings increment: 0x00000001

          Possible Settings units: %

        Current AC Power Setting Index: 0x00000064

        Current DC Power Setting Index: 0x00000028

     

      Subgroup GUID: e73a048d-bf27-4f12-9731-8b2076e8891f  (Battery)

        Power Setting GUID: 637ea02f-bbcb-4015-8e2c-a1c7b9c0b546  (Critical battery

    action)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Do nothing

          Possible Setting Index: 001

          Possible Setting Friendly Name: Sleep

          Possible Setting Index: 002

          Possible Setting Friendly Name: Hibernate

          Possible Setting Index: 003

          Possible Setting Friendly Name: Shut down

        Current AC Power Setting Index: 0x00000000

        Current DC Power Setting Index: 0x00000002

     

        Power Setting GUID: 8183ba9a-e910-48da-8769-14ae6dc1170a  (Low battery level

    )

          Minimum Possible Setting: 0x00000000

          Maximum Possible Setting: 0x00000064

          Possible Settings increment: 0x00000001

          Possible Settings units: %

        Current AC Power Setting Index: 0x0000000a

        Current DC Power Setting Index: 0x00000032

     

        Power Setting GUID: 9a66d8d7-4ff7-4ef9-b5a2-5a326ca2a469  (Critical battery

    level)

          Minimum Possible Setting: 0x00000000

          Maximum Possible Setting: 0x00000064

          Possible Settings increment: 0x00000001

          Possible Settings units: %

        Current AC Power Setting Index: 0x00000005

        Current DC Power Setting Index: 0x0000000a

     

        Power Setting GUID: bcded951-187b-4d05-bccc-f7e51960c258  (Low battery notif

    ication)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Off

          Possible Setting Index: 001

          Possible Setting Friendly Name: On

        Current AC Power Setting Index: 0x00000001

        Current DC Power Setting Index: 0x00000001

     

        Power Setting GUID: d8742dcb-3e6a-4b3c-b3fe-374623cdcf06  (Low battery actio

    n)

          Possible Setting Index: 000

          Possible Setting Friendly Name: Do nothing

          Possible Setting Index: 001

          Possible Setting Friendly Name: Sleep

          Possible Setting Index: 002

          Possible Setting Friendly Name: Hibernate

          Possible Setting Index: 003

          Possible Setting Friendly Name: Shut down

        Current AC Power Setting Index: 0x00000000

        Current DC Power Setting Index: 0x00000000

    Wednesday, May 4, 2011 3:05 AM
  • Hi,

     

    Based on the current situation, would you please try to disable Sleep and Hibernation modes to test the issue?

     

    To disable Sleep mode, navigate to “Control Panel\Hardware\Power Options\Change when the computer sleeps” and select “Never” for “Put the computer to sleep” box.

     

    For how to disable Hibernation, please refer to the following Microsoft KB article:

     

    How to disable and re-enable hibernation on a computer that is running Windows

    http://support.microsoft.com/kb/920730

     

    Regards,

     

    Arthur Li

     TechNet Subscriber Support  in forum

    If you have any feedback on our support, please contact tngfb@microsoft.com .


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Friday, May 6, 2011 2:38 AM
    Moderator
  • OK. I have performed the steps above, albeit a modified version of disabling sleep mode (this is a Windows Server 2008, that path and options don't exist). We'll see what happens next Tuesday. Keep your fingers crossed!

    Thanks!

    Jared

    Friday, May 6, 2011 5:57 AM
  • I dont' see anything in the report above which should be the current power settings from the power scheme, the energy option was new for Windows Server 2008 R2, didn't notice that this was Windows 2008( or Windows 7).

     


    Thanks, Darrell Gorter [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights. VAMT - Volume Activation Management Tool - Download link http://www.microsoft.com/downloads/details.aspx?FamilyID=ec7156d2-2864-49ee-bfcb-777b898ad582&displaylang=en
    Sunday, May 8, 2011 10:24 PM
  • Hi,

     

    I would like to confirm if the issue reoccurred on Tuesday? Have the issue been fixed?

     

    Regards,

     

    Arthur Li

     TechNet Subscriber Support  in forum

    If you have any feedback on our support, please contact tngfb@microsoft.com . 


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Friday, May 13, 2011 6:51 AM
    Moderator