Windows Server 2008 Hangs During Shutdown

Proposed Windows Server 2008 Hangs During Shutdown

  • Wednesday, March 07, 2012 8:31 PM
     
     
    Hey Everybody, Recently our Dell Poweredge Server 2950/Windows Server 2008 and it is a domain controller freezes during shutdown. To give some extra details; it gets to "stopping services and then it just freezes and you cant shut it down properly, any ideas?

    Taylor C A+ (2009 Objectives) Network+ (2009 Objectives) MCTS Configuring Windows Vista Client 70-620

All Replies

  • Thursday, March 08, 2012 1:00 AM
     
     
    Can you connect to it remotely with Computer Management MMC once it gets to that stage?  Im thinking you might be able to browse the list of services on it and see which one is stuck in 'Stopping' phase....

    Stew

  • Thursday, March 08, 2012 3:44 AM
     
     
    In the eventlog of the server, do you see in the system's log the last service that write there that it close ?

    MCP | MCTS 70-236: Exchange Server 2007, Configuring

  • Wednesday, April 04, 2012 4:00 AM
     
     

    I am also facing same issue on this. Anyone know what is the soluion? My server is a Window 2008 32bit with SP2 and 4gb ram.

  • Wednesday, April 04, 2012 4:03 AM
     
     

    Please check the event logs of the server and post the events here.

    Regards,

    _Prashant_


    MCSA|MCITP SA|Microsoft Exchange 2003 Blog - http://prashant1987.wordpress.com Disclaimer: This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • Wednesday, April 04, 2012 4:30 AM
     
     

    have you done what i mention above?


    Stew

  • Wednesday, April 04, 2012 5:17 AM
     
     

    The last eventlog that i have is just stated the eventlog stopped

  • Wednesday, April 04, 2012 6:25 AM
     
     

    have you done what i mention above?


    Stew

    I tried, the error that I had is the server is shutting down.
  • Wednesday, April 04, 2012 6:35 AM
     
     
    so you couldnt remotely manage the box and see the services?

    Stew

  • Wednesday, April 04, 2012 6:47 AM
     
     

    ya.. cannot see anything. Once it reach the screen Shutting down. that is the error i have immediately..

  • Wednesday, April 04, 2012 11:07 AM
     
     
    how old is the h/w which runs your DC ? Looks like server firmware issue to me ! you might want to update the firmware for this server to check if it makes any difference in the situation.

    Knowledge Seeker

  • Wednesday, April 04, 2012 11:20 AM
     
     

    How much free space have you got on your boot partition?

  • Wednesday, April 04, 2012 11:30 AM
     
     

    [Local Computer Policy\Computer Configuration\Windows Settings\Security
    Settings\Local Policies\Security Options]
    Shutdown: Clear virtual memory pagefile Enabled

    1. Start Registry Editor (Regedt32.exe).

    2. Change the data value of the ClearPageFileAtShutdown value in the following registry key to a value of 0:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

    If the value does not exist, add the following value:

    Value Name: ClearPageFileAtShutdown
    Value Type: REG_DWORD
    Value: 0


    ☺ PirH@Di ♣

  • Thursday, April 05, 2012 12:30 AM
     
     

    How much free space have you got on your boot partition?

    Presently, I am having about 100Gb free space in the disk

    As for the hardware, it is about 3 yrs old. Let me check with the Dell website to confirm if there is a new firmware on this server.

  • Thursday, April 05, 2012 12:44 AM
     
     

    Manually kill all process and service before to try to shutdown the server and just let the minimum to stay in windows and try again, you might find the one that block the shutdown.

    If everything is close and the symptom happen again, windows update and driver update.

    In the past found in my case for that symptom that an AV locked the registry, thus blocking the shutdown correctly, and windows update on another server. So the cause might be anything that run on the server.


    MCP | MCTS 70-236: Exchange Server 2007, Configuring

  • Friday, April 06, 2012 5:39 AM
     
     

    Manually kill all process and service before to try to shutdown the server and just let the minimum to stay in windows and try again, you might find the one that block the shutdown.

    If everything is close and the symptom happen again, windows update and driver update.

    In the past found in my case for that symptom that an AV locked the registry, thus blocking the shutdown correctly, and windows update on another server. So the cause might be anything that run on the server.


    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    manually disable the SAV also no use. The registry setting for the clearpageatshutdown also no issue.

    Any other suggestion?

  • Friday, April 06, 2012 6:18 AM
     
     Proposed

    There could be N number of possibilities for getting system or server hang, during start up or during shutdown. As you have not mentioned anything on blue dump so I'm assuming that you haven't got blue dump till now.

    Your Server is in hanged state means server is in busy state with some task processing and mostly it may in state of trying to close some of your open Application or services. You can see folk are suggesting you to close all application before shutting down your system, someone has suggested to change the registry value to disable clear virtual memory which may be reason.

    I will suggest you for 2 things:

    1. Investigate event log for clue

    2. If you didn't get you luck trying option on then initiate your server to generate a blue dump and then do the analysis to get idea what could be the problem.

    How to generate a blue Dump please go through this knowledge article: http://support.microsoft.com/kb/927069, http://msdn.microsoft.com/en-us/windows/hardware/gg463172

    Thanks| Ashok kumar

             

    • Proposed As Answer by Ashokkr Friday, April 06, 2012 6:18 AM
    •  
  • Friday, April 06, 2012 3:13 PM
     
     

    Manually kill all process and service before to try to shutdown the server and just let the minimum to stay in windows and try again, you might find the one that block the shutdown.

    If everything is close and the symptom happen again, windows update and driver update.

    In the past found in my case for that symptom that an AV locked the registry, thus blocking the shutdown correctly, and windows update on another server. So the cause might be anything that run on the server.


    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    manually disable the SAV also no use. The registry setting for the clearpageatshutdown also no issue.

    Any other suggestion?

    Did you closed all unacessary Windows service/process by hand before making the shutdown ?

    MCP | MCTS 70-236: Exchange Server 2007, Configuring

  • Monday, April 09, 2012 6:32 PM
     
     
    We actually started experiencing the same issue a couple months ago on a few different servers in our environment.  Unfortunately, the event log is clean and the only common thing we can find is that they are all 2008 32-bit systems.  Seen it happen on VMs and physical HW, so it rules out firmware.
  • Wednesday, April 18, 2012 7:30 PM
     
     
    The Event Log is clean on mine so there is no point in wasting space. Except mine is 64 bit machine. As I said above it just freezes during shutdown when it gets to stopping services and its just on the domain controller. it should be noted that i tested this on our backup domain controller which is a virtual machine and it does the same thing.

    Taylor C A+ (2009 Objectives) Network+ (2009 Objectives) MCTS Configuring Windows Vista Client 70-620