text stringlengths 0 4.23k |
|---|
<processID> |
<processname> |
<servername> |
<sessionID> |
Remarks |
When all processes that are running in a session end, the session also ends. |
If you use the <processname> and the /server:<servername> parameters, you must also specify either the /id:<sessionID> or the /a parameter. |
<processname> |
/server:<servername> |
/id:<sessionID> |
Examples |
To end process 6543, type: |
tskill 6543 |
To end the process explorer running on session 5, type: |
tskill explorer /id:5 |
tsprof |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Copies the Remote Desktop Services user configuration information from one user to another. The Remote Desktop Services user configuration information appears in the Remote Desktop Services extensions to Local Users and Groups and active directory Users and computers. |
Note |
You can also use the tsprof command to set the profile path for a user. |
To find out what's new in the latest version, see What's New in Remote Desktop Services in Windows Server. |
Syntax |
tsprof /update {/domain:<Domainname> | /local} /profile:<path> <username> |
tsprof /copy {/domain:<Domainname> | /local} [/profile:<path>] <src_user> <dest_user> |
tsprof /q {/domain:<Domainname> | /local} <username> |
Parameters |
Parameter |
Description |
/update |
Updates profile path information for <username> in domain <domainname> to <profilepath>. |
/domain:<Domainname> |
Specifies the name of the domain in which the operation is applied. |
/local |
Applies the operation only to local user accounts. |
/profile:<path> |
Specifies the profile path as displayed in the Remote Desktop Services extensions in Local Users and Groups and active directory Users and computers. |
<username> |
Specifies the name of the user for whom you want to update or query the server profile path. |
/copy |
Copies user configuration information from <src_user> to <dest_user> and updates the profile path information for <dest_user> to <profilepath>. Both <src_user> and <dest_user> must either be local or must be in domain <domainname>. |
<src_user> |
Specifies the name of the user from whom you want to copy the user configuration information. Also known as the source user. |
<dest_user> |
Specifies the name of the user to whom you want to copy the user configuration information. Also known as the destination user. |
/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. |
<username> |
<domainname> |
<profilepath> |
<Domainname> |
<path> |
<username> |
<src_user> |
<dest_user> |
<dest_user> |
<profilepath> |
<src_user> |
<dest_user> |
<domainname> |
<src_user> |
<dest_user> |
Examples |
To copy user configuration information from LocalUser1 to LocalUser2, type: |
tsprof /copy /local LocalUser1 LocalUser2 |
To set the Remote Desktop Services profile path for LocalUser1 to a directory called c:\profiles, type: |
tsprof /update /local /profile:c:\profiles LocalUser1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.