Not all the services you will be able to kill from Task Manager. Some services still run even though if you uninstall or disable them
A hanged service looks like the below screenshot example (as you can see below, all Start/Stop/Pause/Resume buttons are disabled):
To kill this service, first note the service name. On the screenshot above, it is ‘Business View Manager’ (ie: the first thing displayed in the “General” tab).
Then, open a command Prompt and run the ‘sc queryex’ command to retrieve the service PID, then use the ‘taskkill’ command to… well, kill it ! (as below)
C:\>sc queryex Business View ManagerSERVICE_NAME: Business View ManagerTYPE : 10 WIN32_OWN_PROCESSSTATE : 2 START_PENDING(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN))WIN32_EXIT_CODE : 0 (0x0)SERVICE_EXIT_CODE : 0 (0x0)CHECKPOINT : 0x1WAIT_HINT : 0xbb8PID : 3756FLAGS :C:\>taskkill /PID 3756 /FSUCCESS: The process with PID 3756 has been terminated.Note: Be careful of what you are killing though. If you kill a critical windows service you may end up forcing the machine to reboot on it own. |
No comments:
Post a Comment