?
Solved

Urgent : How to kill inetinfo from remote computer

Posted on 2004-08-04
3
Medium Priority
?
621 Views
Last Modified: 2010-07-27
i have developed  a web-server application (ISAPI DLL) by using delphi..it is running fine
at my web server computer, i can type "kill inetinfo" in dos-prompt to kill my IIS service ..

however, is there anyway to do it in remote computer ?
in my another computer, i try to type

kill \\webserver\admin$\system32\inetsrv\inetinfo.exe


it doesn't work ...i just wonder where is actually the inetinfo.exe is located in web server ?
these 2 computer are located in the same LAN, i can access inetsrv folder by typing

\\webserver\admin$\system32\inetsrv\  in window explorer ....

thanks

0
Comment
Question by:chongkeng_woon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 11715568
Kill just doesn't support killing processes on a remote computer. Would be a nasty security problem if it could, anyways... Besides, killing processes this way will make your system a but unstable.

What you need is to write some program that you can connect to from the network. This program could then execute whatever command you like to execute.
0
 
LVL 2

Assisted Solution

by:Molando
Molando earned 400 total points
ID: 11717841
You need rkill. You did not state which version of windows you were running. if 2000 then go to:
http://www.petri.co.il/download_free_reskit_tools.htm

Molando.

0
 
LVL 17

Accepted Solution

by:
TheRealLoki earned 1600 total points
ID: 11719884
I believe the windows resource kit ships with tools for doing this.
search for PSLIST.exe and PSKILL.exe
The other option in the resource kit is the RemoteKill service, which unfortunately, requires a service to be installed on the remote computer.
Fortuantely, the resource kit also ships with 2 tools for installing services remotely :-D
I prefer PSList and PSKill myself. I even made a simple GUI for it once.

you pslist \\machine
and can see the process list,
then you pskill \\machine processid
you can make a simple "kill by name" encapsulation with an hour's work

hth, Loki
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question