How Can I Remotely Restart a Program on a Windows 7 Computer?
February 25, 2013 12:10 PM Subscribe
Any ideas on how I could have one PC listen for a specially formatted packet/etc., and when it detects that packet/etc. shut down a program?
I have a Windows 7 computer which I am using to serve media files to a media player connected to my television. I've tried many media server programs, and the one that works best for me is Twonky. However, about once a day (at different times of the day), Twonky stops responding. When that happens, I have to go to the other room and shut down the "Twonkyserver.exe" program. When I shut it down, it automatically restarts, and Twonky works fine.
However, 1) it's a bit of a pain in the butt to go to the other (non-heated) room to do this, and 2) when it happens and I'm not at home, my wife and kids can't watch anything.
I've tried using Windows 7 remote access to access the computer and manually restart the program, but it takes waaaaay too long to do almost every day.
Ideally, I'd like to be able to configure the main box to, say, listen to a specific port or something, and then from the living room PC, double-click on something (a batch file, etc.) which would send a command/specially formed packet/access a specially designated port/etc. to the main PC. The main PC, detecting this special traffic/packet/etc. would in turn run a batch file, etc. which just shuts down twonkyserver.exe (which would then automatically restart). So I (or my wife, or eventually my kids) would know "when the TV stops working, double-click this icon on the living room desktop, and wait 10 seconds". Any ideas?
posted by Bugbread to computers & internet (11 answers total)
posted by pipeski at 12:19 PM on February 25 [1 favorite]