Re: Connection Error when Rebooting



Hi,

I was addressing Hank's question more so than your particular issue. I am not saying you cannot use Start-->Shutdown-->Restart, just the opposite.

Most likely there is something running on your servers that is cancelling/stopping the shutdown. I think it is happening at a point in the process after TS connections are disabled, which would explain the behavior you are noticing.

Using the /F option prevents a process from stopping a shutdown by responding false or not at all--each process is terminated regardless. Even with /F there are cases where a kernel mode driver or other core windows process could prevent the shutdown from completing.

Do you have any warnings in the event log similar to this:

********************
Source: USER32 Event ID: 1073

Description:

The attempt by user <domain\username> to restart/shutdown computer <computer> failed

********************

What third-party software do you have running on the server as a windows service? For example, antivirus, backup agents, etc.

At the time you attempt to restart, is there any user logged on to the console, either remotely via an RDP console session, or physically at the console?

Can you think of anything about what is running on your servers or their configuration that is different from default settings? Try and think in terms of what is different from someone who *only* had the windows 2003 cd (no other software), and simply configured things as much as possible by clicking Next in the wizards for the various components.

If you can describe some of these differences that may help me direct you where to investigate. This could be a bug in windows.

If there is one of your servers that has this problem frequently, you could run tests by stopping certain services and then seeing if the restart happens without fail.

Below is some information that will help you understand the shutdown process:

Application Shutdown Changes in Windows Vista

http://msdn2.microsoft.com/en-us/library/ms700677.aspx

WM_QUERYENDSESSION

http://msdn2.microsoft.com/en-us/library/aa376890.aspx

System Shutdown Functions

http://msdn2.microsoft.com/en-us/library/aa376883.aspx

-TP

Dan wrote:
All of this info is appreciated, but I'm not sure either deals with
the direct issue that I have. Are all of you saying that I can't
simply go to Start > Shut Down > Restart? That seems a bit
ridiculous. The regular shutdown command works fine for me when I
use the /F option, but I don't want to do that during every restart.

By the way, this happens on non terminal servers that simply have
remote administration turned on as well.
.



Relevant Pages

  • RE: Remote restart of services
    ... This article describes how to use the Remote Shutdown tool ... to shut down and restart a local or remote Windows 2000-based or Microsoft ...
    (microsoft.public.win2000.general)
  • RE: Changing Password via Terminal Services causes Server Reboot (
    ... Unfortunately installing Windows 2003 SP1 didn't fix the problem that we are ... >> We are currently experiencing a problem with one of our Windows 2003 servers. ... Shutdown will begin in 58 seconds. ... The system will now shut down and restart. ...
    (microsoft.public.windows.server.general)
  • RE: Changing Password via Terminal Services causes Server Reboot (
    ... It looks like we've tracked this down to the Acronis Software. ... clean install of Windows 2003, Patched it all up, and then installed the ... Shutdown will begin in 58 seconds. ... The system will now shut down and restart. ...
    (microsoft.public.windows.server.general)
  • RE: Changing Password via Terminal Services causes Server Reboot (lsas
    ... > We are currently experiencing a problem with one of our Windows 2003 servers. ... Shutdown will begin in 58 seconds. ... The system will now shut down and restart. ... > faulting module msgina.dll, version 5.2.3790.0, fault address 0x000118e6. ...
    (microsoft.public.windows.server.general)
  • Re: Unexpected Restart
    ... First restart after installing an older version ... Immediately upgrading an older version of Windows Server? ... with the full install of SB Live! ... > Shutdown Type: restart ...
    (microsoft.public.windows.server.general)

Loading