Page 1 of 1 1
Topic Options
#81827 - 2003-08-31 01:23 PM Native Terminate function
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11563
Loc: CA
It would be nice to have a native TERMINATE function like the Microsoft Resourcekit utility KILL or the WMI Process.Terminate

Be able to support both LOCAL and REMOTE as well as Windows 9x/NT/2000/XP/2003

TERMINATE($Computer,'Winword.exe')
or
TERMINATE(@WKSTA,'NOTEPAD.EXE')

Also maybe supporting the process tree where more then one file is part of the process so that the process can be terminated successfully.

[ 31. August 2003, 13:25: Message edited by: NTDOC ]

Top
#81828 - 2003-08-31 04:51 PM Re: Native Terminate function
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22303
Loc: OK
not sure the wmi-way is good.
afaik, with it you can't kill services, but kill does them fine too.
_________________________
!

download KiXnet

Top
#81829 - 2003-08-31 10:24 PM Re: Native Terminate function
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4641
Loc: The Netherlands
Id like this.
This would be like doing an "End task" on the process.

Would not be desirable with the IE process though. Doing an end task on IE will close all IE windows only when just one windows locks up or has a (company policy) not allowed website in it.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#81830 - 2003-09-01 04:44 AM Re: Native Terminate function
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22303
Loc: OK
that's why you can go with PID, not just processname.
_________________________
!

download KiXnet

Top
#81831 - 2003-09-04 02:11 PM Re: Native Terminate function
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
If we go look at - http://www.sysinternals.com/ntw2k/freeware/pstools.shtml we find a number of external tools that work along these lines.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#81832 - 2003-09-04 11:49 PM Re: Native Terminate function
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22303
Loc: OK
along the lines of?
ps there does not mean anything about process, just a name for a suite.
_________________________
!

download KiXnet

Top
#81833 - 2003-09-06 07:34 AM Re: Native Terminate function
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Huh??

quote:

PsKill - kill processes by name or process ID
PsList - list detailed information about processes

I have used these (and they are available as separate downloads too).. I have also used NTHANDLE as well..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#81834 - 2003-09-06 08:27 AM Re: Native Terminate function
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22303
Loc: OK
a number?
right, 2 makes a number [Wink]
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 150 anonymous users online.
Newest Members
Hdrthtsr19956, Kylie99, msmile042, rayd8, HardKn0X
17597 Registered Users

Generated in 0.073 seconds in which 0.029 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org