Microsoft has made the CopyProfile command-line tool available for copying Windows XP and Windows Server 2003 user profiles.

The syntax for using CopyProfile is:

copyprofile source_user destination_directory permitted_to_use


source_user is the user whose profile you wish to copy. It must NOT be in use when you attempt to copy it.

destination_directory is the folder that will contain the new profile, like "c:\documents and settings\default user". If the folder exists, it is deleted before the copy.

permitted_to_use is user or group who should be granted access rights.


To copy Jerry's profile to the default user profile, and permit everyone to use it:

copyprofile Jerry "c:\documents and settings\default user" everyone

Download the CopyProfile tool.