|
-
Jul 5th, 2001, 06:59 AM
#1
Thread Starter
New Member
remotely shutdown the pc
i m trying to remotely shutdown the pc but the dll which i m using return false
-
Jul 9th, 2001, 07:58 PM
#2
PowerPoster
I've no idea what dll you are talking about, but check out this http://vbworld.com/articles/winsock/index8.html
-
Jul 10th, 2001, 01:51 AM
#3
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.
-
Jul 10th, 2001, 03:32 AM
#4
Junior Member
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.
-
Jul 10th, 2001, 10:23 AM
#5
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|