I'm an admin of a domain and im trying to run a wmic script to copy a file on a remote pc from another remote pc.
My command:
WMIC /NODE:@"C:\compList.txt" PROCESS CALL Create "xcopy \\networkPC\file.exe C:\"
it doesn't copy file.exe on the computers i've listed on compList.txt, I know it's not a privilage problem because I tried running a simple process of
cmd /c echo 1>C:\1.txt
and it created 1.txt in the remote computer.
What could be the problem?