my Q is divided to two:
1. what is a stop pending? would it stop me from changing the service dlls?
2. how can i stop a stubern service?
I am trying to close all services on a VM remotely in order to change dlls on the VMs. some services stay as stop pending. I treied wait for service through the service control manger.
sc.Stop();
sc.WaitForStatus(ServiceControllerStatus.Stopped, TimeSpan.FromSeconds(25));
as well I can not close a service that have dependencies
any ideas?