[Solved] About Scripting ;)

Discussion in 'Scripting' started by NST_Adventure, Sep 29, 2019.

  1. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    Hello Everyone!
    Can Someone Tell Me Which Service Name That will Cause Audio Stop Working And System Restore Stop Working?
    Here Is The Script:
    Source:
    https://jpelectron.com/sample/Batch Files/unnecessary win7 services disable.bat
    @echo OFF
    REM v1.2 r01/24/2013
    ECHO.
    ECHO. Disable unnecessary Windows 7 services for PCs
    ECHO. running always-on or server-type apps
    ECHO.
    set choice=
    ECHO Are you sure you want to run this?
    ECHO.
    set /p choice=Confirm .................... [y/n]
    if '%choice%'=='y' GOTO sure
    if '%choice%'=='n' GOTO done
    GOTO done

    :sure
    ECHO.
    ECHO. Stopping unnecessary services...
    ECHO.

    sc stop AudioEndpointBuilder
    sc stop Audiosrv
    sc stop BDESVC
    sc stop bthserv
    sc stop CscService
    sc stop EapHost
    sc stop Fax
    sc stop FontCache
    sc stop HomeGroupListener
    sc stop HomeGroupProvider
    sc stop HPAuto
    sc stop hpqwmiex
    sc stop "HP Health Check Service"
    sc stop "HP Support Assistant Service"
    sc stop IviRegMgr
    sc stop lmhosts
    sc stop MMCSS
    sc stop MSiSCSI
    sc stop PcaSvc
    sc stop PNRPAutoReg
    sc stop QWAVE
    sc stop RemoteAccess
    sc stop RemoteRegistry
    sc stop SharedAccess
    sc stop Spooler
    sc stop SSDPSRV
    sc stop SstpSvc
    sc stop swprv
    sc stop TabletInputService
    sc stop TBS
    sc stop upnphost
    sc stop VSS
    sc stop WbioSrvc
    sc stop wcncsvc
    sc stop wercplsupport
    sc stop WerSvc
    sc stop Wlansvc
    sc stop WMPNetworkSvc
    sc stop WPCSvc
    sc stop WSearch
    sc stop WwanSvc

    ECHO.
    ECHO. Disabling unnecessary services...
    ECHO.

    sc config AudioEndpointBuilder start= disabled
    sc config Audiosrv start= disabled
    sc config BDESVC start= disabled
    sc config bthserv start= disabled
    sc config CscService start= disabled
    sc config EapHost start= disabled
    sc config Fax start= disabled
    sc config FontCache start= disabled
    sc config HomeGroupListener start= disabled
    sc config HomeGroupProvider start= disabled
    sc config HPAuto start= disabled
    sc config hpqwmiex start= disabled
    sc config "HP Health Check Service" start= disabled
    sc config "HP Support Assistant Service" start= disabled
    sc config IviRegMgr start= disabled
    sc config lmhosts start= disabled
    sc config MMCSS start= disabled
    sc config MSiSCSI start= disabled
    sc config PcaSvc start= disabled
    sc config PNRPAutoReg start= disabled
    sc config QWAVE start= disabled
    sc config RemoteAccess start= disabled
    sc config RemoteRegistry start= disabled
    sc config SharedAccess start= disabled
    sc config Spooler start= disabled
    sc config SSDPSRV start= disabled
    sc config SstpSvc start= disabled
    sc config swprv start= disabled
    sc config TabletInputService start= disabled
    sc config TBS start= disabled
    sc config upnphost start= disabled
    sc config VSS start= disabled
    sc config WbioSrvc start= disabled
    sc config wcncsvc start= disabled
    sc config wercplsupport start= disabled
    sc config WerSvc start= disabled
    sc config Wlansvc start= disabled
    sc config WMPNetworkSvc start= disabled
    sc config WPCSvc start= disabled
    sc config WSearch start= disabled
    sc config WwanSvc start= disabled

    :Done
    ECHO.
    ECHO. Done!
    ECHO.
    PAUSE
    EXIT
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. rayleigh_otter

    rayleigh_otter MDL Expert

    Aug 8, 2018
    1,121
    933
    60
    AudioEndpointBuilder Audiosrv and MMCSS are you audio services. One of the 1st 2 has MMCSS as a dependency, you have to remove it in the registry, ControlSet001, then you can disable it.
     
  3. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    Ok and then what about system restore?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,226
    84,914
    340
    VSS = System Restore
     
  5. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    912
    208
    30
    already enabled but i notice that system restore not detected my previous system restore point :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...