General discussion

  • Creator
    Topic
  • #2296693

    Windows 2000 server Telnet

    Locked

    by navjun ·

    I need to reboot the windows 2000 server from outside and the only way I can conect to it is telnet . is there is a command to reboot the server useing telnet?

    please help

    Thank you

    Navid

All Comments

  • Author
    Replies
    • #2673552

      Reply To: Windows 2000 server Telnet

      by joseph moore ·

      In reply to Windows 2000 server Telnet

      Ok, you use the Windows 2000 Telnet Service, right? Ok, then I have an idea for you.
      No, there is no shutdown command in the Telnet server, nor can the TLNTADMN.exe (I think I am spelling that right) do that either.
      But, once you connect via the Telnet client, it is just like being there on the server. You can initiate any command-line based program and see it work.
      So, my idea is for you to run a command line shutdown program that reboots the server. The one I use is PSSHUTDOWN.EXE from Sysinternals.com

      You can get the file here:
      http://www.sysinternals.com/ntw2k/freeware/psshutdown.shtml

      Download PSSHUTDOWN and put it on the Win2K server you want to reboot. Do it the next time you can get to the server, not via Telnet.

      Put the file in the WINNT\System32 folder, so it will be in the system PATH statement and so you can run it from any directory.

      Ok, now when you need to connect via Telnet and reboot the server, just run this from the command line:

      PSSHUTDOWN.EXE -f -r -l

      That says to Force all applications to close, Reboot the server, and run this on the Local machine.

      That will do it. I tested it on a server, and it shutdown.

      hope this helps

      • #2673392

        Reply To: Windows 2000 server Telnet

        by navjun ·

        In reply to Reply To: Windows 2000 server Telnet

        Thanks,
        I needed this b/c I was not able to get to the server any time soon and didn’t want to have anyone else to reboot it. what I actually did. that I put the psshutdoen.exe on and ftp server loged in to my server with telnet and download the file to the server by ftp and then ran it . and the server rebooted .

        Thank you

    • #2673536

      Reply To: Windows 2000 server Telnet

      by allan13 ·

      In reply to Windows 2000 server Telnet

      Another way to do this is to use the built in Terminal Server of Win2K Server. If you can connect with Telnet you should also be able to connect with TS. From the TS session you can directly reboot the server.

    • #2673391

      Reply To: Windows 2000 server Telnet

      by navjun ·

      In reply to Windows 2000 server Telnet

      This question was closed by the author

Viewing 2 reply threads