Windows simple killing process batch processing program

Source: Internet
Author: User

The memory of the company's computer is getting tight. Some temporarily unused software processes in the computer will start with the boot and do not want to uninstall the software. Use the taskkill command in windows to terminate the process to be terminated.

Create a txt file with the command taskkill. bat. Copy the following command to save it.

@ Echo off
Taskkill/F/IM vm */T
Taskkill/F/IM apple */T
Taskkill/F/IM sogoucloud.exe/T
Taskkill/F/IM itunes */T

Taskkill parameter description

/S system specifies the remote system to connect.

/U [domain \] user specifies the user context in which the command should be executed.

/P [password] specifies a password for the provided user context. If this parameter is ignored, a prompt is displayed.

/F specifies the process to be forcibly terminated.

/FI filter specifies to filter in or out the query tasks.

/PID process id specifies the PID of the process to terminate.

/IM image name specifies the image name of the process to terminate. The wildcard '*' can be used to specify all image names.

/T Tree kill: Terminate the specified process and any sub-processes that are started from this process.

/? Show Help/usage.

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.