• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

How to Shutdown a NT-PC via TCP-IP message

Hello !

I have several NT-PC's and some VMS-Alpha's which are connected to a UPS. The VMS-Alpha gets the signal if the UPS
is ok via OSI-Communication to Siemens S7.

Now I want to shutdown the NT-PC's via a TCP/IP message. The receiving program on NT should be started as a service and start a batch-job (where I can shutdown my programs) and afterwards shutdown the system, without asking the operator
for any input.

2 Questions:
a) Does somebody have a program like that ?
b) How can I shutdown a NT-PC without any further questions
   by the system (like: It's save now to .....) This would
   give me the possibility to write my own program.

Thanks for your help !
  • 2
1 Solution
the thing you can do is download the WebAdmin 2.0 kit from www.microsoft.com/backoffice and install it. There you have an option to reboot the server through a web interface. Alternatively, you can install either of rcmd or rlogin from the resource kit, along with shutdown.exe and then log in to the server from any windows machine. finally, you could install a simple telnet agent (i have one of those for free if you need it) and shutdown.exe, then telnet to the machine and execute shutdown.
gnowAuthor Commented:
This was a good help. I installed the telnet-daimon from the resource-kit
and could do a shutdown manually.

I still have one problem: This must happen automatically. I have tried a couple
of things in getting the telnet program on VMS making an connection to
my PC, without entering anything. I didn't get there !

Any VMS-DCL-Experts around ? I tried to use a file like this:
$ telnet
  connect laptop

It didn't work, So I tried telnet @test.com whereby test.com was looking like this:
  connect laptop

Unfortunatelly telnet doesn't have an option like ftp has (/input=).

I know this can be done by rexec:
To get the telnetd-program running, I had to install the "Remote Session Manager"
on NT. Does this RSM support rexec or rsh ? If yes: Any examples on how
to use rexec on VMS 7.1 . If I try it, the program stops with a crash printout.

mh...that's hard because i know of no client for the windows that supports automatic login...i will look though!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now