Re: Batch file to Backup/Migrate User Profile
From: Marty List (bill.gates_at_sun.com)
Date: 03/09/04
- Next message: Torgeir Bakken (MVP): "Re: VBScript to change computer name"
- Previous message: Marty List: "Re: VBScript to change computer name"
- In reply to: Jamie: "Batch file to Backup/Migrate User Profile"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Mar 2004 20:32:03 -0700
"Jamie" <anonymous@discussions.microsoft.com> wrote in message
news:90d301c40534$b32dd4a0$a501280a@phx.gbl...
> 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.
- Next message: Torgeir Bakken (MVP): "Re: VBScript to change computer name"
- Previous message: Marty List: "Re: VBScript to change computer name"
- In reply to: Jamie: "Batch file to Backup/Migrate User Profile"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|