In Windows, SC CREATE command line is used to add, create, and modify services.

Source: Internet
Author: User
In Windows, SC CREATE command line is used to add, create, and modify services.
SC create bits binpath = "C: \ windows \ system32 \ svchost.exe-K netsvcs" type = share start = auto displayname = "Background Intelligent Transfer Service" depend = RPCSS/EventSystem
Description:
SC description bits "transmits files in the background using idle network bandwidth. If the service is disabled, such as Windows Update and MSN Explorer, programs and other information cannot be automatically downloaded. If this service is disabled, any service dependent on it may not be able to transmit files directly through ie without fault tolerance. Once bits is disabled, files may not be transmitted. "

Add service:
SC create PolicyAgent binpath = "C: \ windows \ system32 \ lsass.exe" type = share start = auto displayname = "IPSec Services" depend = RPCSS/TCPIP/IPSec
Description:
SC description yyagent "provides client-to-server security on TCP/IP networks. If the service is disabled, the TCP/IP security between the client and the server on the network is unstable. If this service is disabled, any service dependent on it cannot be started. "

For more information about SC commands, see help SC

(Back up the registry before modification ),

Svchost shared service special: you may need to go to the Registry location after restart: [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ svchost], View "C: \ windows \ system32 \ svchost.exe-K netsvcs "is a key named in red (here, netsvcs is used as an example ), whether the service with SC create bits blue characters is defined in the key value (Here we use bits as an example). If not, add the service name (Here we use bits as an example) in the key value, restart again.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.