I believe everyone has the habit of using the command line (CMD) to solve the problem, at least I feel that I can't get away from Windows PE when dealing with Windows system failure. Today I want to introduce two A very useful command: Tasklist and Tskill.
Command: Tasklist
Function: The command is used to display all processes running on a local or remote computer, and can monitor the user's operation.
Command Format:
Tasklist [/S system [/U username [/P [password]]]] [/M [module] |
/SVC |
/V] [/FI filter] [/FO format] [/NH]
Parameter Meaning
/S system Specifies the remote system to connect to.
/U [domain\\]user Specifies which user to use to execute this command.
/P [password] Specifies the password for the specified user.
/M [module] Lists all processes that call the specified DLL module. If no module name is specified, all modules loaded by each process are displayed.
/SVC displays the services in each process.
/V Show details.
Instance Analysis:
If we just look at the local host process information, we can directly enter the command. The following example is to remotely view the time history information of a host in the intranet from the client.
If we have a server:
Intranet address: 192.168.0.1,
Administrator account: administrator
Administrator password: password
We need to enter in the CMD window:
Tasklist /s 192.168.0.1 /u administrator /p password
This command allows us to easily view the operation of the remote host. Of course, the premise is to ensure that the RPC service starts normally.
Command: tskill
Function:
to turn off the process Format:
TSKILL processid |
Processname [/SERVER:servername] [/ID:sessionid |
/A] [/V]
Parameter Meaning
processid The Process ID of the process to end.
processname The name of the process to end.
/SERVER:servername The server with processID (the default is the current value).
When using the process name and /SERVER, you must specify
/ID or /A
/ID:sessionid to end the process running under the specified session.
/A Ends the process running under all sessions.
/V Displays information about the operation being performed.
The usage of this Skill is very simple. Simply enter the Tskill image name or PID.
Occasionally encounter a process that Task can not end, you can also try the Ntsd command,
The format is: ntsd -cq -pn {process name}
Parameter meaning: < Br>
-c means to execute the debug command;
q means to exit after execution;
-p means that the PID corresponding to the process you want to end is followed; Br>
-pn means that the name of the process you want to end is followed by
An upgraded version of Outlook Express, Outlook Express 6.0, is built into Windows XP. Users simply
Because Windows system restore is very simple and can solve most system failures, many friends like
Execute in the windows command line window: Seen, the port is occupied by the process with
Windows XP is the most secure operating system in the Windows family, and it provides us with a good
Create your own Windows Super Shortcut
Top 10 services that Windows XP must ban
Xp timing shutdown and restart trick
How to check if the display has white point
How to restore the login password of Windows XP system
Cleverly crack the Windows XP login password method
No need to use the built-in function to easily optimize Win XP
Solve the problem that the XP system can't respond to the fault.
How to prohibit installing software in XP?
Windows 10 official version system update to 10586.494
Where are the problem reports and solutions that Win10 has prompted?
Win10 Mobile official version 10586.545 update today push is not an anniversary update
Analysts look down on Windows 8 performance
Download and install Win8 system personality theme
Win10 computer fails to boot and prompts error 0xc0000428 What should I do?
How to directly execute PHP script files in Unix/Linux?
Windows UI application pre-installed on Windows 8 Standard Edition system