Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Server kills rdp access on scheduled reboot - doesnt actually reboot

Posted on 2012-03-21
Medium Priority
Last Modified: 2012-07-21

We have a bit of a recurring issue with one of our servers

Its a SBS 2003 box, nothing particularly special or different about the setup - but one thing that has cropped up recently is an issue that happens on its scheduled reboot

Basically, in whole - it doesn't reboot. The scheduled task fires (it emails us that it has) then is 'supposed' to reboot the server via the shutdown command

shutdown /r /t 100 /c "scheduled reboot" /f /d p:4:1

What then happens is that the server doesnt restart - we can still communicate with the server - emails, file shares and everything works fine - except we cannot connect to the server via RDP. We also cannot stop the terminal services service on the server - doesnt respond to any server commands remotely

The server just doesnt respond to RDP requests - we can still connect to the server console via the IDRAC on the machine

I've done some reading and I've seen that this can happen and that the remedy is to use the tsshutdn command in lieu - but this results in the same issue

I've also tried to stop the terminal services as part of the shutdown sequence - but this hasnt helped either

Machine is fully patched - any ideas?
Question by:HeronTech
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 11

Expert Comment

by:Venugopal N
ID: 37751072
Did the Schedule task say it run successfully, what was the exit code for the scheduled task.
LVL 10

Expert Comment

by:Michael Ian Claridge
ID: 37751233
What is the resource availability look like on the server? The issue could be that the server doesn't have available memory to action the request. (Just an idea).

Expert Comment

ID: 37751695
Any anti-virus stopping it?

Accepted Solution

HeronTech earned 0 total points
ID: 37755309
Did the Schedule task say it run successfully, what was the exit code for the scheduled task.

If you read the question - you would see that I've already addressed this. I know the scheduled task runs as the scheduled task also emails us prior to the server being rebooted (via blat)

What is the resource availability look like on the server? The issue could be that the server doesn't have available memory to action the request. (Just an idea).

Physical memory
Total physical memory - 4193500 k
Available - 2441570 k

Kernal memory
Total - 108224 k
Paged - 57064 k
Non Paged - 51144 k

Page file usage is 2.9 GB out of a total of 6 gb. It is running exchange 2003 with about 50 mailboxes or so

Any anti-virus stopping it?

Hard to say. I dont understand why the AV would allow part of the batch file to run, but not the rest. We also use the same AV on another machine in the same site that reboots in the same fashion and it does not have this same issue

Other server isnt running exchange - probably only discernable difference between the two servers

Author Closing Comment

ID: 38209855
I ended up solving this myself - finding the overall cause to be most unusual

The scheduled reboot task - amongst other things was installing windows updates prior the reboot

This task was actually failing with no error codes. I tracked it down to a faulty update that wasnt applicable to the server - once I removed the offending update - the server has been rebooting fine since

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The problem of the system drive in SBS 2003 getting full continues to be an issue, even though SBS 2008 and SBS 2011 are both in the market place.  There are several solutions to this, including adding additional drive space or using third party uti…
If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question