Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

copy files to workgroup pc

Posted on 2010-08-26
2
Medium Priority
?
506 Views
Last Modified: 2012-05-10
hi there

I need to be able to to create a script to copy files from the 2003 Active Directory domain to a windows 7 PC in a separate workgroup.
Because its a workgroup PC, I will need to supply the credentials of a user account on that PC when runnnig the script.
Any idea how to do this?
thanks
0
Comment
Question by:stack888
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
FDiskWizard earned 2000 total points
ID: 33536578
Sure... setup the copy in a .bat file.
Use the scheduler service to run the .bat file, and enter the credentials there, not in the copy command.
Robocopy is your friend.

MyCopy.bat:
C:\path\robocopy.exe \\Server1\share\  D:\sharecopy\ /E /R:0 /NP > C:\Copylog.txt
Check the end of the log for the results. Look for count of Missed files.



0
 
LVL 2

Author Closing Comment

by:stack888
ID: 33536818
thanks for that. I actually found an alternate way by putting a net use command in the batch file and then remove the drive mapping in the final step but robocopy would be a good option too. Cheers!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Let's recap what we learned from yesterday's Skyport Systems webinar.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses

604 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