JSI Tip 7830. The CopyProfile command-line tool to copies user profiles on Windows XP or a Windows Server 2003.

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

Where:

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.

Example:

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.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish