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.