{"id":701,"date":"2014-07-01T09:00:43","date_gmt":"2014-07-01T16:00:43","guid":{"rendered":"http:\/\/www.coretechnologies.com\/blog\/?p=701"},"modified":"2026-11-23T21:32:22","modified_gmt":"2026-11-24T05:32:22","slug":"using-tasklist-to-check-windows-services","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/miscellaneous\/using-tasklist-to-check-windows-services\/","title":{"rendered":"Use TASKLIST to check your Windows Services"},"content":{"rendered":"<p>\nIf you&#8217;re comfortable working with Windows Services from the command line, take a look at Microsoft&#8217;s TASKLIST utility. This often overlooked tool &mdash; available on all versions of Windows &mdash; can help you answer important questions as you troubleshoot your Windows Services.\n<\/p>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\"><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">What is the PID Associated with a Running Service?<\/h2>\n<p>\nYou can use the name of the service to look up the identifier of the process associated with it. For example, to find the PID of the Print Spooler service (named &#8220;Spooler&#8221;), use:\n<\/p>\n<blockquote><p><b>TASKLIST \/SVC \/FI &quot;SERVICES eq Spooler&quot;<\/b><\/p><\/blockquote>\n<p>\nHere is the result you can expect, with the PID listed in the central column:\n<\/p>\n<p><a href=\"\/blog\/images\/tasklist-spooler-service-process.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"TASKLIST - Find a Service's PID\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/tasklist-spooler-service-process.png\" border=\"0\" title=\"TASKLIST - Find a Service's PID (click to enlarge)\" alt=\"TASKLIST - Find a Service's PID\" width=\"560\"><br \/>\n<\/a><\/p>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\"><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">What Windows Services are Being Hosted by a Specific Process?<\/h2>\n<p>\nIf you are considering forcibly terminating a process, it may be wise to confirm that doing so will not unexpectedly kill related services! TASKLIST.EXE comes to the rescue by easily showing what services are running in a given process. For example, to see what services are behind the process with PID 1234, type:\n<\/p>\n<blockquote><p><b>TASKLIST \/SVC \/FI  &quot;PID eq 1234&quot;<\/b><\/p><\/blockquote>\n<p>\nHere we can see that the svchost process with PID 1284 is managing five (!) core services:\n<\/p>\n<p><a href=\"\/blog\/images\/tasklist-pid-to-services.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"TASKLIST - Find a PID's services\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/tasklist-pid-to-services.png\" border=\"0\" title=\"TASKLIST - Find a PID's services (click to enlarge)\" alt=\"TASKLIST - Find a PID's services\" width=\"560\"><br \/>\n<\/a><\/p>\n<p>\nNote that TASKLIST can interrogate remote machines as well. Simply add the \/S \/U and \/P flags to the command line to specify the system, user name and password respectively.\n<\/p>\n<p>\nEnjoy!\n<\/p>\n<div style=\"margin-top:30px\" align=\"center\">\n<div class=\"cta-button-1\">\n<table role=\"presentation\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"left\">\n<tbody>\n<tr>\n<td align=\"center\"><a href=\"\/blog\/tag\/essential-tools\/\" title=\"More Essential Tools\"><span class=\"nobr\">More Essential Tools&#8230;<\/span><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><h3 class=\"relpoststh-block-title\">You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 3; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/dcomlaunch\/\"class=\"relpost-block-single\"  aria-label=\"Essential Windows Services: DcomLaunch \/ DCOM Server Process Launcher\"><div class=\"relpost-custom-block-single\"><img loading=\"lazy\" decoding=\"async\" class=\"relpost-block-single-image\" alt=\"Essential Windows Services: DcomLaunch \/ DCOM Server Process Launcher\" src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/dcom-communication-150x150.png\" width=\"150\" height=\"150\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" style=\"aspect-ratio:1\/1;object-fit:cover;\" \/><div class=\"relpost-block-single-text\"  style=\"height: 100px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h3 class=\"relpost_card_title\">Essential Windows Services: DcomLaunch \/ DCOM Server Process Launcher<\/h3><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/auto-restart-service\/\"class=\"relpost-block-single\"  aria-label=\"Q&amp;A: How do I Automatically Restart my Windows Service when it Crashes?\"><div class=\"relpost-custom-block-single\"><img loading=\"lazy\" decoding=\"async\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: How do I Automatically Restart my Windows Service when it Crashes?\" src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/restart-windows-service-150x150-1.png\" width=\"150\" height=\"150\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" style=\"aspect-ratio:1\/1;object-fit:cover;\" \/><div class=\"relpost-block-single-text\"  style=\"height: 100px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h3 class=\"relpost_card_title\">Q&amp;A: How do I Automatically Restart my Windows Service when it Crashes?<\/h3><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/change-service-name\/\"class=\"relpost-block-single\"  aria-label=\"Q&amp;A: How do I Change the Name of my Windows Service?\"><div class=\"relpost-custom-block-single\"><img loading=\"lazy\" decoding=\"async\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: How do I Change the Name of my Windows Service?\" src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/change-service-name-150x150-1.png\" width=\"150\" height=\"150\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" style=\"aspect-ratio:1\/1;object-fit:cover;\" \/><div class=\"relpost-block-single-text\"  style=\"height: 100px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h3 class=\"relpost_card_title\">Q&amp;A: How do I Change the Name of my Windows Service?<\/h3><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re comfortable working with Windows Services from the command line, take a look at Microsoft&#8217;s TASKLIST utility. This often overlooked tool &mdash; available on all versions of Windows &mdash; can help you answer important questions as you troubleshoot your &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/miscellaneous\/using-tasklist-to-check-windows-services\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2259,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[77,166,196],"class_list":["post-701","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-miscellaneous","tag-essential-tools","tag-tasklist","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=701"}],"version-history":[{"count":2,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/701\/revisions"}],"predecessor-version":[{"id":13847,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/701\/revisions\/13847"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/2259"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}