Solved

copy files to workgroup pc

Posted on 2010-08-26
2
498 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
2 Comments
 
LVL 12

Accepted Solution

by:
FDiskWizard earned 500 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
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.

775 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