View Full Version : Remote Shutdown of PC from WM5?
Curious D
10th May 2007, 05:42 PM
Does anyone know of a freeware program that can remotely shutdown the home PC from a Wifi network? I found a free Wake-On-LAN program and I can turn on my computer from anywhere in my home with it, but I don't have the means to turn it off. Thanks.
Raceit
11th May 2007, 04:33 PM
Using a VNC client on your phone and the server on your pc you could remote in and shut it down as if you were in front of it.
Junner2003
11th May 2007, 04:36 PM
Hmmm, call me ignorant but I just wonder what putpose does it serve? If it is a home network and your house is not as large as CENTRAL PARK New York you should be able to actually walk to your computer and shut it down instead of sitting room next door and do it from there!
How much more lazy the human race can get? :D
banannq
12th May 2007, 02:09 AM
Hmmm, call me ignorant but I just wonder what putpose does it serve? If it is a home network and your house is not as large as CENTRAL PARK New York you should be able to actually walk to your computer and shut it down instead of sitting room next door and do it from there!
How much more lazy the human race can get? :D
note that he mentioned swhithing a pc on using wake on lan - thats why he mentioned his house - lan limitation. the real purpose of what he looks for would be turning your pc off while being away.
Curious D: i didn't hear of any app written especially for this, but for example emule can do it. if you use emule on your home pc - try checkin out it's mobile client - mobiemule - a java applet that lets you manage your downloads as well as turning your pc off. if it's not suiteble for you, i would suggest setting up apache server with a special php code on it, execing an app to close windows and then using your phone browser to access this php code. a bit of a workaround but in my opinion the easiest. (i used to controll winamp this way;)
Junner2003
12th May 2007, 05:22 AM
This might be a solution! I did not digg in to it because of such tasks are not interesting to me but I am sure you can do what you need to do with it:
http://www.microsoft.com/windowsxp/using/networking/expert/bridgman_02june10.mspx
banannq
12th May 2007, 03:15 PM
it's another option, yes it is possible but not very handy. i know setting up apache or any other web server is not very handy task neither. i would just code a simple app for desktop pc that would listen on telnet port and after receiving specified command would shut windows down. maybe even code a simple version of "web server" so it would be accessed using web browser? huh, i'll try in my spare time ;]
:update:
i could wrap up an application that would sit launched at your pc and listen for a connection. you would have to open a web browser (not only at your phone, it could be anything computer like;) and browse for an adress like:
http://your.ip.address:some_port/specific_command
to force my application to perform any action. it could be shutting down your windows or anything else.
note - it requires you to have a public ip address, and you would have to forward some_ports for it in your lan - just like any other serverlike application. would you be interested? it is quite easy so i can do it for you. cheers
Curious D
12th May 2007, 04:34 PM
Thanks for all the replies.
Raceit: I thought about VNC, but my VNC program incorporates an RC4 encryption which isn't supported for the WM5 platform at this time (at least I couldn't find any. This would be the ideal situation since then I can control my computer from my phone to do some simple operations. (I can do this already with my laptop, but it takes a long time to start up whereas the phone is fairly immediate)
Banannq: No no...Junner2003 is right. I AM lazy. I'm actually looking for it because there have been some nights that I remembered I forgot to shut down the computer and when you are in bed, you don't really want to go across the house to shut something off. I'm a light sleeper and when I wake up, I think about stuff. The idea that you had is over my head. Thanks for the offer for setup, but it seems I would have to open my firewall which I would rather not do. Again, thanks.
Junner2003: Thanks. I'll look into that link from Microsoft.
banannq
12th May 2007, 05:07 PM
Curious D: too late mate, i already did the base of program ;]
now i can only finish it ;] it receives a message from a www browser and all i need to do now is to make it respond with an action, which is quite easy job - i'll add a procedure of shutting windows down and i'll upload it somewhere this evening. if you want it, you can get it, if you prefer not - no problem. for me it was a good oportunity to code something new ;]
forget evening. it's done. remember it is very simple...
so you need to launch included exe file on your windows machine. i tested it on xp, it should also work on older OS's, but i cannot be sure.
as i said - if you have lan at your home (and probably you have if you use your phone to connect to wifi) you need to access your router menu to allow connections to the pc my app is running on. depending on manufacturer it is done a bit different but still quite simple. you need to find a function called "port forwarding" and set up a new rule. You allow traffic to "your pc ip number" on "99" port (thats my app specification). you basicly need to allow traffic via tcp, but can be also tcp+udp
when it's done thats it.
providing that the programm is running, you can first try opening you pc's browser and type a specified url in your browser:
http://localhost:99/hello_world
you should see "/hello_world" message in return.
you can then try
http://ip_address:99/some_message
your ip can be checked by typing "ipconfig" in command line (windows_start>run>cmd) on your pc.
then you can do the same on your phone : http://your.pc.ip.address:99/message
if it works it means that everything is ready to go. then go:
http://your.pc.ip.address:99/shutdown
and that should do the magic.
i hope it's quite clear for you, if not - please ask. i'll try to help you if you think my program would be worth it ;]
i hope you like it
Curious D
13th May 2007, 08:48 AM
Wow. That's really cool. :cool: Thanks. I'll look into it more on my next day off. (Schedule's a little wacky, but it brings food to the table) Thanks again. Out of curiosity (not asking for more because you have already been very generous with your time and effort), can something be set up without port forwarding? If it is within a home network, can something be setup like VNC (without the remote desktop) simply to shutdown a computer within my own Wifi network?
Junner2003
13th May 2007, 10:52 AM
Yes, should be possible either if you use STATIC IP ADDRESSES (which is always a problem if you have a linksys router) or just via computer name in the network: " \\MyComputerName " (you will have to turn file sharing in for that!)
Curious D
13th May 2007, 04:33 PM
Cool. I'll try it soon. Thanks again.
freeyayo50
13th May 2007, 06:08 PM
Does anyone know of a freeware program that can remotely shutdown the home PC from a Wifi network? I found a free Wake-On-LAN program and I can turn on my computer from anywhere in my home with it, but I don't have the means to turn it off. Thanks.
Can you please post the free Wake-On-LAN app that you have??
banannq
14th May 2007, 12:39 AM
sorry guys, i didn't have time to post anything sooner - had a terrible day with my wizard - 4 hard resets and finally rom upgrade :/ huh, looks good now...
anyway - i didn't code anything that would communicate through windows network neighbourhood - it sounds like an interesting idea, but i dont think i could be able to accomplish any success here very soon ;] sorry.
Curious D
14th May 2007, 01:06 AM
Can you please post the free Wake-On-LAN app that you have??
Here you go...
http://www.modaco.com/index.php?showtopic=240773&mode=threaded
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.