프로그래밍

윈도우 서비스 목록 내보내기 - WindowexeSVCexport

프로세스 천국 2011. 5. 13. 22:35

윈도우에 설치된 서비스목록(시작유형)을 배치파일로 내보내는 프로그램입니다.
사용안함으로 설정된 서비스는 서비스를 중지하는 명령줄이 추가됩니다.

서비스를 삭제하거나 특정서비스를 개별적으로 사용안함으로 설정하는 기능은 없습니다.
설치되어 있는 서비스목록 및 시작유형을 그대로 배치파일로 모두 내보냅니다.

파일을 실행하면 WindowexeSVCexport.bat 배치파일이 현재폴더에 생성됩니다.

윈도우를 재설치하게 되면 불필요한 서비스들을 수동으로 설정하거나 사용안함으로 설정할 일이 있는데 생성한 배치파일을 실행하면 그대로 적용됩니다.

서비스 관리도구는 아래링크에 있으니 확인해보세요.
http://windowexe.tistory.com/345


WindowexeSVCexport_2016_11_21__00_25_18.zip



실제 출력한 배치파일의 내용입니다. (disabled - 사용안함 / demand - 수동 / auto - 자동)

echo ----------------------------------------
echo Created by windowexe.com
echo ----------------------------------------
sc stop "Alerter"
sc config "Alerter" start= disabled
sc config "ALG" start= demand
sc config "AppMgmt" start= demand
sc config "aspnet_state" start= demand
sc config "AudioSrv" start= auto
sc config "BITS" start= demand
sc config "Browser" start= auto
sc config "CiSvc" start= demand
sc stop "ClipSrv"
sc config "ClipSrv" start= disabled
sc stop "clr_optimization_v2.0.50727_32"
sc config "clr_optimization_v2.0.50727_32" start= disabled
sc config "COMSysApp" start= demand
sc config "CryptSvc" start= auto
sc config "DcomLaunch" start= auto
sc config "Dhcp" start= auto
sc config "dmadmin" start= demand
sc config "dmserver" start= auto
sc config "Dnscache" start= auto
sc config "Dot3svc" start= demand
sc config "EapHost" start= demand
sc stop "ERSvc"
sc config "ERSvc" start= disabled
sc config "Eventlog" start= auto
sc config "EventSystem" start= demand
sc config "FastUserSwitchingCompatibility" start= demand
sc stop "helpsvc"
sc config "helpsvc" start= disabled
sc stop "HidServ"
sc config "HidServ" start= disabled
sc config "hkmsvc" start= demand
sc config "HTTPFilter" start= demand
sc config "idsvc" start= demand
sc config "ImapiService" start= demand
sc config "LanmanServer" start= auto
sc config "lanmanworkstation" start= auto
sc config "LmHosts" start= auto
sc stop "Messenger"
sc config "Messenger" start= disabled
sc config "mnmsrvc" start= demand
sc config "MSDTC" start= demand
sc config "MSIServer" start= demand
sc stop "NetDDE"
sc config "NetDDE" start= disabled
sc stop "NetDDEdsdm"
sc config "NetDDEdsdm" start= disabled
sc config "Netlogon" start= demand
sc config "Netman" start= demand
sc stop "NetTcpPortSharing"
sc config "NetTcpPortSharing" start= disabled
sc config "Nla" start= demand
sc config "NtLmSsp" start= demand
sc config "NtmsSvc" start= demand
sc config "PlugPlay" start= auto
sc config "PolicyAgent" start= auto
sc config "ProtectedStorage" start= auto
sc config "RasAuto" start= demand
sc config "RasMan" start= demand
sc config "RDSessMgr" start= demand
sc stop "RemoteAccess"
sc config "RemoteAccess" start= disabled
sc stop "RemoteRegistry"
sc config "RemoteRegistry" start= disabled
sc config "rpcapd" start= demand
sc config "RpcLocator" start= demand
sc config "RpcSs" start= auto
sc config "RSVP" start= demand
sc config "SamSs" start= auto
sc config "SCardSvr" start= demand
sc stop "Schedule"
sc config "Schedule" start= disabled
sc stop "seclogon"
sc config "seclogon" start= disabled
sc config "SENS" start= auto
sc stop "SharedAccess"
sc config "SharedAccess" start= disabled
sc config "ShellHWDetection" start= auto
sc stop "Spooler"
sc config "Spooler" start= disabled
sc stop "srservice"
sc config "srservice" start= disabled
sc config "SSDPSRV" start= demand
sc config "stisvc" start= demand
sc config "SwPrv" start= demand
sc config "SysmonLog" start= demand
sc config "TapiSrv" start= demand
sc config "TermService" start= demand
sc stop "Themes"
sc config "Themes" start= disabled
sc stop "TlntSvr"
sc config "TlntSvr" start= disabled
sc config "TPAutoConnSvc" start= demand
sc config "TrkWks" start= auto
sc config "upnphost" start= demand
sc config "UPS" start= demand
sc config "VMTools" start= auto
sc config "VMware Physical Disk Helper Service" start= auto
sc config "VSS" start= demand
sc stop "W32Time"
sc config "W32Time" start= disabled
sc config "WebClient" start= auto
sc config "winmgmt" start= auto
sc config "WmdmPmSN" start= demand
sc config "Wmi" start= demand
sc config "WmiApSrv" start= demand
sc stop "wscsvc"
sc config "wscsvc" start= disabled
sc stop "wuauserv"
sc config "wuauserv" start= disabled
sc stop "WZCSVC"
sc config "WZCSVC" start= disabled
sc config "xmlprov" start= demand