gorogoronyan FC2

Windows7 のサービス設定

Windows7 のサービス設定の画面
Windows7 のサービス設定の画面

サービス設定、sc コマンド

Windows サービスを GUI で1つ1つ設定するのは面倒です。 プロンプトで sc コマンドで一括設定できます。 不要なサービスをまとめて無効にしたい、 あるいはまとめて初期値に戻したいときに上の話が出てきます。

・プロンプトは管理者権限で実行する。
・コマンド
  sc config (サービス名) start= (設定値)

  例:DHCP Client を自動に設定。
  sc config Dhcp start= auto

・サービス名は下の SERVICE_NAME で指定する。
・start= の後にスペースを1文字入れる。

・設定値
  手動       : demand
  自動       : auto
  自動(遅延) : delayed-auto
  無効       : disabled

・サービスによってはアクセス拒否で変更できないものもある。
  DcomLaunch
  gpsvc
  RpcSs
  RpcEptMapper
  Schedule

Windows7 SP1 のサービス名一覧

以下、設定ツールで表示されるサービス名 (DISPLAY_NAME) と sc コマンドで設定するときのサービス名 (SERVICE_NAME)の一覧。

注意
・下の一覧にはないサービスもある。
  例:WindowsUpdate による更新で追加されるサービス
  Microsoft .NET V4.0 など

・sc query state= all でサービスの一覧が得られる。
  state= の後にスペースを入れること。
DISPLAY_NAME SERVICE_NAME Windows7 SP1
ActiveX Installer (AxInstSV) AxInstSV demand
Adaptive Brightness SensrSvc demand
Application Experience AeLookupSvc demand
Application Identity AppIDSvc demand
Application Information Appinfo demand
Application Layer Gateway Service ALG demand
Background Intelligent Transfer Service BITS demand
Base Filtering Engine BFE auto
BitLocker Drive Encryption Service BDESVC demand
Block Level Backup Engine Service wbengine demand
Bluetooth Support Service bthserv demand
Certificate Propagation CertPropSvc demand
CNG Key Isolation KeyIso demand
COM+ Event System EventSystem auto
COM+ System Application COMSysApp demand
Computer Browser Browser demand
Credential Manager VaultSvc demand
Cryptographic Services CryptSvc auto
DCOM Server Process Launcher DcomLaunch auto
Desktop Window Manager Session Manager UxSms auto
DHCP Client Dhcp auto
Diagnostic Policy Service DPS auto
Diagnostic Service Host WdiServiceHost demand
Diagnostic System Host WdiSystemHost demand
Disk Defragmenter defragsvc demand
Distributed Link Tracking Client TrkWks auto
Distributed Transaction Coordinator MSDTC demand
DNS Client Dnscache auto
Encrypting File System (EFS) EFS demand
Extensible Authentication Protocol EapHost demand
Fax Fax demand
Function Discovery Provider Host fdPHost demand
Function Discovery Resource Publication FDResPub demand
Group Policy Client gpsvc auto
Health Key and Certificate Management hkmsvc demand
HomeGroup Listener HomeGroupListener demand
HomeGroup Provider HomeGroupProvider demand
Human Interface Device Access hidserv demand
IKE and AuthIP IPsec Keying Modules IKEEXT demand
Intel(R) Management & Security Application User Notification Service UNS delayed-auto
Intel(R) Management and Security Application Local Management Service LMS auto
Intel(R) Rapid Storage Technology IAStorDataMgrSvc delayed-auto
Interactive Services Detection UI0Detect delayed-auto
Internet Connection Sharing (ICS) SharedAccess disabled
IP Helper iphlpsvc auto
IPsec Policy Agent PolicyAgent demand
KtmRm for Distributed Transaction Coordinator KtmRm demand
Link-Layer Topology Discovery Mapper lltdsvc demand
Media Center Extender Service Mcx2Svc disabled
Microsoft .NET Framework NGEN v2.0.50727_X64 clr_optimization_v2.0.50727_64 demand
Microsoft .NET Framework NGEN v2.0.50727_X86 clr_optimization_v2.0.50727_32 demand
Microsoft iSCSI Initiator Service MSiSCSI demand
Microsoft Software Shadow Copy Provider swprv demand
Multimedia Class Scheduler MMCSS auto
Net.Tcp Port Sharing Service NetTcpPortSharing disabled
Netlogon Netlogon demand
Network Access Protection Agent napagent demand
Network Connections Netman demand
Network List Service netprofm demand
Network Location Awareness NlaSvc auto
Network Store Interface Service nsi auto
Parental Controls WPCSvc demand
Peer Name Resolution Protocol PNRPsvc demand
Peer Networking Grouping p2psvc demand
Peer Networking Identity Manager p2pimsvc demand
Performance Counter DLL Host PerfHost demand
Performance Logs & Alerts pla demand
Plug and Play PlugPlay auto
PnP-X IP Bus Enumerator IPBusEnum demand
PNRP Machine Name Publication Service PNRPAutoReg demand
Portable Device Enumerator Service WPDBusEnum demand
Power Power auto
Print Spooler Spooler demand
Problem Reports and Solutions Control Panel Support wercplsupport demand
Program Compatibility Assistant Service PcaSvc auto
Protected Storage ProtectedStorage demand
Quality Windows Audio Video Experience QWAVE demand
Remote Access Auto Connection Manager RasAuto demand
Remote Access Connection Manager RasMan demand
Remote Desktop Configuration SessionEnv demand
Remote Desktop Services TermService demand
Remote Procedure Call (RPC) RpcSs auto
Remote Procedure Call (RPC) Locator RpcLocator demand
Remote Registry RemoteRegistry demand
Routing and Remote Access RemoteAccess disabled
RPC Endpoint Mapper RpcEptMapper auto
Secondary Logon seclogon demand
Secure Socket Tunneling Protocol Service SstpSvc demand
Security Accounts Manager SamSs auto
Security Center wscsvc delayed-auto
Server LanmanServer auto
Shell Hardware Detection ShellHWDetection auto
Smart Card SCardSvr demand
Smart Card Removal Policy SCPolicySvc demand
SNMP Trap SNMPTRAP demand
Software Protection sppsvc delayed-auto
SPP Notification Service sppuinotify demand
SSDP Discovery SSDPSRV demand
Superfetch SysMain auto
System Event Notification Service SENS auto
Tablet PC Input Service TabletInputService demand
Task Scheduler Schedule auto
TCP/IP NetBIOS Helper lmhosts auto
Telephony TapiSrv demand
Themes Themes auto
Thread Ordering Server THREADORDER demand
TPM Base Services TBS demand
UPnP Device Host upnphost demand
User Profile Service ProfSvc auto
Virtual Disk vds demand
Volume Shadow Copy VSS demand
WebClient WebClient demand
Windows Audio AudioSrv auto
Windows Audio Endpoint Builder AudioEndpointBuilder auto
Windows Backup SDRSVC demand
Windows Biometric Service WbioSrvc demand
Windows CardSpace idsvc demand
Windows Color System WcsPlugInService demand
Windows Connect Now - Config Registrar wcncsvc demand
Windows Defender WinDefend auto
Windows Driver Foundation - User-mode Driver Framework wudfsvc auto
Windows Error Reporting Service WerSvc demand
Windows Event Collector Wecsvc demand
Windows Event Log eventlog auto
Windows Firewall MpsSvc auto
Windows Font Cache Service FontCache delayed-auto
Windows Image Acquisition (WIA) stisvc demand
Windows Installer msiserver demand
Windows Management Instrumentation Winmgmt auto
Windows Media Center Receiver Service ehRecvr demand
Windows Media Center Scheduler Service ehSched demand
Windows Media Player Network Sharing Service WMPNetworkSvc demand
Windows Modules Installer TrustedInstaller demand
Windows Presentation Foundation Font Cache 3.0.0.0 FontCache3.0.0.0 demand
Windows Remote Management (WS-Management) WinRM demand
Windows Search WSearch delayed-auto
Windows Time W32Time demand
Windows Update wuauserv delayed-auto
WinHTTP Web Proxy Auto-Discovery Service WinHttpAutoProxySvc demand
Wired AutoConfig dot3svc demand
WLAN AutoConfig Wlansvc auto
WMI Performance Adapter wmiApSrv demand
Workstation LanmanWorkstation auto
WWAN AutoConfig WwanSvc demand

関連

inserted by FC2 system