Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Mirgrating roaming profiles and user directories

Hi,
I work for a organization that has multiple site offices and we staff transferring between these offices. All users have a Active Directory Mapped home drive (H: Drive) which are stored on the local file server (so for example is sally is in Melbourne her profile and user directory is stored on Melbourne's File server) What is the best way to move the profile folder (her roaming profile) and user folder (h drive) to other sites file server?? I need to keep permissions and i'd like to do it without taking ownership of the folder and so on.
I obviously cant just click and drag due to the fact the only person with permissions is the user that owns the folder.

Any ideas?

Cheers
James
0
sunny72
Asked:
sunny72
  • 3
1 Solution
 
amichaellCommented:
I utilize Robocopy to perform large data copies and transfers.  It has the ability to maintain NTFS security.  I *believe* that the System account will need permission to the files being copied, though I can't quite recall accurately if that is the case.
0
 
sunny72Author Commented:
What would be the command for robo copy as i know it has a CLI?
0
 
amichaellCommented:
Below is a sample of what I've used.  The below runs in a scheduled batch file.  Robocopy executes and puts the results in a log file.  Another program (Blat) then emails that logfile to the administrator.

Robocopy has many switches available.  The ones used below are:

E - copies subdirectories, including empty ones.
R - number of retries on a failed copy.
W - wait interval between retries.
V - verbose output.
LOG - create log file.

You'll want to familiarize yourself with the syntax.

robocopy \\server\share f:\MyData /sec /E /R:0 /W:2 /V /LOG:f:\logfile.txt

REM Email log file.
blat.exe "f:\logfile.txt" -server emailserver -f admin@MyCompany.com -t admin@MyCompany.com -s "Robocopy Report"
0
 
amichaellCommented:
Forget /sec, which does security.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now