--In the following tutorial, network management will introduce you how to create applications to shut down all active programs for Windows.
--Basically, we will use the taskkill command with customized parameters specific to shut down all applications, except Explorer - however you can adjust these parameters as you wish, and be very careful care when embarking on implementation.
--Only with taskkill command and associated parameters, you can create programs off all other programs in the system. Remember to be very careful with your account name as well as use the name of the corresponding program, the corresponding filter parameters. Wish you success!
Software help closing all applications running in Windows
Sunday, 24 October 2010 by nkoknki |
0
comments
Initialization commands
The first step, open command prompt and type taskkill /? To see all the syntax:
Here, we will use the two following parameters to complete command, including:
- / F required to close all programs and data (if not save the text as drafted, the contents will be lost)
- / FI: used together with filters
Filter order comes with multiple parameters of different options, you refer directly here:
Filters:
Filter Name Valid Operators Valid Value (s)
----------- --------------- ------------------------ -
STATUS eq, ne RUNNING |
Not Responding | KHÔNG RÕ
IMAGENAME eq, ne Image name
PID eq, ne, gt, lt, ge, le PID value
SESSION eq, ne, gt, lt, ge, le Session number.
CPUTIME eq, ne, gt, lt, ge, le CPU time in the format
of hh: mm: ss.
hh - hours,
mm - minutes, ss - seconds
MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
USERNAME eq, ne User name in [domain \] user
format
Modules eq, ne DLL name
SERVICES eq, ne Service name
WINDOWTITLE eq, ne href Window
NOTE
----
1) Wildcard '*' for / IM switch is accepted only filter is khi áp dụng.
2) Termination of remote processes Will always be done forcefully (/ F).
3) "WINDOWTITLE" and "STATUS" filters are not considered a remote khi
machine is specified.
--After determining the appropriate parameters to apply, please arrange them as appropriate. For example, we want to turn off the program by using the account name, be incorporated into the taskkill command as follows (in this example is a geek), the parameters eq means equal:
taskkill / F / FI "USERNAME eq user_name"
--The only problem here is that this command is short and always 2 dwm.exe explorer.exe process, you will see the entire screen and Start Menu disappeared. With the application of filter parameters / FI we can overcome this problem with variable IMAGENAME transplantation - the name of the application and ne - not equal to assign the application does not need to turn off:
taskkill / F / FI "USERNAME eq user_name" / FI "IMAGENAME ne explorer.exe" / FI "IMAGENAME ne dwm.exe"
--Make sure you replace USERNAME and IMAGENAME with appropriate programs in the system. If you have accidentally disabled Explorer.exe process, use the shortcut Ctrl + Shift + Esc to open Task Manager and open Explorer.exe from the File menu> Run (type explorer.exe in the Run box.)
If you do not want to turn the entire program, leave the / F command out.
Create Windows Shortcut Nuke
--Compared to the command prompt treatment, the shortcut looked easy and much easier. Right click anywhere on the desktop and select New> Shortcut:
--And type as above Location box, then select Shortcut icon and put it somewhere on the desktop:
Source: Internet
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment