The MOVEUSER command is used in Windows operating systems to move a user profile from one user account to another. This command is typically utilized by system administrators to migrate user profiles after changes to domain membership or when renaming user accounts on local machines. It can be an efficient way to maintain user settings and data continuity.


The basic syntax for MOVEUSER is as follows:

MOVEUSER [source_username] [target_username] [/y] [/k]
  • source_username: Specifies the username of the profile being moved.
  • target_username: Specifies the destination username for the profile.

Optional Parameters:

  • /y: Suppresses prompting to confirm the overwrite of the target user profile.
  • /k: Keeps the source user profile intact after moving.


  • /y: This flag is used to automate the process without manual interventions for confirmations. When running scripts or in an automated environment, using /y can prevent delays caused by confirmation prompts.
  • /k: By default, MOVEUSER deletes the source user profile after a successful move. The /k option is crucial when the source data needs retention for backup or other reasons.


  1. Basic Usage:
    Move a user profile from john_old to john_new:

    MOVEUSER john_old john_new
  2. Suppressing Confirmation:
    Move a user profile from jane_old to jane_new without confirmation prompts:

    MOVEUSER jane_old jane_new /y
  3. Keeping the Source Profile:
    Move sam_old user profile to sam_new while keeping the old profile:

    MOVEUSER sam_old sam_new /k

Common Issues

  • Profile Corruption: If the user profile is corrupted, MOVEUSER might fail. Ensure source profiles are in good condition before attempting moves.
  • Permission Issues: Running MOVEUSER may require administrative privileges, especially when dealing with profiles under C:\Users. Always run CMD as administrator.


MOVEUSER can be integrated with other commands for comprehensive user management. Here is an example of how MOVEUSER might be part of a batch script that also updates user group memberships using NET LOCALGROUP:

@echo off
MOVEUSER old_user new_user /y
NET LOCALGROUP Administrators new_user /add
  • NET USER: Useful for managing user accounts on local and domain levels.
  • XCOPY: Often used for copying user data when manual profile adjustments are needed.

For further reading and more detailed information, consult the official Microsoft documentation available online at Microsoft’s official website or seek specific command references in the Windows Command Line toolset.