Tskill Command in Windows Server 2008

In this article I am going to explain about tskill command in windows server 2008 operating system.
  • 1607

Introduction

The operating system tskill command is used to end a process running in a session on a Remote Desktop Session Host server.

Syntax of
Tskill command

tskill {<ProcessID> | <ProcessName>} [/server:<ServerName>] [/id:<SessionID> | /a] [/v]


Parameters in tskill command

It contains following parameter, which is given below:
 
Parameter Description
<ProcessID> It specifies the ID of the process that you want to end.
<ProcessName> It specifies the name of the process that you want to end.
/server:<ServerName> It specifies the terminal server that contains the process that you want to end.
/id:<SessionID> It end the process that is running in the specified session.
/a It end the process that is running in all sessions.
/v It display information about the actions being performed.

Example of Tskill command

tskill 123

Output:

tskill-in-Windows-Server-2008.jpg

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.