Solved

xcopy command returns   invalid drive specification

Posted on 2009-06-29
5
776 Views
Last Modified: 2012-05-07
I am trying to find out why  when I run the following command I get the invalid drive specification returned from xcopy when I try to copy a file from a remote server to the local server.

xcopy \\xxx.xxx.xxx.xxx\share d:\share

also tried


xcopy "\\xxx.xxx.xxx.xxx\share" "d:\share"

xcopy "\\xxx.xxx.xxx.xxx\share d:\share"

I can ping the remote server and have opened IP and ICMP thru the firewall. Both servers has the same user name and password configured. Everyone has full access to both the network share and and the local folder. I have the same problem regardless of which remote machine I try the command from. If I try from a local machine it works. It would seem to be a firewall issue. Anyone have any idea of what to open to allow this data tramsfer to work?
0
Comment
Question by:jimmylew52
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:3nerds
ID: 24737437
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 24737675
I opened port 445 on both routers and still get

invalid drive specification   returned from the xcopy command
0
 
LVL 13

Accepted Solution

by:
3nerds earned 500 total points
ID: 24737943
You may need the following ports open as well. But I would look at the logs on your firewall and see what ports are being blocked. Also keep in mind the ports have to be open in both directions.

netbios-ns 137/tcp nbname
netbios-ns 137/udp nbname
netbios-dgm 138/udp nbdatagram
netbios-ssn 139/tcp nbsession

Regards,

3nerds
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 24738208
All outgoing traffic is allowed on both routers.  TCP and UDP have been allowed into the remote server. I will check the local.
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 24738935
Opened  netbios ports on the local router. TCP and UDP were already open on the remote router.

Still get the same response

invalid drive specification   returned from the xcopy command
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now