Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 934
  • Last Modified:

Need help copy file ...

Hi everyone,

Can someone please take a look at the command below and tell me why it doesn't work?

COPY \\100.2.3.87\Quack\Transfer\DMA\DataFiles\DMA_Intake_04040209.pgp \\192.168.0.40\ftproot\DMA /Y

I keep getting this error:

Logon Failure: The target account name is inccorect

0
Taz2
Asked:
Taz2
1 Solution
 
SteveGTRCommented:
Here's some information on the error as ERROR_WRONG_TARGET_NAME maps to SEC_E_WRONG_PRINCIPAL:                  

Connecting with Incorrect Computer Name Results in 3034 WarningPSS ID Number: 263208

Article Last Modified on 5/14/2003
--------------------------------------------------------------------------------
The information in this article applies to:


Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Server

--------------------------------------------------------------------------------

This article was previously published under Q263208
SYMPTOMS
When you try to connect to a computer, the connection may not work. In the client System event log, you may also receive one or more event ID 3034 event messages that have a source of MRxSmb (MRxSmb is the SMB mini-redirector that has secure SMB capabilities in Windows 2000). In the "Data" section of the event message, the last DWORD value in the list, ordered by WORDS, is 80090322.

CAUSE
The event 3034 error message with the specific status code of 80090322 (SEC_E_WRONG_PRINCIPAL) indicates that the client tried to connect to the server with a computer name that is different from the actual computer name of the server.

You may also receive event 3034 event messages if two computers accidentally register the same IP address in the Domain Name System (DNS). In that case, the A record for the computer that hasthe incorrect IP address should be deleted in DNS.

RESOLUTION
This problem is typically the result of a host name resolution issue. If it is, on the client computer, use the ping command to verify that the IP address that the client is using for the server is correct. For information about the ping command, see Windows Help. If the IP address is not correct, you must determine where the incorrect address comes from, and then contact your network administrator. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
200525 Using NSlookup.exe

MORE INFORMATION
If the server is linked to the network by using remote access functionality and Point-to-Point Tunneling Protocol (PPTP), and you are using dynamic Domain Name System (DDNS), this issue may occur until the server's DNS entry has been replicated across the available DNS servers.
0
 
Here2HelpCommented:
Hey.

Try the 'Net use ' Command to map to the file ur'r requiring then copy to the destination folder!
0
 
rogerperkinsCommented:
You may also need to 'Net use' to map the destination, if it is not local.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
chigs20Commented:
Try this:

:: This maps the machine you want to use
net use \\100.2.3.87  or \\server_name  (depends if you are local or not)

:: Copies necessary files
copy C:\Quack\Transfer\DMA\DataFiles\DMA_Intake_04040209.pgp  \\192.168.0.40\ftproot\DMA /Y
0
 
spiderfixCommented:
The "/Y" parameter goes after "copy" not at the end of the string.
0
 
K_2KCommented:
Don't forget to add /Z on copy when network is involved.  It will not address your question nor change that the above are good answers, but after started the /Z mode will drasticly reduce or eliminate errors due to normal collisions found in networks.

(\o/)
0
 
Taz2Author Commented:
Thanks to SteveGTR, your answer pointed me in the right direction.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now