|
Question : rcmd \\remote_host "dir \\another_host\foler" returns 'Access denied'
|
|
As the title says, when I type
rcmd \\remote_host "dir \\another_host\foler"
it returns 'Access denied'.
The rcmd command is working fine with other commands. The \\another_host\foler is shared with everybody. I run the rcmd as administrator. When 'another_host' is actually 'remote_host', the command is executed correctly, therefore I don't think this is a UNC problem. It just seems that I can't access UNC path to other computers although they are shared.
Any help appreciated!
|
Answer : rcmd \\remote_host "dir \\another_host\foler" returns 'Access denied'
|
|
Have you or would you be willing to try psexec? http://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx
Might disprove my theory on the permissions at least...works similarly...
psexec \\remotePC cmd /c dir c:\folder
|
|
|