Author: vijaykumar_kolli
Subject: shared folders issue when exe is run with psexec
Posted: 30 October 2014 at 1:12pm
Hi,
Subject: shared folders issue when exe is run with psexec
Posted: 30 October 2014 at 1:12pm
Hi,
i need advice to figure out why application is not able accessing shared folder when initiated with PSexec.exe
machineA --> trigger's the remote executable via Psexec.exe
MachineB ---> has the executable called (App.exe) which access a shared folder of MachineC to copy few files
MachineC --> Shares a folder with Read access.
App.exe has some logic to find out the latest build file (msi) and try to copy from MachineC to MachineB. which works perfectly when executed from MachineB.
the problem is when App.exe is trigged form MachineA using PSexec.exe , App.exe is not able to access the shared folder which is machineC.
below is the is command that is trigged in MachineA
PsExec.exe \\targedmachine -u user -p password -i 0 -accepteula -w "C:\test" "C:\test\App.exe"
Please Advice, Thanks in advance.