次の方法で共有


Tsprof

Copies the user configuration information, which is displayed in the Terminal Services extensions to Local Users and Groups and Active Directory Users and Computers, from one user to another. Tsprof can also set the profile path for a user.

Syntax

tsprof /update {**/domain:**DomainName | /local} **/profile:**ProfilePath UserName

tsprof /copy {**/domain:DomainName | /local}[/profile:**PathSourceUser DestinationUser

tsprof /q {**/domain:**DomainName | /local} UserName

Parameters

UserName   : Specifies the name of the user for whom you want to update or query the server profile path.

SourceUser   : Specifies the name of the user from whom you want to copy the user configuration information.

DestinationUser   : Specifies the name of the user to whom you want to copy the user configuration information.

/domain: DomainName   : Specifies the name of the domain in which the operation is applied.

/local   : Applies the operation only to local user accounts.

/profile: ProfilePath   : Specifies the profile path as displayed in the Terminal Services extensions in Local Users and Groups and Active Directory Users and Computers.

/update   : Updates profile path information for UserName in domain DomainName to Path.

/copy   : Copies user configuration information from SourceUser to DestinationUser and updates the profile path information for DestinationUser to profilepath. Both SourceUser and DestinationUser must either be local or must be in domain DomainName.

/q   : Displays the current profile path of the user for whom you want to query the server profile path.

/?   : Displays help at the command prompt.

Remarks

  • Only administrators can run tsprof.

Formatting legend

Format

Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Command-line reference A-Z

Terminal Services commands