***DISCLAIMER: I am using utorrent to transfer very large personal files across multiple computers, no copyrighted material is transferred***
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
pskill -t utorrent
psexec -d -h -i 2 -w "C:\Users\Chris\AppData\Roaming\uTorrent" C:\Users\Chris\AppData\Roaming\uTorrent\utorrent.exe