You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
remote copy
About this tag
The remote copy tag covers discussions about copying files between Windows PCs over a network, often using command-line tools like xcopy in batch scripts. A common issue is that such scripts work when run manually but fail when triggered by Task Scheduler, even with elevated privileges. Troubleshooting steps include verifying network paths, permissions, and the task's run context. The tag focuses on practical solutions for automating remote file transfers in Windows environments.
I have a command file (.bat) I run to copy some files from my Windows 11 PC to another PC. When I double-click the .bat file on my PC, it runs and successfully copies the files. When I run it using Task Scheduler, it runs the command file but no files are actually copied. I piped the output...
batch file
credentials
directory
mapped drives
network sharing
path
permissions
remotecopy
run whether user is logged on
run with highest privileges
script directory
source path
start folder
system account
task scheduler
unc path
windows 10
windows 11
xcopy