Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to copy a 1.2Gb file between a Windows 7 workstation and a Windows Server 2003 system. That same server also hosts our enterprise's shares, most of them anyway.

The copy from the workstation to the server times out. If not in the event logs, where might this timeout event be recorded? Furthermore, what tools exist, other than doing something like running Wireshark, that would let me see the details of the failure?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

No, this sort of thing won't be in the event logs; however, if the root cause was something (like a NIC losing connection or failing hard drive) that would be recorded, you could see if there's anything correlated.

If the problem is being caused by the network, and if you have managed switches (assuming this is all on the same LAN), then you might see some errors on the port(s). That might be similar to what you could see in Wireshark from one host or the other, if you know how to read its output.

How are you doing the copy? Explorer drag-n-drop, or copy, xcopy, robocopy? I prefer to use the last one, because it has decent error codes, retry options, and logging. Try it with robocopy and see what results you get.

share|improve this answer
    
I am just dragging from a hard disk to a share. You've given me a bunch of info, though. I need to look at the logs from our managed switch. We've got the equipment; I just need to know how to get to it. –  octopusgrabbus Dec 28 '12 at 14:47
    
Never move big files, that you care about, on the network, from within the GUI. Always use a command-line tool. Start with that - if you have a repeatable problem, then start worrying about the cause. –  mfinni Dec 28 '12 at 14:53
    
Good to know. I'm used to the command line on Linux, but less so on Windows. I'll try ftp next time. –  octopusgrabbus Dec 28 '12 at 14:55
1  
Um, dude, FTP isn't a native protocol on Windows unless you've installed IIS. Drag-and-drop, and all the other commands that I listed, use CIFS (SMB) which is the native way of moving files between Windows servers. –  mfinni Dec 28 '12 at 17:24

Use Powershell for instead of a drag and drop. It's quite easy to log events with Powershell that your monitoring system can then pick up. And Copy-Item can use UNC paths.

$LOG=new-object System.Diagnostics.EventLog("Application")
$LOG.Source="Lawson Export Copy Script"

$EVENT=[System.Diagnostics.EventLogEntryType]::Information

$VAL="Copied virtual machine exports from $SOURCE to $DEST successfully."
$LOG.WriteEntry($VAL,$EVENT,0)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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