MOVEUSER.exe (Windows 2003 Resource Kit)

Move a local user account into a domain or move a user account between machines.

Syntax
      MOVEUSER [DOMAIN/]user1 [DOMAIN/]user2 [/c:computer] [/k] [/y]

Key:

   user1   The existing user (who has a local profile)
           Specify domain users in 'DOMAIN/user' format
           or just 'user' for a local account. 

   user2   The user acount that will inherit the user1 profile.
           This account must already exist.
           Specify domain users in DOMAIN/user format
           specify only user for local accounts.

 /c:computer   The computer on which to make the changes. 

   /k      Keep user account user1 (only applies to local users) 

   /y      Overwrite an existing profile for user2.

To use MOVEUSER, you must be logged in with admin rights to create and modify user accounts on both the source and target machine.

Examples

Move the local user account "fred" into the domain ss64Dom:

MOVEUSER fred ss64Dom\newfred

Move the user account "fred" into the domain ss64Dom, copying the account from the remote PC called 'wks0123'

MOVEUSER fred ss64Dom\newfred /c:\\wks0123 

“You don’t sew with a fork, so I see no reason to eat with knitting needles” ~ Miss Piggy, on eating Chinese Food

Related commands

ADMT - Active Directory Migration Tool (domain to domain).


 
Copyright © 1999-2024 SS64.com
Some rights reserved