tasklist --- To see the list of running services & PID (Process ID) on Windows from command line.
taskkill --- To kill any running services on Windows from command line
- Go to Start > Run, then type CMD and press Enter.
- In the Command Prompt window type any of the above commands(taskkill,tasklist) and press enter key
Ex: taskkill /PID 1412 /PID 139 /T /F ---- To kill running service
above command will kill process id 1412 and 139 forcefully
/T -Tree kill
/F -forcefully
No comments:
Post a Comment