Results 1 to 10 of 10

Thread: re: Remote Shutdown (Razzle)

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    7

    Post

    I have a similar situation that perhaps you may have an idea about...

    I connect to a remote workstation (via UNC), copy some files from the network, and then I would like to reboot that remote workstation. Any suggestions would be greatly appreciated. Thx.

  2. #2
    Addicted Member Razzle's Avatar
    Join Date
    Jan 2000
    Location
    Berlin, Germany
    Posts
    161

    Post

    what do you use to connect to the workstation? a self-written program or some other software?
    it would be easy to create a seperate program to reboot the workstation, but if you use something you made yourself it would be better to implement the code to this program.



    ------------------
    Razzle
    ICQ#: 31429438

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    7

    Post

    It is a self written programme. I agree that it would be best to add the code to the existing programme.

    Thx.

  4. #4
    Addicted Member
    Join Date
    Jan 2000
    Location
    Fresno, California, USA
    Posts
    195

    Post

    The new version of RAS will do all of this and more. Check it out. It's in the Microsoft BackOffice stuff.

  5. #5

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    7

    Post

    Thanks HDR I will check it out. I would still like to know how to do it though...

  6. #6
    Addicted Member Razzle's Avatar
    Join Date
    Jan 2000
    Location
    Berlin, Germany
    Posts
    161

    Post

    If you want to do it using a TCP/UDP control it's quite easy. Just send a command from the client to the server that instructs him to shutdown the computer (ExitWindowsEx)

    ------------------
    Razzle
    ICQ#: 31429438
    What is the difference between a raven?
    -The legs. The length is equal, especially the right one.

  7. #7

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    7

    Post

    Thanks Razzle and Paul.

    I have the code to shutdown my local workstation using ExitWindowsEx, but can't seem to make it work on a remote workstation. I would prefer not to have a programme running on the remote station though. It would be better to just issue a command from the source computer, but I can't seem to get the code right...Help!!!

  8. #8
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Post

    Workstation that is the slave, has a listening program running on a particular port say, port 88. PC that you are using connects to workstation pc on port 88 sends username/password for security reasons then once its authenticated you can have full control, like have a menu, or just a simple command line or even..

    "Press 1 to reboot"
    "Press 2 to abort"
    "Press 3 to copy files from \\Server\Files"

    Just need to code a server program to run on workstation and listen on port 88 and make a little client or even use telnet and connect

    ------------------
    Regards,

    Paul Rivoli
    -------------------
    [email protected]
    http://users.bigpond.com/privoli

  9. #9
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Post

    Let me know what you want and how you want to do it and ill send you some code. Must be a practical idea that will work and must work in vb5 cos I'm using vb5

    ------------------
    Regards,

    Paul Rivoli
    -------------------
    [email protected]
    http://users.bigpond.com/privoli

  10. #10

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Posts
    7

    Post

    What I have is a simple programme that I run from an NT 4 workstation. The programme reads in a list of computer names from a text file. It then connects to the first one on the list by using the UNC (\\computername). The programme then copies four .ini files from a mapped network drive to the remote workstation. It is at this point that I would like to reboot the remote workstation before moving on to the next name in the list.

    Hope that makes sense. Thx.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width