In fact, even a well-maintained system will run 25 or more tasks and most run far more.
Most users have no idea which applications are running on their systems, but using the utilities
in this book, you can discover what those applications are, who??™s running them, and what the application
is supposed to do. The following sections describe three helpful utilities for managing
applications on your system.
Terminating Tasks with the TaskKill Command
You have a number of ways to kill tasks on a system, but sometimes you have to kill a task by
remote control or use the command line to do it. The TaskKill command fulfills both needs. It lets
you maintain control over a system, even if you have to use a network connection to do it. This command
uses the following syntax:
TASKKILL [/S system [/U username [/P [password]]]] { [/FI filter]
[/PID processid | /IM imagename] } [/F] [/T]
The following list describes each of the command line arguments.
/S system Specifies the remote system that you want to check. In most cases, you??™ll also need
to supply the /U and the /P command line switches when using this switch.
510 CHAPTER 21 SECURING THE SYSTEM
/U [domain\]user Specifies the username on the remote system.
Pages:
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199