System Export List of Running and Stopped Services in Windows 11


  • Staff
Services_banner.png

This tutorial will show you how to export a list of all running and/or stopped services in Windows 10 and Windows 11.

Services are an application type that runs in the system background without a user interface. Services provide core operating system features (such as printing, networking, remote access, File Explorer, Windows Search, updates, etc.) and apps to operate as intended.

The exported list will show you the StartType (ex: Automatic, Manual, Disabled), Status (stopped or running), Name, and DisplayName of each service.

You can export the list of running and stopped services to either a TXT file, CSV file, or show in the terminal window.


Contents

  • Option One: Export List of Running and Stopped Services in Command Prompt
  • Option Two: Export List of Running and Stopped Services in PowerShell


EXAMPLE: Export list of running and stopped services in Windows PowerShell window

export_services.png





Option One

Export List of Running and Stopped Services in Command Prompt


1 Open Windows Terminal, and select Command Prompt.

2 Copy and paste the command below you want to use into the command prompt, and press Enter.

(List all running and stopped services in command prompt)
PowerShell Get-Service ^| Select StartType, Status, Name, DisplayName^| Format-Table -AutoSize

(List all running and stopped services to .txt file)
PowerShell Get-Service ^| Select StartType, Status, Name, DisplayName ^| Format-Table -AutoSize ^| Out-File -filepath "$Env:userprofile\Desktop\All_Services.txt"

(List all running and stopped services to .csv file)
PowerShell Get-Service ^| Select StartType, Status, Name, DisplayName ^| Export-Csv -path "$Env:userprofile\Desktop\All_Services.csv"

OR

(List all running services in command prompt)
PowerShell Get-Service ^| Select StartType, Status, Name, DisplayName ^| Where-Object {$_.Status -eq 'Running'} ^| Format-Table -AutoSize

(List all running services to .txt file)
PowerShell Get-Service ^| Select StartType, Status, Name, DisplayName ^| Where-Object {$_.Status -eq 'Running'} ^| Format-Table -AutoSize ^| Out-File -filepath "$Env:userprofile\Desktop\Running_Services.txt"

(List all running services to .csv file)
PowerShell Get-Service ^| Select StartType, Status, Name, DisplayName ^| Where-Object {$_.Status -eq 'Running'} ^| Export-Csv -path "$Env:userprofile\Desktop\Running_Services.csv"

OR

(List all stopped services in command prompt)
PowerShell Get-Service ^| Select StartType, Status, Name, DisplayName ^| Where-Object {$_.Status -eq 'Stopped'} ^| Format-Table -AutoSize

(List all stopped services to .txt file)
PowerShell Get-Service ^| Select StartType, Status, Name, DisplayName ^| Where-Object {$_.Status -eq 'Stopped'} ^| Format-Table -AutoSize ^| Out-File -filepath "$Env:userprofile\Desktop\Stopped_Services.txt"

(List all stopped services to .csv file)
PowerShell Get-Service ^| Select StartType, Status, Name, DisplayName ^| Where-Object {$_.Status -eq 'Stopped'} ^| Export-Csv -path "$Env:userprofile\Desktop\Stopped_Services.csv"




Option Two

Export List of Running and Stopped Services in PowerShell


1 Open Windows Terminal, and select Windows PowerShell.

2 Copy and paste the command below you want to use into Windows PowerShell, and press Enter.

(List all running and stopped services in PowerShell)
Get-Service | Select StartType, Status, Name, DisplayName | Format-Table -AutoSize

(List all running and stopped services to .txt file)
Get-Service | Select StartType, Status, Name, DisplayName | Format-Table -AutoSize | Out-File -filepath "$Env:userprofile\Desktop\All_Services.txt"

(List all running and stopped services to .csv file)
Get-Service | Select StartType, Status, Name, DisplayName | Export-Csv -path "$Env:userprofile\Desktop\All_Services.csv"

OR

(List all running services in PowerShell)
Get-Service | Select StartType, Status, Name, DisplayName | Where-Object {$_.Status -eq 'Running'} | Format-Table -AutoSize

(List all running services to .txt file)
Get-Service | Select StartType, Status, Name, DisplayName | Where-Object {$_.Status -eq 'Running'} | Format-Table -AutoSize | Out-File -filepath "$Env:userprofile\Desktop\Running_Services.txt"

(List all running services to .csv file)
Get-Service | Select StartType, Status, Name, DisplayName | Where-Object {$_.Status -eq 'Running'} | Export-Csv -path "$Env:userprofile\Desktop\Running_Services.csv"

OR

(List all stopped services in PowerShell)
Get-Service | Select StartType, Status, Name, DisplayName | Where-Object {$_.Status -eq 'Stopped'} | Format-Table -AutoSize

(List all stopped services to .txt file)
Get-Service | Select StartType, Status, Name, DisplayName | Where-Object {$_.Status -eq 'Stopped'} | Format-Table -AutoSize | Out-File -filepath "$Env:userprofile\Desktop\Stopped_Services.txt"

(List all stopped services to .csv file)
Get-Service | Select StartType, Status, Name, DisplayName | Where-Object {$_.Status -eq 'Stopped'} | Export-Csv -path "$Env:userprofile\Desktop\Stopped_Services.csv"


That's it,
Shawn Brink


 

Attachments

  • services.png
    services.png
    10 KB · Views: 18
Last edited:
Great tutorial. Added to the Leader Board. :-)
 

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3527 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
I've tried your command prompt, plus a similar one supplied by Backblaze, (which prompted this whole course of action in the first place regarding an error pop up from Backblaze)... And at first I didn't think the prompts netted anything. BUT, I do see a "flash" of a box and then it disappears. The question is 'where' does the file go if there is one? I have looked everywhere and cannot find.

As an alternate for them on trouble shooting, I went into task manager and was able to download a list of processes to a text file, but not sure that is what they are really looking for. I am not actively using OneDrive (saw your prompt regarding it) as I have had issues with it default saving in the past (I hate OneDrive because it is a bully)... so I am fiercely trying not to use it -- I truly dislike it.

BUT, I tried to find any and all the folders that might exist under that folder name and nothing is there... I think I would have to go thru Microsoft and want to avoid that, of course.

I have a main large SSD drive, plus an internal 1TB hard drive, plus (3) external drives. I even searched through the ones that should obviously not have it. Thought it might even be on my desktop (I have a cluttered one)... but nada.

Anyway, not sure if I'm making sense -- this is super frustrating. Hopefully, someone can shed a bit of light on what I might try.
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    dell
I've tried your command prompt, plus a similar one supplied by Backblaze, (which prompted this whole course of action in the first place regarding an error pop up from Backblaze)... And at first I didn't think the prompts netted anything. BUT, I do see a "flash" of a box and then it disappears. The question is 'where' does the file go if there is one? I have looked everywhere and cannot find.

As an alternate for them on trouble shooting, I went into task manager and was able to download a list of processes to a text file, but not sure that is what they are really looking for. I am not actively using OneDrive (saw your prompt regarding it) as I have had issues with it default saving in the past (I hate OneDrive because it is a bully)... so I am fiercely trying not to use it -- I truly dislike it.

BUT, I tried to find any and all the folders that might exist under that folder name and nothing is there... I think I would have to go thru Microsoft and want to avoid that, of course.

I have a main large SSD drive, plus an internal 1TB hard drive, plus (3) external drives. I even searched through the ones that should obviously not have it. Thought it might even be on my desktop (I have a cluttered one)... but nada.

Anyway, not sure if I'm making sense -- this is super frustrating. Hopefully, someone can shed a bit of light on what I might try.
Hello, and welcome. :alien:

It depends on which command you used, but all the commands that output to a file will save the file to your Desktop.

Windows Terminal should not automatically close when you manually run any of the commands in the tutorial though.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Thank you, Brink... will scour my desktop to see if I missed it... but also now, the other mission is why is the windows terminal window closing... :(
I guess I have more troubleshooting ahead of me.
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    dell
Back
Top Bottom