In conjunction with this option, the -s State option can be used to list only the services that are in a particular state. By default, those are ACTIVE services (running and start pending). Use the following command to list all active services:
command prompt: vpstat -3 -a
result:
============================================================ ==================== Services Information ================== ============================================================ List All Services... Services on : LOCAL MACHINE (NT Services) : SERVICE_RUNNING : AeLookupSvc ( Application Experience Lookup Service ) SERVICE_RUNNING : Alerter ( Alerter ) SERVICE_RUNNING : appmgr ( Remote Server Manager ) SERVICE_RUNNING : AudioSrv ( Windows Audio ) SERVICE_RUNNING : Browser ( Computer Browser ) SERVICE_RUNNING : ccEvtMgr ( Symantec Event Manager ) SERVICE_RUNNING : ccSetMgr ( Symantec Settings Manager ) SERVICE_RUNNING : COMSysApp ( COM+ System Application ) SERVICE_RUNNING : CryptSvc ( Cryptographic Services ) SERVICE_RUNNING : DcomLaunch ( DCOM Server Process Launcher ) SERVICE_RUNNING : DefWatch ( Symantec AntiVirus Definition Watcher ) SERVICE_RUNNING : Dhcp ( DHCP Client ) SERVICE_RUNNING : dmserver ( Logical Disk Manager ) SERVICE_RUNNING : Dnscache ( DNS Client ) SERVICE_RUNNING : elementmgr ( Web Element Manager ) SERVICE_RUNNING : ERSvc ( Error Reporting Service ) SERVICE_RUNNING : Eventlog ( Event Log ) SERVICE_RUNNING : EventSystem ( COM+ Event System ) SERVICE_RUNNING : helpsvc ( Help and Support ) SERVICE_RUNNING : HTTPFilter ( HTTP SSL ) SERVICE_RUNNING : IISADMIN ( IIS Admin Service ) SERVICE_RUNNING : lanmanserver ( Server ) SERVICE_RUNNING : lanmanworkstation ( Workstation ) SERVICE_RUNNING : LmHosts ( TCP/IP NetBIOS Helper ) SERVICE_RUNNING : MSDTC ( Distributed Transaction Coordinator ) SERVICE_RUNNING : MSFtpsvc ( FTP Publishing Service ) SERVICE_RUNNING : Netman ( Network Connections ) SERVICE_RUNNING : Nla ( Network Location Awareness (NLA) ) SERVICE_RUNNING : PlugPlay ( Plug and Play ) SERVICE_RUNNING : PolicyAgent ( IPSEC Services ) SERVICE_RUNNING : ProtectedStorage ( Protected Storage ) SERVICE_RUNNING : RemoteRegistry ( Remote Registry ) SERVICE_RUNNING : RpcSs ( Remote Procedure Call (RPC) ) SERVICE_RUNNING : SamSs ( Security Accounts Manager ) SERVICE_RUNNING : SavRoam ( SavRoam ) SERVICE_RUNNING : Schedule ( Task Scheduler ) SERVICE_RUNNING : seclogon ( Secondary Logon ) SERVICE_RUNNING : SENS ( System Event Notification ) SERVICE_RUNNING : ShellHWDetection ( Shell Hardware Detection ) SERVICE_RUNNING : Spooler ( Print Spooler ) SERVICE_RUNNING : srvcsurg ( Remote Administration Service ) SERVICE_RUNNING : Symantec AntiVirus ( Symantec AntiVirus ) SERVICE_RUNNING : TermService ( Terminal Services ) SERVICE_RUNNING : TrkWks ( Distributed Link Tracking Client ) SERVICE_RUNNING : VMTools ( VMware Tools Service ) SERVICE_RUNNING : W32Time ( Windows Time ) SERVICE_RUNNING : W3SVC ( World Wide Web Publishing Service ) SERVICE_RUNNING : winmgmt ( Windows Management Instrumentation ) SERVICE_RUNNING : wuauserv ( Automatic Updates ) SERVICE_RUNNING : WZCSVC ( Wireless Configuration ) SERVICE_RUNNING : HPOvTrcSvc ( HP Software Shared Trace Service ) SERVICE_RUNNING : OvCtrl ( HP OpenView Ctrl Service ) SERVICE_RUNNING : SQLWriter ( SQL Server VSS Writer ) SERVICE_RUNNING : MSSQL$OVOPS ( SQL Server (OVOPS) ) SERVICE_RUNNING : OvowWmiPlatProv ( OvowWmiPlatProv ) SERVICE_RUNNING : OvPmad ( OvPmad ) SERVICE_RUNNING : OvSecurityServer ( OvSecurityServer ) SERVICE_RUNNING : OvMsmAccessManager ( OvMsmAccessManager ) SERVICE_RUNNING : OvAutoDiscovery Server ( OvAutoDiscovery Server ) SERVICE_RUNNING : OvEpMessageActionServer ( OvEpMessageActionServer ) SERVICE_RUNNING : OvEpStatusEngine ( OvEpStatusEngine ) SERVICE_RUNNING : OvOWReqCheckSrv ( OvOWReqCheckSrv ) SERVICE_RUNNING : OvDnsDscr ( OvDnsDscr ) SERVICE_RUNNING : OvServerMonitor ( OvServerMonitor ) SERVICE_RUNNING : OVServiceLogger ( OVServiceLogger )