-
WINDOWS > démarrer ou arrêter des services par ligne de commande
ARRÊTER UN SERVICE
de façon temporaire
net stop XXX→ (XXXest le nom du service)de façon permanente
sc config XXX start= disabled→ (l’espace entrestart=etdisabledest obligatoire)DÉMARRER UN SERVICE
de façon temporaire
net start XXX(XXX est le nom du service)de façon permanente
sc config XXX start= auto(l’espace entrestart=etautoest obligatoire)STATUS D’UN SERVICE
sc query "XXX" | findstr STATE→ renvoie par exemple :STATE : 1 STOPPEDBATCH
@echo off net stop alerter if ERRORLEVEL 1 goto error exit :error echo Il y a eu un probleme pause
ERRORLEVEL :
0 = Success
1 = Not Supported 2 = Access Denied 3 = Dependent Services Running 4 = Invalid Service Control 5 = Service Cannot Accept Control 6 = Service Not Active 7 = Service Request Timeout 8 = Unknown Failure 9 = Path Not Found 10 = Service Already Running 11 = Service Database Locked 12 = Service Dependency Deleted 13 = Service Dependency Failure 14 = Service Disabled 15 = Service Logon Failure 16 = Service Marked For Deletion 17 = Service No Thread 18 = Status Circular Dependency 19 = Status Duplicate Name 20 = Status Invalid Name 21 = Status Invalid Parameter 22 = Status Invalid Service Account 23 = Status Service Exists 24 = Service Already Paused
NOM ET ABRÉVIATION DES SERVICES
ActiveX Installer (AxInstSV) >
AxInstSV
Adaptive Brightness >SensrSvc
Application Experience >AeLookupSvc
Application Host Helper Service >AppHostSvc
Application Identity > AppIDSvc
Application Information > Appinfo
Application Layer Gateway Service > ALG
Application Management > AppMgmt
ASP.NET State Service > aspnet_state
Background Intelligent Transfer Service > BITS
Base Filtering Engine > BFE
BitLocker Drive Encryption Service > BDESVC
Block Level Backup Engine Service > wbengine
Bluetooth Support Service > bthserv
BranchCache > PeerDistSvc
Certificate Propagation > CertPropSvc
Client for NFS > NfsClnt
CNG Key Isolation > KeyIso
COM+ Event System > EventSystem
COM+ System Application > COMSysApp
Computer Browser > Browser
Credential Manager > VaultSvc
Cryptographic Services > CryptSvc
DCOM Server Process Launcher > DcomLaunch
Desktop Window Manager Session Manager > UxSms
DHCP Client >Dhcp
Diagnostic Policy Service > DPS
Diagnostic Service Host > WdiServiceHost
Diagnostic System Host > WdiSystemHost
Disk Defragmenter > defragsvc
Distributed Link Tracking Client > TrkWks
Distributed Transaction Coordinator > MSDTC
DNS Client > Dnscache
Encrypting File System (EFS) > EFS
Extensible Authentication Protocol > EapHost
Fax >Fax
Function Discovery Provider Host > fdPHost
Function Discovery Resource Publication > FDResPub
Group Policy Client > gpsvc
Health Key and Certificate Management > hkmsvc
HomeGroup Listener > HomeGroupListener
HomeGroup Provider > HomeGroupProvider
Human Interface Device Access > hidserv
IIS Admin Service > IISADMIN
IKE and AuthIP IPsec Keying Modules > IKEEXT
Indexing Service > CISVC
Interactive Services Detection >UI0Detect
Internet Connection Sharing (ICS) >SharedAccess
IP Helper >iphlpsvc
IPsec Policy Agent > PolicyAgent
KtmRm for Distributed Transaction Coordinator > KtmRm
Link-Layer Topology Discovery Mapper > lltdsvc
LPD Service > LPDSVC
Media Center Extender Service > Mcx2Svc >
Message Queuing > MSMQ
Message Queuing Triggers > MSMQTriggers
Microsoft .NET Framework NGEN v2.0.50727 > clr_optimization_v2.0.50727
Microsoft FTP Service >ftpsvc
Microsoft iSCSI Initiator Service > MSiSCSI
Microsoft Software Shadow Copy Provider > swprv
Multimedia Class Scheduler > MMCSS
Net.Msmq Listener Adapter > NetMsmqActivator
Net.Pipe Listener Adapter > NetPipeActivator
Net.Tcp Listener Adapter > NetTcpActivator
Net.Tcp Port Sharing Service > NetTcpPortSharing
Netlogon > Netlogon
Network Access Protection Agent > napagent
Network Connections >Netman
Network List Service > netprofm
Network Location Awareness > NlaSvc
Network Store Interface Service > nsi
Offline Files > CscService
Parental Controls > WPCSvc
Peer Name Resolution Protocol > PNRPsvc
Peer Networking Grouping > p2psvc
Peer Networking Identity Manager > p2pimsvc
Performance Logs & Alerts > pla
Plug and Play > PlugPlay
PnP-X IP Bus Enumerator > IPBusEnum
PNRP Machine Name Publication Service > PNRPAutoReg
Portable Device Enumerator Service > WPDBusEnum
Power > Power
Print Spooler > Spooler
Problem Reports and Solutions Control Panel Support > wercplsupport
Program Compatibility Assistant Service > PcaSvc
Protected Storage > ProtectedStorage
Quality Windows Audio Video Experience > QWAVE
Remote Access Auto Connection Manager > RasAuto
Remote Access Connection Manager > RasMan
Remote Desktop Configuration > SessionEnv
Remote Desktop Services > TermService
Remote Desktop Services UserMode Port Redirector > UmRdpService
Remote Procedure Call (RPC) > RpcSs
Remote Procedure Call (RPC) Locator > RpcLocator
Remote Registry > RemoteRegistry
RIP Listener > iprip
Routing and Remote Access > RemoteAccess
RPC Endpoint Mapper > RpcEptMapper
SeaPort > SeaPort
Secondary Logon > seclogon
Secure Socket Tunneling Protocol Service > SstpSvc
Security Accounts Manager > SamSs
Security Center > wscsvc
Server > LanmanServer
Shell Hardware Detection > ShellHWDetection
Simple TCP/IP Services > simptcp
Smart Card > SCardSvr
Smart Card Removal Policy > SCPolicySvc
SNMP Service > SNMP
SNMP Trap > SNMPTRAP
Software Protection > sppsvc
SPP Notification Service > sppuinotify
SSDP Discovery > SSDPSRV
Storage Service > StorSvc
Superfetch >SysMain
System Event Notification Service > SENS
Tablet PC Input Service > TabletInputService
Task Scheduler > Schedule
TCP/IP NetBIOS Helper >lmhosts
Telephony > TapiSrv
Telnet >TlntSvr
Themes >Themes
Thread Ordering Server > THREADORDER
TPM Base Services > TBS
UPnP Device Host > upnphost
User Profile Service > ProfSvc
Virtual Disk > vds
Volume Shadow Copy > VSS
Web Management Service > WMSVC
WebClient > WebClient
Windows Audio > AudioSrv
Windows Audio Endpoint Builder > AudioEndpointBuilder
Windows Backup >SDRSVC
Windows Biometric Service > WbioSrvc
Windows CardSpace > idsvc >
Windows Color System > WcsPlugInService
Windows Connect Now - Config Registrar > wcncsvc
Windows Defender >WinDefend
Windows Driver Foundation - User-mode Driver Framework >wudfsvc
Windows Error Reporting Service >WerSvc
Windows Event Collector > Wecsvc
Windows Event Log > EventLog
Windows Firewall >MpsSvc
Windows Font Cache Service > FontCache
Windows Image Acquisition (WIA) > StiSvc
Windows Installer > msiserver
Windows Live Family Safety > fsssvc
Windows Management Instrumentation > Winmgmt
Windows Media Center Receiver Service > ehRecvr
Windows Media Center Scheduler Service > ehSched
Windows Media Player Network Sharing Service >WMPNetworkSvc
Windows Modules Installer > TrustedInstaller
Windows Presentation Foundation Font Cache 3.0.0.0 > FontCache3.0.0.0
Windows Process Activation Service > WAS
Windows Remote Management (WS-Management) > WinRM
Windows Search >WSearch
Windows Time > W32Time
Windows Update >wuauserv
WinHTTP Web Proxy Auto-Discovery Service > WinHttpAutoProxySvc
Wired AutoConfig > dot3svc
WLAN AutoConfig >Wlansvc
WMI Performance Adapter > wmiApSrv
Workstation > LanmanWorkstation
World Wide Web Publishing Service > W3SVC
WWAN AutoConfig > WwanSvc