Copy a bat file to a network users machine using "psexec"
Once the file is there psexec must be configured to use the logged in users network drive mapping to cary out a bat file command which goes to a folder on the networks mapped drive, copies a file from this folder back to the current users "My Documents" folder.
This is an extremely hard one and should be worth 5000 points but i could only add 500!
I have been working on this for 2 days and still have yet to do it so I am open to any solutions.
Please include code for both the commands and switches to call psexec and also the bat file code.
A little explanation of how it all works would be nice too.
The issue is that i am running into is that when psexec connects to another PC it uses that PC's admin dos session and I cant get the doss bat file configured correctly to use the mapped drive of the logged in user..... just for your notes!
Thanks to anyone who could help!