Dumping All Running Services on Windows 7

Q

How to dump all services that are running on my Windows 7 system? I want to save names of all running services into a file.

✍: FYIcenter.com

A

You can dump all services that are running on your Windows 7 system using the "sc query type= service" command as shown below:

C:\Users\fyicenter>sc query type= service

SERVICE_NAME: AeLookupSvc
DISPLAY_NAME: Application Experience
        TYPE               : 20  WIN32_SHARE_PROCESS  
        STATE              : 4  RUNNING 
                                (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0
...
SERVICE_NAME: Appinfo
DISPLAY_NAME: Application Information
...
SERVICE_NAME: AudioEndpointBuilder
DISPLAY_NAME: Windows Audio Endpoint Builder
...
SERVICE_NAME: Audiosrv
DISPLAY_NAME: Windows Audio
...
SERVICE_NAME: BFE
DISPLAY_NAME: Base Filtering Engine
...
SERVICE_NAME: BITS
DISPLAY_NAME: Background Intelligent Transfer Service
...
SERVICE_NAME: bthserv
DISPLAY_NAME: Bluetooth Support Service
...
SERVICE_NAME: CcmExec
DISPLAY_NAME: SMS Agent Host
...
SERVICE_NAME: CertPropSvc
DISPLAY_NAME: Certificate Propagation
...
SERVICE_NAME: Copiun Administrative Service
DISPLAY_NAME: Copiun Administrative Service
...
SERVICE_NAME: CryptSvc
DISPLAY_NAME: Cryptographic Services
...
SERVICE_NAME: CscService
DISPLAY_NAME: Offline Files
...
SERVICE_NAME: DcomLaunch
DISPLAY_NAME: DCOM Server Process Launcher
...
SERVICE_NAME: Dhcp
DISPLAY_NAME: DHCP Client
...
SERVICE_NAME: Dnscache
DISPLAY_NAME: DNS Client
...
SERVICE_NAME: DPS
DISPLAY_NAME: Diagnostic Policy Service
...
SERVICE_NAME: dsNcService
DISPLAY_NAME: Juniper Network Connect Service
...
SERVICE_NAME: EapHost
DISPLAY_NAME: Extensible Authentication Protocol
...
SERVICE_NAME: eventlog
DISPLAY_NAME: Windows Event Log
...
SERVICE_NAME: EventSystem
DISPLAY_NAME: COM+ Event System
...
SERVICE_NAME: FCSAM
DISPLAY_NAME: Microsoft Forefront Client Security Antimalware Service
...
SERVICE_NAME: FcsSas
DISPLAY_NAME: Microsoft Forefront Client Security State Assessment Service
...
SERVICE_NAME: fdPHost
DISPLAY_NAME: Function Discovery Provider Host
...
SERVICE_NAME: FDResPub
DISPLAY_NAME: Function Discovery Resource Publication
...
SERVICE_NAME: FontCache
DISPLAY_NAME: Windows Font Cache Service
...
SERVICE_NAME: gpsvc
DISPLAY_NAME: Group Policy Client
...
SERVICE_NAME: hidserv
DISPLAY_NAME: Human Interface Device Access
...
SERVICE_NAME: HomeGroupProvider
DISPLAY_NAME: HomeGroup Provider
...
SERVICE_NAME: IBMPMSVC
DISPLAY_NAME: ThinkPad PM Service
...
SERVICE_NAME: iphlpsvc
DISPLAY_NAME: IP Helper
...
SERVICE_NAME: KeyIso
DISPLAY_NAME: CNG Key Isolation
...
SERVICE_NAME: LanmanServer
DISPLAY_NAME: Server
...
SERVICE_NAME: LanmanWorkstation
DISPLAY_NAME: Workstation
...
SERVICE_NAME: LENOVO.CAMMUTE
DISPLAY_NAME: Lenovo Camera Mute
...
SERVICE_NAME: LENOVO.MICMUTE
DISPLAY_NAME: Lenovo Microphone Mute
...
SERVICE_NAME: LENOVO.TPKNRSVC
DISPLAY_NAME: Lenovo Keyboard Noise Reduction
...
SERVICE_NAME: Lenovo.VIRTSCRLSVC
DISPLAY_NAME: Lenovo Auto Scroll
...
SERVICE_NAME: lmhosts
DISPLAY_NAME: TCP/IP NetBIOS Helper
...
SERVICE_NAME: McAfee Endpoint Encryption Agent
DISPLAY_NAME: McAfee Endpoint Encryption Agent
...
SERVICE_NAME: McAfeeFramework
DISPLAY_NAME: McAfee Framework Service
...
SERVICE_NAME: MMCSS
DISPLAY_NAME: Multimedia Class Scheduler
...
SERVICE_NAME: MOM
DISPLAY_NAME: MOM
...
SERVICE_NAME: MpsSvc
DISPLAY_NAME: Windows Firewall
...
SERVICE_NAME: Netlogon
DISPLAY_NAME: Netlogon
...
SERVICE_NAME: Netman
DISPLAY_NAME: Network Connections
...
SERVICE_NAME: netprofm
DISPLAY_NAME: Network List Service
...
SERVICE_NAME: NlaSvc
DISPLAY_NAME: Network Location Awareness
...
SERVICE_NAME: nsi
DISPLAY_NAME: Network Store Interface Service
...
SERVICE_NAME: osppsvc
DISPLAY_NAME: Office Software Protection Platform
...
SERVICE_NAME: PcaSvc
DISPLAY_NAME: Program Compatibility Assistant Service
...
SERVICE_NAME: PlugPlay
DISPLAY_NAME: Plug and Play
...
SERVICE_NAME: PolicyAgent
DISPLAY_NAME: IPsec Policy Agent
...
SERVICE_NAME: Power
DISPLAY_NAME: Power
...
SERVICE_NAME: ProfSvc
DISPLAY_NAME: User Profile Service
...
SERVICE_NAME: ProtectedStorage
DISPLAY_NAME: Protected Storage
...
SERVICE_NAME: PSI_SVC_2
DISPLAY_NAME: Protexis Licensing V2
...
SERVICE_NAME: RemoteRegistry
DISPLAY_NAME: Remote Registry
...
SERVICE_NAME: RpcEptMapper
DISPLAY_NAME: RPC Endpoint Mapper
...
SERVICE_NAME: RpcSs
DISPLAY_NAME: Remote Procedure Call (RPC)
...
SERVICE_NAME: SamSs
DISPLAY_NAME: Security Accounts Manager
...
SERVICE_NAME: Schedule
DISPLAY_NAME: Task Scheduler
...
SERVICE_NAME: SENS
DISPLAY_NAME: System Event Notification Service
...
SERVICE_NAME: SessionEnv
DISPLAY_NAME: Remote Desktop Configuration
...
SERVICE_NAME: ShellHWDetection
DISPLAY_NAME: Shell Hardware Detection
...
SERVICE_NAME: Spooler
DISPLAY_NAME: Print Spooler
...
SERVICE_NAME: SSDPSRV
DISPLAY_NAME: SSDP Discovery
...
SERVICE_NAME: SysMain
DISPLAY_NAME: Superfetch
...
SERVICE_NAME: TermService
DISPLAY_NAME: Remote Desktop Services
...
SERVICE_NAME: Themes
DISPLAY_NAME: Themes
...
SERVICE_NAME: TPHKLOAD
DISPLAY_NAME: Lenovo Hotkey Client Loader
...
SERVICE_NAME: TPHKSVC
DISPLAY_NAME: On Screen Display
...
SERVICE_NAME: TrkWks
DISPLAY_NAME: Distributed Link Tracking Client
...
SERVICE_NAME: UleadBurningHelper
DISPLAY_NAME: Ulead Burning Helper
...
SERVICE_NAME: UmRdpService
DISPLAY_NAME: Remote Desktop Services UserMode Port Redirector
...
SERVICE_NAME: UxSms
DISPLAY_NAME: Desktop Window Manager Session Manager
...
SERVICE_NAME: W32Time
DISPLAY_NAME: Windows Time
...
SERVICE_NAME: WdiServiceHost
DISPLAY_NAME: Diagnostic Service Host
...
SERVICE_NAME: Winmgmt
DISPLAY_NAME: Windows Management Instrumentation
...
SERVICE_NAME: Wlansvc
DISPLAY_NAME: WLAN AutoConfig
...
SERVICE_NAME: WMPNetworkSvc
DISPLAY_NAME: Windows Media Player Network Sharing Service
...
SERVICE_NAME: wscsvc
DISPLAY_NAME: Security Center
...
SERVICE_NAME: WSearch
DISPLAY_NAME: Windows Search
...
SERVICE_NAME: wuauserv
DISPLAY_NAME: Windows Update
...
SERVICE_NAME: wudfsvc
DISPLAY_NAME: Windows Driver Foundation - User-mode Driver Framework
...

3. Type in "sc.exe query type= service > \temp\running_services_list.txt" in the command window. The output will be stored in a file.

 

Service Controller 'sc start/stop' Command on Windows 7

Service Controller 'sc query' Command on Windows 7

'sc.exe' - Service Controller Command on Windows 7

⇑⇑ Windows 7 Services Tutorials

2016-07-09, 2116🔥, 0💬