Taskkill — manages to kill systems running task
TASKKILL [/S system [/U username [/P [password]]]]
{ [/FI filter] [/PID processid | /IM imagename] } [/F] [/T]
Description:
This command line tool can be used to end one or more processes.
Processes can be killed by the process id or image name.
Parameter List:
/S system Specifies the remote system to connect to.
/U [domain\]user Specifies the user context under which
the command should execute.
/P [password] Specifies the password for the given
user context. Prompts for input if omitted.
/F Specifies to forcefully terminate
process(es).
/FI filter Displays a set of tasks that match a
given criteria specified by the filter.
/PID process id Specifies the PID of the process that
has to be terminated.
/IM image name Specifies the image name of the process
that has to be terminated. Wildcard ‘*’
can be used to specify all image names.
/T Tree kill: terminates the specified process
and any child processes which were started by it.
/? Displays this help/usage.
Filters:
Filter Name Valid Operators Valid Value(s)
———– ————— ————–
STATUS eq, ne RUNNING | NOT RESPONDING
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 Window title
NOTE: Wildcard ‘*’ for the /IM switch is accepted only with filters.
NOTE: Termination of remote processes will always be done forcefully
irrespective of whether /F option is specified or not.
Examples:
TASKKILL /S system /F /IM notepad.exe /T
TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
TASKKILL /F /IM notepad.exe /IM mspaint.exe
TASKKILL /F /FI “PID ge 1000″ /FI “WINDOWTITLE ne untitle*”
TASKKILL /F /FI “USERNAME eq NT AUTHORITY\SYSTEM” /IM notepad.exe
TASKKILL /S system /U domain\username /FI “USERNAME ne NT*” /IM *
TASKKILL /S system /U username /P password /FI “IMAGENAME eq note*”
NET
NET command /HELP
Commands available are:
NET ACCOUNTS NET HELP NET SHARE
NET COMPUTER NET HELPMSG NET START
NET CONFIG NET LOCALGROUP NET STATISTICS
NET CONFIG SERVER NET NAME NET STOP
NET CONFIG WORKSTATION NET PAUSE NET TIME
NET CONTINUE NET PRINT NET USE
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW
NET HELP SERVICES lists some of the services you can start.
NET HELP SYNTAX explains how to read NET HELP syntax lines.
NET HELP command | MORE displays Help one screen at a time.
GETMAC — Get information for Network adapter from Command Line
GETMAC — The output from this utility consists of the network adapter MAC address and the transport name associated with it
GETMAC [/S system [/U username [/P [password]]]] [/FO format] [/NH] [/V]
Description:
This command line tool enables an administrator to display the MAC
address for one or more network adapters on a system.
Parameter List:
/S system Specifies the remote system to connect to.
/U [domain\]user Specifies the user context under
which the command should execute.
/P [password] Specifies the password for the given
user context. Prompts for input if omitted.
/FO format Specifies the format in which the output
is to be displayed.
Valid values: “TABLE”, “LIST”, “CSV”.
/V Specifies that the detailed information
should be displayed in the output.
/NH Specifies that the “Column Header” should
not be displayed in the output.
Valid only for TABLE and CSV formats.
/? Displays this help/usage.
Examples:
GETMAC /FO csv
GETMAC /S system /NH /V
GETMAC /S system /U user
GETMAC /S system /U domain\user /P password /FO list /V
GETMAC /S system /U domain\user /P password /FO table /NH
-
Recent
- Crude Oil dashboard
- SAP V1, V2 and V3 Udates
- Reporting Authorization in SAP BI 7.0
- Key Points to remember at the time of Requirement Gathering for BPS Planning
- Transaction for BPS Front End Applicatioin
- Status and Tracking Systems (STS) Application
- SAP BI-IP Implementation steps
- BEx – Query Designer
- SAP SEM BPS Planning Application
- SAP OLAP Cache – Reporting Agent
- SAP BI – Remodeling/Repartioning/ReClustering
- SAP BI – Physical Partitioning
-
Links
- Free Books
- IT Ethics course web site
- Info Infrastructure Protection
- Planet Labs
- The 2006 UCSB International Capture The Flag
- Master School site
- My undergrad school
- Packet Storm
- Security Focus
- BlackHat Hacking
- Good informative link for Windows based
- Well maintain source for LAMP
- O’Reilly Blogs
- Linux Online Resourses
-
Archives
- December 2008 (1)
- October 2008 (1)
- September 2008 (2)
- August 2008 (12)
- July 2008 (1)
- February 2008 (3)
- October 2007 (2)
- September 2007 (1)
- August 2007 (9)
- July 2007 (21)
- June 2007 (22)
-
Categories
-
RSS
Entries RSS
Comments RSS