I am trying to copy a file via login script, under a restricted user
I was trying the below from a share X:\
psexec /accepteula -u user -p pass cmd /c mkdir C:\tmp ( this works)
psexec /accepteula -u user -p pass cmd /c copy "X:\2.reg" "C:\tmp\2.reg"
gives me a cmd exited with error code 1.
and it does not copy the file.