{"id":11324,"date":"2022-08-29T06:55:40","date_gmt":"2022-08-29T13:55:40","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=11324"},"modified":"2026-04-28T14:50:53","modified_gmt":"2026-04-28T21:50:53","slug":"how-to-export-services","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/windows-services\/how-to-export-services\/","title":{"rendered":"How to Export the List of Windows Services on Your Computer"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"\/blog\/images\/export-services.webp\" style=\"margin-bottom:20px;\" title=\"How to Export the List of Services on Your Computer\" alt=\"How to Export the List of Services on Your Computer\" border=\"0\" width=\"450\" height=\"160\" \/><\/div>\n<h2 class=\"blog-caption-numbered\">1. Export to CSV or tabbed text with the Services application<\/h2>\n<p>Perhaps the easiest way to export your services is with the <a href=\"\/blog\/windows-services\/essential-tools-windows-services-msc\/\">built-in Windows Services application<\/a> &mdash; services.msc.<\/p>\n<p>To export, simply:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>Start Services. Click the Start button, type <b>services.msc<\/b> in the search field and hit return.<\/p>\n<\/li>\n<li>\n<p>From the <b>Action<\/b> menu, select <b>Export List<\/b>:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/services-export-list.png\" class=\"zoomPopup\" title=\"Services: Export List\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/services-export-list.png\" title=\"Services: Export List (click to enlarge)\" alt=\"Services: Export List\" border=\"0\" width=\"500\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>Choose the format (tab delimited text or CSV), enter a file name and click <b>Save<\/b> to create the file.<\/p>\n<\/li>\n<\/ol>\n<p>Your file will contain the following five columns of data, which you cannot customize:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>Name (Note: This is the service&#8217;s display name, not its unique name used by Windows)<\/p>\n<\/li>\n<li>\n<p>Description<\/p>\n<\/li>\n<li>\n<p>Status<\/p>\n<\/li>\n<li>\n<p>Startup Type<\/p>\n<\/li>\n<li>\n<p>Log On As<\/p>\n<\/li>\n<\/ol>\n<p>If that&#8217;s all you need then you&#8217;re good to go.<\/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-numbered\">2. Export to CSV or XML with PowerShell<\/h2>\n<p>Even though it&#8217;s easy, exporting with the Services application may not provide all the information you need. For example, the service name is not included and neither is the command line used to start the service.<\/p>\n<p>If you&#8217;d like more data, then PowerShell is a better option.<\/p>\n<p>For example, this command lists all the services on your machine:<\/p>\n<blockquote><p><b>Get-CIMInstance -Class Win32_Service | Select-Object Name, DisplayName, Description, StartMode, DelayedAutoStart, StartName, PathName, State, ProcessId<\/b><\/p><\/blockquote>\n<p>The output looks like this:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/powershell-list-all-services.png\" class=\"zoomPopup\" title=\"PowerShell: List all services\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/powershell-list-all-services.png\" title=\"PowerShell: List all services (click to enlarge)\" alt=\"PowerShell: List all services\" border=\"0\" width=\"500\"><\/a><\/div>\n<p>Note that you can add or remove properties from the <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/microsoft.powershell.utility\/select-object\" target=\"_blank\" rel=\"noopener\">Select-Object<\/a> section as you see fit. Feel free to include any property listed in the <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/cimwin32prov\/win32-service\" target=\"_blank\" rel=\"noopener\">Win32_Service class<\/a> documentation.<\/p>\n<p>And once you&#8217;ve settled on a command that prints the necessary information, call the <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/microsoft.powershell.utility\/export-csv\" target=\"_blank\" rel=\"noopener\">Export-CSV module<\/a> at the end to send the results to a file.<\/p>\n<p>For example, this command exports the list of services to &#8220;C:\\output-file.csv&#8221;:<\/p>\n<blockquote><p><b>Get-CIMInstance -Class Win32_Service | Select-Object Name, DisplayName, Description, StartMode, DelayedAutoStart, StartName, PathName, State, ProcessId | <span style=\"color:red;\">Export-CSV -Path C:\\output-file.csv<\/span><\/b><\/p><\/blockquote>\n<p>If you prefer to create an XML file, call <a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/microsoft.powershell.utility\/export-clixml\" target=\"_blank\" rel=\"noopener\">Export-Clixml<\/a> instead:<\/p>\n<blockquote><p><b>Get-CIMInstance -Class Win32_Service | Select-Object Name, DisplayName, Description, StartMode, DelayedAutoStart, StartName, PathName, State, ProcessId | <span style=\"color:red;\">Export-Clixml -Path C:\\output-file.xml<\/span><\/b><\/p><\/blockquote>\n<p>But we must warn you &mdash; the XML created is a bit difficult to read (or parse):<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/powershell-export-services-xml.png\" class=\"zoomPopup\" title=\"Services exported to XML with PowerShell\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/powershell-export-services-xml.png\" title=\"Services exported to XML with PowerShell (click to enlarge)\" alt=\"Services exported to XML with PowerShell\" border=\"0\" width=\"520\"><\/a><\/div>\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-numbered\">3. Export to XML with Windows Service Auditor<\/h2>\n<p>Finally, if you&#8217;re after XML, our free <a href=\"\/products\/WindowsServiceAuditor\/\">Windows Service Auditor<\/a> utility is worth a look.<\/p>\n<p>We created Windows Service Auditor to help protect against changes to your important Windows Services but it has the ability to export the list of services to an XML file as well.<\/p>\n<p>After downloading and starting Windows Service Auditor, simply select <b>Export (XML)<\/b> from the <b>All Services<\/b> menu to create the XML file:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/windows-service-auditor-export-all-xml.png\" class=\"zoomPopup\" title=\"Windows Service Auditor: Export XML\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/windows-service-auditor-export-all-xml.png\" title=\"Windows Service Auditor: Export XML (click to enlarge)\" alt=\"Windows Service Auditor: Export XML\" border=\"0\" width=\"520\"><\/a><\/div>\n<p>The XML will be very detailed, with all aspects of your Windows Services recorded. Here is an example:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/windows-service-auditor-xml.png\" class=\"zoomPopup\" title=\"XML created by Windows Service Auditor\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/windows-service-auditor-xml.png\" title=\"XML created by Windows Service Auditor (click to enlarge)\" alt=\"XML created by Windows Service Auditor\" border=\"0\" width=\"520\"><\/a><\/div>\n<p>Because its output is so detailed, Windows Service Auditor is your best option if your goal is to take a snapshot of your services and all their settings.<\/p>\n<p style=\"margin-top:30px\">\nHopefully one of these three methods works for you!\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\/windows-services-2\/\" title=\"More about Windows Services\"><span class=\"nobr\">Read more about Windows Services\u2026<\/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\"><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\/windows-admin-center\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Manage Your Windows Services with Windows Admin Center\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/windows-admin-center-logo-150x150.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\">Manage Your Windows Services with Windows Admin Center<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/grant-service-start-stop-rights\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: How do I allow Non-Admins to Start\/Stop\/Restart my AlwaysUp Windows Services?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/service-security-150x150.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\">Q&amp;A: How do I allow Non-Admins to Start\/Stop\/Restart my AlwaysUp Windows Services?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/multiple-dropbox-accounts\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: Can I Sync Multiple Dropbox Accounts with AlwaysUp?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/run-multiple-dropbox-instances-150x150-2.webp\" 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\">Q&amp;A: Can I Sync Multiple Dropbox Accounts with AlwaysUp?<\/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>1. Export to CSV or tabbed text with the Services application Perhaps the easiest way to export your services is with the built-in Windows Services application &mdash; services.msc. To export, simply: Start Services. Click the Start button, type services.msc in &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/how-to-export-services\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":11450,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[295,119,151,240,196],"class_list":["post-11324","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-services","tag-export-services","tag-powershell","tag-services-msc","tag-windows-service-auditor","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11324","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=11324"}],"version-history":[{"count":13,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11324\/revisions"}],"predecessor-version":[{"id":13467,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11324\/revisions\/13467"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/11450"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=11324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=11324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=11324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}