Windows 7 x64 Services Script


  1. Posts : 2
    Windows 7 pro x64
       #1

    Windows 7 x64 Services Script


    Sry kinda a noob my first attempt at scripting trying to create a simple .bat file to help me set up my services tired of always having to go to blackvipers site and do it manually anyhow I know this isnt complete haven't figured out the delayed start yet or taken out the not installed ones its a work in progress. I have however randomly tried one in a seperate bat to see if it worked or not like windows update tried to set to manual instead of auto didnt work for several tries then at some point switched to disabled instead of manual. I have gotten services such as adobe's and vmware etc to work this way. I've browsed google for awhile now couldnt find what I was looking for so any help or answers on what i'm doing wrong would be appreciated. Thank you in advance.

    Code:
     
    net config AxInstSV start= disabled
    net config SensrSvc start= disabled
    net config AeLookupSvc start= demand
    net config AppHostSvc Not Installed
    net config AppIDSvc start= demand
    net config Appinfo start= demand
    net config ALG start= disabled
    net config AppMgmt start= disabled
    net config aspnet_state Not Installed
    net config BITS start= demand
    net config BFE start= auto
    net config BDESVC start= disabled
    net config wbengine start= demand
    net config bthserv start= disabled
    net config PeerDistSvc start= disabled
    net config CertPropSvc start= disabled
    net config NfsClnt Not Installed
    net config KeyIso start= demand
    net config EventSystem start= auto
    net config COMSysApp start= demand
    net config Browser start= demand
    net config VaultSvc start= disabled
    net config CryptSvc start= auto
    net config DcomLaunch start= auto
    net config UxSms start= auto
    net config Dhcp start= auto
    net config DPS start= disabled
    net config WdiServiceHost start= disabled
    net config WdiSystemHost start= disabled
    net config defragsvc start= demand
    net config TrkWks start= disabled
    net config MSDTC start= demand
    net config Dnscache start= auto
    net config EFS start= disabled
    net config EapHost start= demand
    net config Fax start= disabled
    net config fdPHost start= disabled
    net config FDResPub start= disabled
    net config gpsvc start= auto
    net config hkmsvc start= disabled
    net config HomeGroupListener start= demand
    net config HomeGroupProvider start= demand
    net config hidserv start= disabled
    net config IISADMIN Not Installed
    net config IKEEXT start= demand
    net config CISVC Not Installed
    net config UI0Detect start= disabled
    net config SharedAccess start= disabled
    net config iphlpsvc start= disabled
    net config PolicyAgent start= demand
    net config KtmRm start= demand
    net config lltdsvc start= disabled
    net config LPDSVC Not Installed
    net config Mcx2Svc start= disabled
    net config MSMQ Not Installed
    net config MSMQTriggers Not Installed
    net config clr_optimization_v2.0.50727 start= demand
    net config clr_optimization_v4.0.30319_64 start= demand
    net config clr_optimization_v4.0.30319_32 start= demand
    net config ftpsvc Not Installed
    net config MSiSCSI start= disabled
    net config swprv start= demand
    net config MMCSS start= auto
    net config NetMsmqActivator Not Installed
    net config NetPipeActivator Not Installed
    net config NetTcpActivator Not Installed
    net config NetTcpPortSharing start= disabled
    net config Netlogon start= disabled
    net config napagent start= disabled
    net config Netman start= demand
    net config netprofm start= demand
    net config NlaSvc start= auto
    net config nsi start= auto
    net config CscService start= disabled
    net config WPCSvc start= disabled
    net config PNRPsvc start= disabled
    net config p2psvc start= disabled
    net config p2pimsvc start= disabled
    net config pla start= demand
    net config PlugPlay start= auto
    net config IPBusEnum start= disabled
    net config PNRPAutoReg start= disabled
    net config WPDBusEnum start= disabled
    net config Power start= auto
    net config Spooler start= auto
    net config wercplsupport start= disabled
    net config PcaSvc start= disabled
    net config ProtectedStorage start= demand
    net config QWAVE start= disabled
    net config RasAuto start= demand
    net config RasMan start= demand
    net config SessionEnv start= disabled
    net config TermService start= disabled
    net config UmRdpService start= disabled
    net config RpcSs start= auto
    net config RpcLocator start= disabled
    net config RemoteRegistry start= disabled
    net config iprip Not Installed
    net config RemoteAccess start= disabled
    net config RpcEptMapper start= auto
    net config SeaPort Not Installed
    net config seclogon start= demand
    net config SstpSvc start= demand
    net config SamSs start= auto
    net config wscsvc start= auto (Delayed Start)
    net config LanmanServer start= auto
    net config ShellHWDetection start= auto
    net config simptcp Not Installed
    net config SCardSvr start= disabled
    net config SCPolicySvc start= disabled
    net config SNMP Not Installed
    net config SNMPTRAP start= disabled
    net config sppsvc start= auto (Delayed Start)
    net config sppuinotify start= demand
    net config SSDPSRV start= demand
    net config StorSvc start= disabled
    net config SysMain start= auto
    net config SENS start= auto
    net config TabletInputService start= disabled
    net config Schedule start= auto
    net config lmhosts start= auto
    net config TapiSrv start= demand
    net config TlntSvr Not Installed
    net config Themes start= auto
    net config THREADORDER start= demand
    net config TBS start= disabled
    net config upnphost start= demand
    net config ProfSvc start= auto
    net config vds start= demand
    net config VSS start= demand
    net config WMSVC Not Installed
    net config WebClient start= disabled
    net config AudioSrv start= auto
    net config AudioEndpointBuilder start= auto
    net config SDRSVC start= demand
    net config WbioSrvc start= disabled
    net config idsvc start= disabled
    net config WcsPlugInService start= disabled
    net config wcncsvc start= disabled
    net config WinDefend start= auto (Delayed Start)
    net config wudfsvc start= demand
    net config WerSvc start= disabled
    net config Wecsvc start= demand
    net config EventLog start= auto
    net config MpsSvc start= auto
    net config FontCache start= auto (Delayed Start, Started)
    net config StiSvc start= demand
    net config msiserver start= demand
    net config fsssvc Not Installed
    net config Winmgmt start= auto
    net config ehRecvr start= disabled
    net config ehSched start= disabled
    net config WMPNetworkSvc start= disabled
    net config TrustedInstaller start= demand
    net config FontCache3.0.0.0 start= demand
    net config WAS Not Installed
    net config WinRM start= disabled
    net config WSearch start= disabled
    net config W32Time start= demand
    net config wuauserv start= auto (Delayed Start)
    net config WinHttpAutoProxySvc start= disabled
    net config dot3svc start= demand
    net config Wlansvc start= demand
    net config wmiApSrv start= demand
    net config LanmanWorkstation start= auto
    net config W3SVC Not Installed
    net config WwanSvc start= disabled
    Last edited by Brink; 19 Oct 2011 at 00:06. Reason: code box
      My Computer


  2. Posts : 6,668
    Windows 7 x64
       #2

    Certain processes and services are protected under UAC.
    It's likely why you were having trouble altering the update service.
      My Computer


  3. Posts : 640
    Windows 7 Ultimate x64
       #3

    I use "sc config" not "net config".
    "net config /?" produces this

    The syntax of this command is:
    NET CONFIG
    [SERVER | WORKSTATION]

    Try "sc config /?" at the command prompt
    The line that intrest you would be "start= <boot|system|auto|demand|disabled|delayed-auto>"

    The not installed ones are not really necessary to remove, it will just give the following error and continue.

    [SC] OpenService FAILED 1060:
    The specified service does not exist as an installed service.
      My Computer


  4. Posts : 2
    Windows 7 pro x64
    Thread Starter
       #4

    TY I was wondering about that read on another forum that sc and net were the same thing and sc didnt seem to work for vmwares services but net did so just kinda stuck with that anyhow thanks again it worked ^^
      My Computer


  5. Posts : 640
    Windows 7 Ultimate x64
       #5

    No problem
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:03.
Find Us