Undefeated command to end Windows System Process

Source: Internet
Author: User

Process is ProgramAn execution activity on a computer. When you run a program, you start a process. Obviously, the program is dead (static), and the process is active (dynamic ). Processes can be divided into system processes and user processes. All the processes used to complete various functions of the operating system are system processes, which are the operating system itself in the running state; user processes are all processes started by you. A process is the unit in which the operating system allocates resources. Some processes cannot end through the "Task Manager". What if a trojan is encountered? We can force this process to end. Please refer to the following tips.

In Windows, only system, SMSs. EXE, and CSRSS. EXE cannot be killed. The first two are pure kernel state, and the last one is the Win32 subsystem. ntsd needs it. Ntsd is a user-mode debugging tool provided by the system starting from 2000. The attach process exits along with the debugger, so it can be used to terminate the process under the command line. You can use ntsd to automatically obtain the debug permission to kill most processes. Ntsd will open a new debugging window, which cannot be controlled in pure command lines, but if it is just a simple command, such as exit (Q ), use the-C parameter to pass it from the command line. Ntsdntsd is also provided to software developers by convention. Only system developers use this command. For more information, see the Help file attached to ntsd. Usage: Open the cmd.exe window and enter:

Ntsd-C q-P PID

Change the last PID to the ID of the process to be terminated. If you do not know the process ID, choose Task Manager> process tab> View> Select column> check PID (process identifier.

In XP, there are two useful tools: tasklist and tskill. Tasklist can list all processes and related information. Tskill can scan and kill processes. The syntax is simple: tskill program name !!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.