Windows service settings, windows Service

Source: Internet
Author: User

Windows service settings, windows Service

[Service list] services. msc

 

Registration Service]

Description: Creates a service item in the Registry and Service database.

Usage: SC <server> create [service name] [binPath =] <option1> <option2>...

Option: Note: The option name includes the equal sign. A space is required between equal signs and values.

Type = <own | share | interact | kernel | filesys | rec> (default = own)

Start = <boot | system | auto | demand | disabled | delayed-auto> (default = demand)

Error = <normal | severe | critical | ignore> (default = normal)

BinPath = <BinaryPathName>

Group = <LoadOrderGroup>

Tag = <yes | no>

Depend = <dependency (separated by a slash)>

Obj = <AccountName | ObjectName> (default = LocalSystem)

DisplayName = <display name>

Password = <password>

 

Delete a service]

Description: deletes a service item from the registry.

If the service is running or another process has opened the handle to the service, the service will be marked as deleted.

Usage: SC <server> delete [service name]

 

[View help]

Help SC

 


How to configure Windows Services?

Click "run" in the "Start Menu", enter "msconfig", and find the "service" tab at the top of the pop-up window. Find the service to be stopped, click it, and then click stop at the bottom.

Windows service settings

The two are the same. This is the best way to save resources.

If both are set to manual, some systems cannot start the services required by the system, and the system cannot run stably, which may cause frequent errors.

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.