Tsprof Command in windows Server 2008
In this article I am going to explain about tsprof command in windows server 2008 operating system.
Introduction
The operating system Tsprof command is used to copy the Remote Desktop Services user configuration information from one user to another.
Syntax of Tsprof command
tsprof /update {/domain:<DomainName> | /local} /profile:<Path> <UserName>
tsprof /copy {/domain:<DomainName> | /local} [/profile:<Path>] <Src_usr> <Dest_usr>
tsprof /q {/domain:<DomainName> | /local} <UserName>
|
Parameters in Tsprof command
It contains following parameter, which is given below:
Parameter |
Description |
/update |
It updates profile path information for <UserName> in domain <DomainName> to <ProfilePath>. |
/domain:<DomainName> |
It specifies the name of the domain in which the operation is applied. |
/local |
It applies the operation only to local user accounts. |
/profile:<Path> |
It specifies the profile path as displayed in the Remote Desktop Services extensions in Local Users and Groups and Active Directory Users and Computers. |
/copy |
It copies user configuration information from <SourceUser> to <DestinationUser> and updates the profile path information for <DestinationUser> to <ProfilePath>. |
<Src_usr> |
It specifies the name of the user from whom you want to copy the user configuration information. |
<Dest_usr> |
It specifies the name of the user to whom you want to copy the user configuration information. |
/q |
It displays the current profile path of the user for whom you want to query the server profile path. |
<UserName> |
It specifies the name of the user for whom you want to update or query the server profile path. |
Example of Tsprof command
tsprof /copy /local LocalUser1 LocalUser2
|
Note:
The tsprof command is only available when you have installed the Terminal Server role service on a computer running Windows Server® 2008 or RD Session Host role service on a computer running Windows Server 2008 R2.
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here