{"id":397,"date":"2014-02-24T08:00:03","date_gmt":"2014-02-24T16:00:03","guid":{"rendered":"http:\/\/www.coretechnologies.com\/blog\/?p=397"},"modified":"2019-11-11T21:53:08","modified_gmt":"2019-11-12T05:53:08","slug":"essential-tools-for-windows-services-process-explorer","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/windows-services\/essential-tools-for-windows-services-process-explorer\/","title":{"rendered":"Essential Tools for Windows Services: Process Explorer"},"content":{"rendered":"<p>\nIf you want to understand what&#8217;s <i>really<\/i> going on with the programs on your computer, then look no further than Microsoft&#8217;s excellent (and free) <a href=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb896653.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">Process Explorer<\/a>. Think of it as the &#8220;Task Manager on steroids&#8221;, with the ability to show all processes, threads, handles, and of course, Windows Services running on your PC.\n<\/p>\n<p>\nWhen launched, Process Explorer shows a colorful tree of all the active processes. The interface automatically refreshes itself every few seconds to highlight processes as they come and go. All Windows Services run under the <b>wninit.exe > services.exe<\/b> branch:\n<\/p>\n<p><a href=\"\/blog\/images\/process-explorer-services-tree.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Process Explorer: Services Tree\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/process-explorer-services-tree.png\" border=\"0\" title=\"Process Explorer: Services Tree (click to enlarge)\" alt=\"Process Explorer: Services Tree\" width=\"560\" \/><br \/>\n<\/a><\/p>\n<p>\nDouble-clicking an entry allows you to dig into a specific process. For example, here is what is shown for spoolsv.exe, the Windows Print Spooler:\n<\/p>\n<p><a href=\"\/blog\/images\/process-explorer-spooler-process-properties.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Process Explorer: Spooler Process (spoolsv.exe)\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/process-explorer-spooler-process-properties.png\" border=\"0\" width=\"447\" height=\"562\" title=\"Process Explorer: Spooler Process (spoolsv.exe) (click to enlarge)\" alt=\"Process Explorer: Spooler Process (spoolsv.exe)\" \/><br \/>\n<\/a><\/p>\n<p>\nYou can start, stop, restart or even change the permissions of the Spooler service from the Services tab:\n<\/p>\n<p><a href=\"\/blog\/images\/process-explorer-spooler-service-properties.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Process Explorer: Spooler Service\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/process-explorer-spooler-service-properties.png\" border=\"0\" width=\"447\" height=\"562\" title=\"Process Explorer: Spooler Service (click to enlarge)\" alt=\"Process Explorer: Spooler Service\" \/><br \/>\n<\/a><\/p>\n<p>\nBack on Process Explorer&#8217;s main screen, summon the Lower Pane (<b>View > Show Lower Pane<\/b>) for some serious detective work. You can review all DLLs loaded, or even better, see all the files, registry keys and other objects locked by a process by viewing Handles for the lower pane (<b>View > Lower Pane View > Handles<\/b>). Here we see that iTunes (being run as a service with <a href=\"\/products\/AlwaysUp\/\" target=\"_blank\" rel=\"noopener noreferrer\">AlwaysUp<\/a>) is using the &#8220;counters.dat&#8221; file:\n<\/p>\n<p><a href=\"\/blog\/images\/process-explorer-itunes-handles.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Process Explorer: iTunes Handles\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/process-explorer-itunes-handles.png\" border=\"0\" title=\"Process Explorer: iTunes Handles (click to enlarge)\" alt=\"Process Explorer: iTunes Handles\" width=\"560\" \/><br \/>\n<\/a><\/p>\n<p>\nAnd perhaps most useful of all, Process Explorer can help you track down which application is preventing you from deleting a file or folder! Choose <b>Find > Find Handle or DLL&#8230;<\/b> and search for the file by name. Here we can see that the counters.dat file used by iTunes is also being held by Explorer and QuickBooks:\n<\/p>\n<p><a href=\"\/blog\/images\/process-explorer-search.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Process Explorer: Search\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/process-explorer-search.png\" border=\"0\" title=\"Process Explorer: Search (click to enlarge)\" alt=\"Process Explorer: Search\" width=\"560\" \/><br \/>\n<\/a><\/p>\n<p>Process Explorer has many other interesting features. Easily terminate any process (and all its sup-processes if necessary), boost the priority of any process to make it run faster, and much more. Enjoy!<\/p>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>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: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/lanmanserver\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Essential Windows Services: LanmanServer \/ Server\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/server-service-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Essential Windows Services: LanmanServer \/ Server<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/software\/autoruns\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Which Programs Start Automatically? Autoruns Will Help You Find (And Eliminate) Them\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/autoruns-logo-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Which Programs Start Automatically? Autoruns Will Help You Find (And Eliminate) Them<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows\/windows-server-2022\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Windows Server 2022: A Few Improvements, but No Changes to Windows Services\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/windows-server-2022-standard-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Windows Server 2022: A Few Improvements, but No Changes to Windows Services<\/h2><\/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 want to understand what&#8217;s really going on with the programs on your computer, then look no further than Microsoft&#8217;s excellent (and free) Process Explorer. Think of it as the &#8220;Task Manager on steroids&#8221;, with the ability to show &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/essential-tools-for-windows-services-process-explorer\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":8571,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[77,122,196],"class_list":["post-397","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-services","tag-essential-tools","tag-process-explorer","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/397","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=397"}],"version-history":[{"count":0,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/397\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/8571"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}