TSKILL – Windows CMD Command

End a process running in a session on a Remote Desktop Session Host (RD Session Host) server.

Tskill can be used to end any process that belongs 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.

processname is limited to 18 characters.

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. This is because potentially multiple users could be running the same program.

Examples:

Terminate a running instance of notepad.

Terminate the running process #6464

You may also like...

Leave a Reply

Your email address will not be published.