Results 1 to 7 of 7

Thread: [RESOLVED] Shutdown a remote PC

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2008
    Location
    Dominican Republic
    Posts
    733

    Resolved [RESOLVED] Shutdown a remote PC

    Hey! So I'm here with another question:

    Is there any way to turn off a remote pc that's not by using

    Code:
    shutdown /s /m \\computer name etc...
    I just want to turn off the server computer at night from my laptop. Is it possible to make the program check for pings and then shutdown? Or is there an easier way? (Maybe if I'm not on the local network send over a "signal"(?) to the pc so that it'll shut down..?)

    Thanks again!

    EDIT:

    Read 3rd post for a brief explanation.
    Last edited by tassa; May 8th, 2009 at 02:34 PM.
    "In our profession, precision and perfection are not a dispensable luxury, but a simple necessity."
    Niklaus E. Wirth


    Rate any post that helped you, it's a good way of saying thanks
    Please specify your Visual Studio Version!

    Why rating is useful

    My Code Bank Submissions: How to determine Windows Version| Working With Mouse Events | Blocking Input Using API | Get host's IP | Minimize to system tray "animated" | Colored ListBox (custom fonts, colors, highlight) Updated -New Class! | [VS 2008] Strong encryption and hashing class - Updated! 31/August/2009 | Create a shortcut using IWshRuntimeLibrary

  2. #2

    Re: Shutdown a remote PC

    You can't do this in VB. Maybe if you are connected to the labtop via USB?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2008
    Location
    Dominican Republic
    Posts
    733

    Re: Shutdown a remote PC

    So, wait, I think I wasn't clear. LoL (My bad).

    I just want to turn off the desktop computer from my laptop; how can i do this? (Woah, much better than the first post). Both computer are in a local network (my house, wireless conection).

    Or maybe a server-client connection?

    Which way should I go?
    Last edited by tassa; May 8th, 2009 at 03:39 PM.
    "In our profession, precision and perfection are not a dispensable luxury, but a simple necessity."
    Niklaus E. Wirth


    Rate any post that helped you, it's a good way of saying thanks
    Please specify your Visual Studio Version!

    Why rating is useful

    My Code Bank Submissions: How to determine Windows Version| Working With Mouse Events | Blocking Input Using API | Get host's IP | Minimize to system tray "animated" | Colored ListBox (custom fonts, colors, highlight) Updated -New Class! | [VS 2008] Strong encryption and hashing class - Updated! 31/August/2009 | Create a shortcut using IWshRuntimeLibrary

  4. #4

    Re: Shutdown a remote PC

    Quote Originally Posted by tassa View Post
    So, wait, I think I wasn't clear. LoL (My bad).

    I just want to turn off the desktop computer from my laptop; how can i do this? (Woah, much better than the first post). Both computer are in a local network (my house, wireless conection).

    Or maybe a server-client connection?

    Which way should I go?
    Server-Client. Controlling a computer remotely is easy, but I don't think you can shut it down remotely. Because that is like, if you are controlling a pc from your labtop, someone unplugs the power to the pc you are controlling. This applies to restarting, and hibernating.

  5. #5
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: [RESOLVED] Shutdown a remote PC

    Just use remote connection. If they are windows, use Remote Desktop Connection, found in the start menu. If the server is a unix based system, use a program like Putty.

  6. #6
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Shutdown a remote PC

    Quote Originally Posted by sn3akyr4bb1t View Post
    You can't do this in VB. Maybe if you are connected to the labtop via USB?
    Tell that to my high school media center supervisors, whos' PC I would shut down remotely with a network security program all the time.

  7. #7

    Re: Shutdown a remote PC

    Quote Originally Posted by timeshifter View Post
    Tell that to my high school media center supervisors, whos' PC I would shut down remotely with a network security program all the time.
    Ok, where is your high school?

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