Restarting elusive services without restarting the system

Kill and restart that elusive service which has stopped responding to your system and the services control panel applet.

Ever wonder how to kill and restart that elusive service which has stopped responding to your system and the services...

control panel applet? BUT being a production server, you'd prefer it to start the service without restarting the system?

Well you can!!

What you need is just a small hidden jewel in the Widows Resource Kit.

Here are the steps on how to go about it:

    a). Install the Windows Server Resource Kit on your machine [If not already installed]

    b). [optional] Browse to %Program Files%Resource Kit directory [Although the setup adds the path to it in the path envoirment]

    c). Type:

    rkill /install (your-server-name)
    This installs the remote process killer service on the machine.

Now all you have to do is run the

rkill /view (your-server-name)
command on your machine. It should display the processes and their PID list in tree view. You might need to increase the height of the command window from its properties->Layout->Screen Buffer Size->Height to e.g. 120 to get the entire process list viewable else it'll just zoom by fast, or you can pipe it "|more|" or "rkill.txt".

Now browse to the process which is not responding and note its corresponding PID.

Now give the

rkill /kill (your-server-name) "PID of the stuck process"

This will kill the process. Then you can go to the services tab and start the service again.

This was first published in March 2001
This Content Component encountered an error



Find more PRO+ content and other member only offers, here.



Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:









  • VDI assessment guide

    Wait! Don't implement VDI technology until you know your goals and needs. A VDI assessment should consider the benefits of a VDI ...

  • Guide to calculating ROI from VDI

    Calculating ROI from VDI requires a solid VDI cost analysis. Consider ROI calculation models, storage costs and more to determine...

  • Keep the cost of VDI storage under control

    Layering, persona management tools and flash arrays help keep virtual desktop users happy and VDI storage costs down.