Results 1 to 5 of 5

Thread: remotely shutdown the pc

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    Ahmedabad
    Posts
    1

    Question remotely shutdown the pc

    i m trying to remotely shutdown the pc but the dll which i m using return false
    sdfsd

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    I've no idea what dll you are talking about, but check out this http://vbworld.com/articles/winsock/index8.html

  3. #3
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    I assume you use InitiateSystemShutdown for this. This function will fail if you don't have admin rigths, or if you forgot to enable the SE_REMOTE_SHUTDOWN_NAME privilege.

  4. #4
    Junior Member
    Join Date
    Jun 2000
    Location
    Manila, Philippines
    Posts
    18

    Exclamation

    check out http://www.sysinternals.com

    they have a utility to remotely shutdown a pc provided you have
    admin rights. i think source code is included.

    MaverickX

  5. #5
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    This is a little different from the above suggestions:

    If you run a "server" app on the other computer, and connect to it with a client (in Winsock), you can send it a data bit which will trigger the shutdown function, described here:

    http://www.vbforums.com/showthread.php?threadid=88483
    I'm bringing geeky back...

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