Batch file to Backup/Migrate User Profile

J

Jamie

I was wondering if anyone would happen to know or have
any examples of some batch files to help with my user
migration.

We have set up new W2K computers for a bunch of users and
I would like to have some sort of script or batch file to
collect all their user information/profile instead of
migrating it manually. I'd like to have it copy to a
shared resource first and then a second batch file to
restore from the shared resource to their new computer.

Any ideas or suggestions would be greatly appreciated!

Jamie
 
M

Marty List

Jamie said:
I was wondering if anyone would happen to know or have
any examples of some batch files to help with my user
migration.

We have set up new W2K computers for a bunch of users and
I would like to have some sort of script or batch file to
collect all their user information/profile instead of
migrating it manually. I'd like to have it copy to a
shared resource first and then a second batch file to
restore from the shared resource to their new computer.

Any ideas or suggestions would be greatly appreciated!

Jamie


What do you mean by "user information"? Is everything you want in the
user's profile or not?

For the profiles try MoveUser.exe from the Windows 2000 Resource Kit. It's
got some quirks to it, but it should be easier than scripting it yourself.

C:\>moveuser.exe /?

Command Line Syntax:

moveuser <user1> <user2> [/y] [/c:computer] [/k]

Description:

moveuser.exe changes the security of a profile from one user to another.
This allows the account domain to change, and/or the user name to change.

Arguments:

user1 Specifies a user who has a local profile.
user2 Specifies the user who will own user1's profile. This
account must exist.
/y Allow overwrite of existing profile.
/c Specifies the computer to make the changes to.
/k Specifies if user1 is a local user, then the user account
should be kept.

Specify domain users in DOMAIN\USER format. Specify only USER for
local accounts.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top