Dump Process List with Services to File on Windows 7

Q

How to dump the list of all processes with their services that are running on my Windows 7 system? I want save names of all running processes and services into a file.

✍: FYIcenter.com

A

You can dump all processes with their services that are running on your Windows 7 using the "tastlist.exe" command as shown in this tutorial:

1. Enter "cmd.exe" in the Start button search box. Then click "cmd.exe" in the suggested match list.

2. Enter "tasklist.exe /SVC" at the prompt. You will see a list of all running processes with their services. Some of them represent one or more services:

Image Name                     PID Services                                    
========================= ======== ===================================
System Idle Process              0 N/A                                         
System                           4 N/A                                         
smss.exe                       308 N/A                                         
csrss.exe                      428 N/A                                         
csrss.exe                      484 N/A                                         
wininit.exe                    492 N/A                                         
winlogon.exe                   544 N/A                                         
services.exe                   592 N/A                                         
lsass.exe                      600 EFS, KeyIso, Netlogon, SamSs                
lsm.exe                        612 N/A                                         
svchost.exe                    712 DcomLaunch, PlugPlay, Power                 
svchost.exe                    832 RpcEptMapper, RpcSs                         
MsMpEng.exe                    928 MsMpSvc                                     
svchost.exe                   1004 Audiosrv, Dhcp, eventlog, lmhosts, 
                                   wscsvc   
svchost.exe                   1040 AudioEndpointBuilder, CscService, 
                                   Netman, PcaSvc, SysMain, TrkWks,
                                   UmRdpService, UxSms, Wlansvc, wudfsvc
svchost.exe                   1064 EventSystem, FontCache, netprofm, nsi,      
                                   W32Time, WdiServiceHost                     
svchost.exe                   1088 Appinfo, BITS, CertPropSvc, EapHost,
                                   iphlpsvc, LanmanServer, ProfSvc, 
                                   Schedule, SENS, SessionEnv, 
                                   ShellHWDetection, Themes, Winmgmt, 
                                   wuauserv                           
svchost.exe                   1200 gpsvc                                       
dsAccessService.exe           1356 JuniperAccessService                        
svchost.exe                   1748 BFE, DPS, MpsSvc                            
svchost.exe                   1828 CryptSvc, LanmanWorkstation, NlaSvc,        
                                   TermService                                 
tphkload.exe                  1868 TPHKLOAD                                    
TPHKSVC.exe                   1896 TPHKSVC                                     
svchost.exe                   1928 AppHostSvc                                  
tpnumlk.exe                   1960 N/A                                         
AppleMobileDeviceService.     1980 Apple Mobile Device                         
bndaemon.exe                   360 BNPagent                                    
svchost.exe                   1620 DiagTrack                                   
dsNcService.exe               2044 dsNcService                                 
PsiService_2.exe              2440 PSI_SVC_2                                   
ULCDRSvr.exe                  2644 UleadBurningHelper                          
NisSrv.exe                    3444 NisSrv                                      
svchost.exe                   3492 SSDPSRV, upnphost                           
svchost.exe                   3668 PolicyAgent                                 
WmiPrvSE.exe                  2704 N/A                                         
WmiPrvSE.exe                  2712 N/A                                         
unsecapp.exe                  1776 N/A                                         
CcmExec.exe                   2328 CcmExec                                     
WmiPrvSE.exe                  2636 N/A                                         
CmRcService.exe               3160 CmRcService                                 
GoogleUpdate.exe              1876 N/A                                         
SearchIndexer.exe             2660 WSearch                                     
WmiPrvSE.exe                  3784 N/A                                         
WmiPrvSE.exe                  3440 N/A                                         
dsAccessService.exe           5440 N/A                                         
taskhost.exe                  5744 N/A                                         
dwm.exe                       5804 N/A                                         
explorer.exe                  5836 N/A                                         
WmiPrvSE.exe                  5984 N/A                                         
TpKnrres.exe                  3400 N/A                                         
hkcmd.exe                     2848 N/A                                         
igfxpers.exe                  3632 N/A                                         
RCIMGDIR.exe                  2220 N/A                                         
msseces.exe                   3676 N/A                                         
bncsaui.exe                   4452 N/A                                         
MSOSYNC.EXE                   4468 N/A                                         
SCNotification.exe            2580 N/A                                         
virtscrl.exe                  4588 N/A                                         
rundll32.exe                  4628 N/A                                         
TpScrex.exe                   5312 N/A                                         
TPONSCR.exe                   5308 N/A                                         
tpnumlkd.exe                  5392 N/A                                         
taskhost.exe                  4728 N/A                                         
svchost.exe                   4936 StiSvc                                      
dllhost.exe                   5012 N/A                                         
svchost.exe                   6588 Dnscache                                    
taskmgr.exe                   7880 N/A                                         
taskeng.exe                   9312 N/A                                         
cmd.exe                       1760 N/A                                         
conhost.exe                   7600 N/A                                         
taskeng.exe                   2184 N/A                                         

3. Type in "tasklist.exe /SVC > C:\fyicenter\running_processes_with_services.txt" in the command window. The output will be stored in a file.

 

"tasklist.exe" Command on Windows 7

⇒⇒Windows 7 Processes Tutorials

2016-08-06, 1655👍, 0💬