How the Windows system stops a program at timed intervals

Source: Internet
Author: User
Tags stop script

1, can use Taskkill command to achieve, taskkill/f/im iexplore.exe

/f Specifies the process that will be forced to terminate. This parameter can be ignored for remote processes, all remote

Process will be forced to terminate

/IM iexplore.exe Specifies the program name of the process to terminate

Note: The process name used by the specific program can be queried in Windows Task Manager

2, how to implement the timing, you can through the Control panel-"task scheduling" to add tasks.

1 if it is already running a script file (such as: Iexplore.exe), you can select the file directly, add the task.

2 If you want to stop a program, but do not know the program's stop script, you can manually generate a. BAT files, and then add them through the Task Scheduler.

Such as:

The contents of the Abc.bat file are:

taskkill/f/im Javaw.exe

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.