at999
asked on
copy file between two servers-username/password
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.
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.
ASKER
so in the scheduled tasks I should specify this command -
RUN : copy \\machine1\\folder1\\file1 mylocalfile
RUN AS ADMIN
PASSWORD'.....
?
RUN : copy \\machine1\\folder1\\file1
RUN AS ADMIN
PASSWORD'.....
?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
actually i was executing that batch file from dos prompt, not from scheduled tasks, after specifying password in schedule task its working fine.
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...