Solved

Server kills rdp access on scheduled reboot - doesnt actually reboot

Posted on 2012-03-21
5
467 Views
Last Modified: 2012-07-21
Hello

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?
0
Comment
Question by:HeronTech
[X]
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
5 Comments
 
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.
0
 
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).
0
 
LVL 7

Expert Comment

by:PaulNSW
ID: 37751695
Any anti-virus stopping it?
0
 
LVL 1

Accepted Solution

by:
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
0
 
LVL 1

Author Closing Comment

by:HeronTech
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
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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