Jump to content

Recommended Posts

Posted
We have just set up a primary school in our area up with a new server and need a way of moving all the user home drive data across. We have changed the username structure for them as it was ridiculously complicated so what is the best solution to move the data across to their new home folders?
Posted

Powershell Script with Robocopy, something like this.

 

Param (

[array]$Users = @(Get-Content "C:\Users.txt"),

[string]$oldServer,

[string]$newServer

)

 

$Users | ForEach { Robocopy "\\$OldServer\HomeShares\$_" "\\$newServer\HomeShares" /SEC /COPYALL /MOVE /v }

  • Thanks 1
Posted
Powershell Script with Robocopy, something like this.

 

Param (

[array]$Users = @(Get-Content "C:\Users.txt"),

[string]$oldServer,

[string]$newServer

)

 

$Users | ForEach { Robocopy "\\$OldServer\HomeShares\$_" "\\$newServer\HomeShares" /SEC /COPYALL /MOVE /v }

 

Anything with a GUI?

Posted
Robocopy has a GUI now, it's called RoboMirror.

 

very easy to use.

 

Will the GUI allow me to specify jobs for example the old users had accounts like Fred21 but the new username is FBloggs how can I specify what needs to be matched up and do i have to do this one at a time or can I stack jobs.

  • 2 weeks later...
Posted

This is going to have to be scripted. Need a few more details:

 

Were the AD accounts renamed or recreated? If they were simply renamed, then at worst you're looking at a single line's worth of Robocopy to copy the folders to the new server (and setting it to preserve the security permissions) and a four line script to change the homefolder path in the account properties to point to the correct server. To rename the folders to reflect the new usernames will require a few more lines to the script, but it can be done.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...