?
Solved

copy files to workgroup pc

Posted on 2010-08-26
2
Medium Priority
?
504 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

765 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