PickleRick Posted April 19, 2020 Posted April 19, 2020 ***DISCLAIMER: I am using utorrent to transfer very large personal files across multiple computers, no copyrighted material is transferred*** Hey everyone, I am trying to stop and start utorrent remotely with a batch script. It is able to kill the process but when it starts back it is unable to see the config files that are in the same folder, thus none of the settings or ongoing downloads are there so essentially it is starting a brand new install. I am using pskill and psexec, I have the pulseway agent using the creds of the logged in user. I am using the parameters in psexec to specify the working folder and specify the session, not sure what i am doing wrong. Any help is greatly appreciated Script; pskill -t utorrent psexec -d -h -i 2 -w "C:\Users\Chris\AppData\Roaming\uTorrent" C:\Users\Chris\AppData\Roaming\uTorrent\utorrent.exe
BartB Posted April 23, 2020 Posted April 23, 2020 Does the script work locally, if you launch it on the target machine in command line, without using PSexec? Also, have you looked through the command line switches available with uTorrent - maybe you need to specify some more parameters in your script? https://www.netcheif.com/Articles/uTorrent/html/AppendixB_04.html
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now