Sunday, January 18, 2009

How to shutdown torrent client remotly

I have experimented and implemented a simple method to shutdown my torrent client (uTorrent) in order to have faster internet speed on other computers without having to remote connect or physically go to the computer to shut it down.

It is as simple as typing the following into notepad and saving as a bat script:
taskkill /s \\boris /u boris /p 123 /f /im "utorrent.exe" /t


To explain what is going on here:
/s (system) \\domain -of the client
/u (user) username on the domain
/p (password) the password of the above user
/f force
/im executable program
/t tree of programs under it (child process) -seems to be necessary for shutting down uTorrent

once this is set up properly it can be run on the same network as your client and it will be shutdown to improve internet speed!

Note: be ware that the program does not shutdown properly and will check the downloading files next time the program is ran, if you're like me and don't mind this over faster internet connection when needed then you will enjoy this trick :)
Available for download HERE

No comments: