Disable Services VIA Script?


  1. Posts : 93
    Windows 7 Ultimate x64
       #1

    Disable Services VIA Script?


    like i want to disable, NOT stop the service, so i can include this script with my Windows 7 custom image.
      My Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    You can use sc from a command prompt or batch file:

    sc config serviceName start=disabled
      My Computer


  3. Posts : 93
    Windows 7 Ultimate x64
    Thread Starter
       #3

    and i just use the service name provided in MSCONFIG, or in services.msc?

    and it supports setting services to manual also?
      My Computer


  4. Posts : 6,285
    Windows 10 Pro X64
       #4

    Yes
      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 18:01.
Find Us