Jump to content

Recommended Posts

Posted

Chaps,

 

I am confident that this has already been asked but I am just back off holiday and have come back to a number of problems that need to be solved with little time to do it.

We have just upgraded all our existing servers to W2K3 R2 and added a couple of new boxes also at W2K3 R2. We need to move the shared area and user home folders to a new server and maintain permissions. I used to use RCOPY but this don't seem to be around on the new server.

Can someone point me to the correct (free) utility asap.

We also need to point all the users home folders to the new server. Any ideas for bulk changes to user profiles.

(We are no good with scripts, never used them.)

TIME IS SHORT.....

 

Thanks

 

Alan

Posted

Here's a useful batch file to help you out... this one mirrors from one drive to another but can be changed to do a copyall... just change the SET _what parameter according to your needs...

 

@ECHO OFF

SETLOCAL

 

SET _source=\\old server\adminshare$\

 

SET _dest=\\newserver\share\

 

SET _what=/ZB /MIR

:: /COPYALL :: COPY ALL file info

:: /B :: copy files in Backup mode.

:: /SEC :: copy files with SECurity

:: /MIR :: MIRror a directory tree

 

SET _options=/R:0 /W:0 /LOG:d:\zorro.txt /NFL /NDL

:: /R:n :: number of Retries

:: /W:n :: Wait time between retries

:: /LOG :: Output log file

:: /NFL :: No file logging

:: /NDL :: No dir logging

 

ROBOCOPY %_source% %_dest% %_what% %_options%

Posted
If using 2003 server, you can also make bulk changes simply by selecting all the users you want to change, opening properties and entering the new value using %username% to represent the user name eg. \\newserver\%username%$ or \\newserver\usershare\%username%

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...