Jump to content

Starting Utorrent


PickleRick
 Share

Recommended Posts

***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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...