Re: tsshutdn command

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Yes, I think APC is right. tsshutdn is not what you want in this
situation.
But you can let PowerChute do the notifications to your users as
well, and you could run a script which resets all sessions before
PowerChute shuts the server down.
I don't think that it will be much of a difference to the user
data, if there are open sessions, but it might be a bit more
gracefully to the server when the sessions are gone before the
server shuts down.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

"Brad Pears" <bradp@xxxxxxxxxxxxxxxxxxxxx> wrote on 24 aug 2007 in
microsoft.public.windows.terminal_services:

Yes, that is exactly what I as talking about... In the
powerchute business edition software you can have a script run
as part of the shutdown process. I was just thinking that
running a script which issues the "tsshutdn" command might more
gracefully shut the terminal server down than what the
Powerchute software would do. (but maybe I am wrong?) Anyway, I
think I will just have to stick with APC shutting the server
down itself as it appears that "tsshutdn" will shut the
computer right off - thus meaning that APC can not restart the
server once power is restored. At least that is what they told
me at APC!

Thanks, Brad

"Vera Noest [MVP]" <vera.noest@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message
news:Xns9994E3A8966D4veranoesthemutforsse@xxxxxxxxxxxxxxxx
Do you mean APC SmartUPS? That comes with manegement software,
PowerChute, which you can configure to do all this.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

Helge Klein <Helge.Klein@xxxxxxxxxxxxxx> wrote on 22 aug 2007
in microsoft.public.windows.terminal_services:

I think it does not matter whether you add "/powerdown" or
not. In either case the machine shuts down just as if you
would use the command start -> shutdown.

I hope this helps.

Helge

On 22 Aug., 21:30, "Brad Pears" <br...@xxxxxxxxxxxxxxxxxxxxx>
wrote:
In a power fail situation (we seem to have them often where
we are located) I want to run a script on our terminal server
to notify the users of an imminent shutdown and then actually
shut the terminal server down. To do this I thought I would
use the "tsshutdn 120" command to shut the terminal server
down in 2 minutes. The actual script this command is embedded
in will not have run until after having already been on UPS
battery power for 5 minutes so that should give users plenty
of time to get off the system.

However, I want to ensure that the server can be powered back
up unattended by the attached Smart UPS once power is
restored. I ahve my UPS configured to do this once 15%
battery power has been attained.

My question is this... Will using the "tsshutdn" command
without the "/powerdown" command simply shut the OS down
leaving the machine running or does it actully shut the
server right down? If it shuts right down, then the UPS will
be unable to restart the server - which would be a problem if
the power failure is in the evening and there is no one here
to power it back up...

Thanks, Brad
.



Relevant Pages

  • Re: Slow Start-up. No Start-up!
    ... I wanted to agree and add a few more search words at the bottom to help ... servers, if the 2003 server makes it there at all. ... If you absolutely don't want/can't reboot, you can KILL the PowerChute ... explorer.exe hangs APC services in show starting windows ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003 hangs "applying computer settings"
    ... I can confirm that the reason why my SBS box has been hanging is due to the ... APC Powerchute software. ... and then installed the latest version 7.0.4 of the PowerChute Business ... Forced re-boot of the server (power ...
    (microsoft.public.windows.server.sbs)
  • Re: wmiprvse.exe causing CPU to run at 100%
    ... Is your APC PowerChute software the latest version? ... It's been over a year I think, but there was a version in which a necessary Java security certificate had expired, and PowerChute ate up huge amounts of CPU. ... we too found that unplugging and re-plugging the USB cable (at the UPS ... cable from my APC unit to my Dell server. ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS UPS control panel
    ... PowerChute will be helpful for that. ... I did have a long talk with an APC rep about the PowerChute 6 ... > Merv Porter ... and the server has shut down gracefully every time. ...
    (microsoft.public.windows.server.sbs)
  • Re: Windows 2003 SBS Hangs on "Applying computer Settings"
    ... The APC BDE Server & Console service are still in a Stopping & Starting ... state after a reboot. ... > work on workstations in relation to Internet access, ...
    (microsoft.public.windows.server.sbs)