tskill.exe
- File Path:
C:\Windows\system32\tskill.exe
- Description: Remote Desktop Services End Process Utility
Hashes
Type | Hash |
---|---|
MD5 | B31626333AEC9C5319364931D069CA08 |
SHA1 | 3D5AB0266DE6EE3D9820A4CA65D866E1565E6340 |
SHA256 | 8F532BE7093E87F41D23C1FDE02088F85AC70F106209540D701E1C0F2DABACC3 |
SHA384 | 92A3B84D45F153639BF82806AB46328C183EED8AAE3CD4CAEF1D89941C7E8784F504FB9B387F1CE731AF309D18BF14FF |
SHA512 | 3F042330501DA44D994FD73FE740B824648FE637AEA9BADF9BD020FF7229EF108195C4C890D961F4FAB6AD06A7BDD92A4EA52FA8149932AC2BAD382E8DE25166 |
SSDEEP | 384:9vyMuU7og2AV+9DtSyZ3rFlEa55j++IGlhxDky0pSrmS5mcyUSTUezqW4kQW:tf0DfrF1RIGXDipVWXezt |
Runtime Data
Usage (stderr):
Invalid parameter(s)
Ends a process.
TSKILL processid | processname [/SERVER:servername] [/ID:sessionid | /A] [/V]
processid Process ID for the process to be terminated.
processname Process name to be terminated.
/SERVER:servername Server containing processID (default is current).
/ID or /A must be specified when using processname
and /SERVER
/ID:sessionid End process running under the specified session.
/A End process running under ALL sessions.
/V Display information about actions being performed.
Signature
- Status: Signature verified.
- Serial:
33000000BCE120FDD27CC8EE930000000000BC
- Thumbprint:
E85459B23C232DB3CB94C7A56D47678F58E8E51E
- Issuer: CN=Microsoft Windows Production PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
- Subject: CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
File Metadata
- Original Filename: tskill.exe.mui
- Product Name: Microsoft Windows Operating System
- Company Name: Microsoft Corporation
- File Version: 10.0.14393.0 (rs1_release.160715-1616)
- Product Version: 10.0.14393.0
- Language: English (United States)
- Legal Copyright: Microsoft Corporation. All rights reserved.
Additional Info*
*The information below is copied from MicrosoftDocs, which is maintained by Microsoft. Available under CC BY 4.0 license.
tskill
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Ends a process running in a session on a Remote Desktop Session Host server.
[!NOTE] You can use this command to end only those processes that belong to you, unless you are an administrator. Administrators have full access to all tskill functions and can end processes that are running in other user sessions.
To find out what’s new in the latest version, see What’s New in Remote Desktop Services in Windows Server.
Syntax
tskill {<processID> | <processname>} [/server:<servername>] [/id:<sessionID> | /a] [/v]
Parameters
Parameter | Description |
---|---|
<processID> |
Specifies the ID of the process that you want to end. |
<processname> |
Specifies the name of the process that you want to end. This parameter can include wildcard characters. |
/server:<servername> |
Specifies the terminal server that contains the process that you want to end. If /server isn’t specified, the current Remote Desktop Session Host server is used. |
/id:<sessionID> |
Ends the process that is running in the specified session. |
/a | Ends the process that is running in all sessions. |
/v | Displays information about the actions being performed. |
/? | Displays help at the command prompt. |
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.
Examples
To end process 6543, type:
tskill 6543
To end the process explorer running on session 5, type:
tskill explorer /id:5
Additional References
MIT License. Copyright (c) 2020-2021 Strontic.