I've been having trouble copying files from my computer to other computers using PsExec.
- I've tried using the "-u" parameter along with my username, but when I try to run the command it says that access is denied. I've verified that the user account has admin rights on that computer (it has admin rights on both computers). I've even shared the origin folder. Here's an example of my command:
psexec \\<comp-name> -U <username> -C -f C:\st\java\jre\jre618.msi
- Another variation I've tried is the following:
psexec \\comp-jchambers -S -C -f C:\st\java\jre\jre618.msi
I used the "-S" parameter with the hopes of bypassing the user restrictions I encountered previously. This time, however, I get the error that states that "The system cannot find the file specified".
I've tried both variations of the command pointing to the .msi's folder rather than to the installer itself with no luck. There's got to be something simple I'm missing, but I'm at a mental block. Any advice would be much appreciated.