Remove Home Folders

  • Thread starter Thread starter Gil
  • Start date Start date
G

Gil

hi,
We have to remove home folders of 200 users from a server to a new server.
Instead of moving the files manually, it will be great if someone knows a
tool that will automaticly move the files to a now server EVEN if there are
few files that are OPENED. At the end of the moving of the files I need of
couse a report what files were opened and NOT moved.
Any advices ?
 
Gil said:
hi,
We have to remove home folders of 200 users from a server to a new server.
Instead of moving the files manually, it will be great if someone knows a
tool that will automaticly move the files to a now server EVEN if there are
few files that are OPENED. At the end of the moving of the files I need of
couse a report what files were opened and NOT moved.
Any advices ?
Look at robocopy.exe

http://www.microsoft.com/resources/...rv/2003/all/techref/en-us/robocopy_syntax.asp
 
Gil said:
Thanks.
RoboCopy Runs also on Win 2000 server , or only on win2003 server ???


Robocopy was in Resources kit from Windows NT as I remember :). Yes it
works on windows 2000 as well.
 
I'm sure you could script it with robocopy. However, besides the
reporting generally what I do in this situation is the home folders are
usually named after the user........so issue a net user > "file path"
and it will export your list of users as a tab delimited file. Mount
the current parent home folder and future parent home folder as drive
letters. Take, import into excell, make one column of users, write a
batch file using the xcopy /e /o options to retain permissions and be
recursive. Use the column of user accounts as variables in the batch
file....for example
xcopy d:\user h:\user /e /o .......... you'd put this into excel and
make wherever it says "user", replaced with the list of users. The last
column would be your field that would have a formula of all the
concatenated fields. Once line one is as you want all you have to do is
grab the corner and drag it down and it will automatically fill in the
fields for you. Copy the last field into notepad, save it as a batch
file and run it. It may sound like alot but, it's quite quick when
you've done it enough.
 
Back
Top