Are you trying to copy from windows to windows or windows to linux? I will assume you have an ip address on both machines, and that the windows firewall is turned off.
If going windows/windows can you ping by name? eg 'ping desktop2'
If going windows to linux, do you have SAMBA turned on in the linux box?