ServiceController seems to be unable to stop a service

I know I am quite late to answer this but I faced a similar issue , i.e., the error: “The service cannot accept control messages at this time.” and would like to add this as a reference for others.

You can try killing this service using powershell (run powershell as administrator):

#Get the PID of the required service with the help of the service name, say, service name.
$ServicePID = (get-wmiobject win32_service | where { $_.name -eq 'service name'}).processID 

#Now with this PID, you can kill the service
taskkill /f /pid $ServicePID

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)