Re: Batch file to Backup/Migrate User Profile

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Marty List (bill.gates_at_sun.com)
Date: 03/09/04


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.



Relevant Pages

  • Re: please help.--3rd post. 2nd one lost in cyberspace--at least i cannot see it.
    ... this computer is a standalone computer and not part ... > which i run when i need to run sql plus. ... > this bactch file runs well in my user profile and since these two services ... > commands listed in the batch file. ...
    (microsoft.public.windowsxp.general)
  • Re: please help.--3rd post. 2nd one lost in cyberspace--at least i cannot see it.
    ... seem like redirection operators work with the RunAs command. ... > i have downloaded and installed oracle. ... > this bactch file runs well in my user profile and since these two services ... > commands listed in the batch file. ...
    (microsoft.public.windowsxp.general)
  • RE: moveuser
    ... I wonder you get the MOVEUSER, as I know, Microsoft Mail, Microsoft ... the user account has the permission to access the user profile you want to ... user2 Specifies the user who will own user1's profile. ...
    (microsoft.public.windows.server.migration)
  • Re: please help.--3rd post. 2nd one lost in cyberspace--at least i cannot see it.
    ... i have downloaded and installed oracle. ... profile can run sql plus. ... if she boots and logs into her profile, she cannot run sql as the batch file ... > First, logged in as yourself or Administrator, go to Start-All ...
    (microsoft.public.windowsxp.general)
  • Re: BATCH START
    ... > If you need to specify that without altering the .wme file's encoder ... > file and a .prx profile rather than a full .wme profile. ... >>> Save your encoding job then put a batch file in your startup folder. ...
    (microsoft.public.windowsmedia.encoder)