Solved

copy file between two servers-username/password

Posted on 2006-11-17
4
2,661 Views
Last Modified: 2012-05-05
I have two servers -  both running on windows 2003 server OS
They are in the same domain.

I want to run MS DoS -COPY command to copy files between the two servers,
I get errror message that -
Logon failure: unknown user name or bad password.

How can I copy files between those two servers?
I dont want to  specify username/password in the batch file that has thta Copy command

Thank you.  
0
Comment
Question by:at999
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:rhandels
ID: 17968175
Hi,

If oyu want to dot his, you could either create a copy job (scheduled) that holds the admin account or log in using an admin account and copy manually. Make sure the account u use is an admin account on both machines (like a domain admin account). Also, make sure the account is not locked out...
0
 

Author Comment

by:at999
ID: 17968194
so in the scheduled tasks I should specify this command -

RUN : copy \\machine1\\folder1\\file1     mylocalfile

RUN AS ADMIN
PASSWORD'.....

?
0
 
LVL 23

Accepted Solution

by:
rhandels earned 250 total points
ID: 17968289
No, create a bat file like copy.bat (can be a renamed text file) put in the command there, then go to Start --> Settings --> Control Panel and then scheduled taksk. Create a new tasks and at the end specify an admin account as the user who executes the copy job...
0
 

Author Comment

by:at999
ID: 17968443
actually i was executing that batch file from dos prompt, not from scheduled tasks, after specifying password in schedule task its working fine.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

806 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