stop a stop_pending service

D

Dave

Hi

How can I stop a "stop_pending" service.
I'm in the middle of a migration of a client for antivirus (MCAfee frameworkService)
I need to stop the service first before I can upgrade it but I have a problem on some stations
when I tru to stop the service it hangs on the status "STOP_PENDING"
How can I force this service to stop if it returns the "STOP_PENDING" state?

NOTE:
some of the stations are unreachable I have to do this remotely
(currently I'm using the SC command and Remote Task Manager to do this remotely)
I even tried stopping the proces with PSkill without succes.

thx in advance
 
G

Guest

Dave,

1. Use MMC > Add/Remove Snap-In > Services, Connect to the remote computer.
2. Select the service and set the startup type to "Disabled."
3. From command line, shutdown -m \\computername -r (- r for restart)

The PC should then reboot without starting that service.

HTH,

Eugenio
 
M

Matt Gibson

In other words.

You can't.

Matt Gibson - GSEC

eugenefl said:
Dave,

1. Use MMC > Add/Remove Snap-In > Services, Connect to the remote
computer.
2. Select the service and set the startup type to "Disabled."
3. From command line, shutdown -m \\computername -r (- r for restart)

The PC should then reboot without starting that service.

HTH,

Eugenio
 
D

Dave

Thx for the help guys

I was afraid for this solution
But if there is no other alternative.. I have to use to the restart routine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top