I'd like to copy a large file on a remote computer, to the same remote computer, without going through the network.

The computer on which the files to be copied are is running Windows Server 2003.

Anyone knows how to do that?

  • You'd like to copy a file from one directory on the computer to another? Is this a troll? – CarpeNoctem Feb 24 '10 at 10:27
  • 1
    I'm sorry I was unclear, I want to program that kind of action to be executed in batch mode from another computer... – leo Feb 24 '10 at 13:34

Look at PowerShell 2's remotin capabilities. It will run a complete script on a remote system (or the same script on many remote systems concurrently).


| improve this answer | |

Use psexec to run the copy command on the remote machine.

| improve this answer | |

Use a Remote Desktop Connection.

| improve this answer | |
  • I need it in batch mode. – leo Feb 24 '10 at 13:35

Powershell remoting is your best option. While PSexec and running a copy command remotely will work PSexec is often flagged by antivirus software as a virus. See PowerShell 2.0 remoting guide: Part 1 – The basics

| improve this answer | |
  • Powershell also gets flagged by good AV software when trying such things. – John Gardeniers Feb 24 '10 at 22:15
  • Really!? Can you say which one you've seen doing that? I know why psexec gets flagged- many older viruses incorporated it into their code, but I hadn't heard of ws-man getting flagged – Jim B Feb 24 '10 at 23:45
  • I can't recall which ones I've seen flag it but in each case heuristic detection was set to maximum, so it's to be expected. Any AV software that doesn't flag such remote control methods is questionable anyway. – John Gardeniers Feb 25 '10 at 12:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.