To change the startup order of the Windows service, you can use it as long as you modify the WINDOWS registry. Registration information of any Windows service can be in the registry HKEY_LOCAL_MACHINESYSTEMCURRENTCONTROLSETSERVICES
Look down under the key. Here is a value of several services related to service boot sequence:
Group value: A value of a REG_SZ type. It is used to describe the service that belongs to the service group. If the service does not have this, it does not belong to any service group, and the system will default to load it after all the service starts.
TAG value: A value of a REG_DWORD type. It is used to describe the logo of the service. Every service in the service group is assigned a unique identifier. The registry arranged by the arrangement of the service group's service identifier, the service of a service in the same service group has been successfully described.
So, how to change the service's startup order, now divided into two steps, one, change the order of startup of the service group. The second is: Change the start of the service in the service group.
First introduce the first step: The HKEY_LOCAL_MACHINESYSTEMCURRENTCONTROLSETCONTROLSERVICEGROUPORDER key saves information in the list of the service group boot order. Each service group is a string that represents the order in which the service group is loaded in the last position of the string in the value. To change the loading order of the service group, you can change their location. Method: Use regedit32.exe (not, regedit.exe because, after double-click the List value here, you can only see the sixteen-based data, not to modify.) Open this value, this is a character editing environment, change The order of the group inside, then determine the change. The order of the service group is set.
Step 2: HKEY_LOCAL_MACHINESYSTEMCURRENTCONTROLSETCONTROLGROUPORDERLIST information There are information in each service startup sequence in each service group. Each service group information is saved for a value of a REG_BINARY type, such as the Pointer Port Services Group value of 030000000200000001000000030000000. Here, in order to facilitate observation, we handle it to 03000000 02000000 01000000 030000000 It means that the Pointer Port service group has three services, the TAG value is 2 service first load, then the TAG value is 1 service, the last is the service of the TAG value 3 service Loading (the order of information interpretation is from left to right). To change the loading order in the group, you can edit this binary string.
Alternatively, we can change the service's loading order through the ChangeServiceConfig API or SC.EXE program (tools in the Windows 2000 Resource Kit package). It will not be fine here.
Comment:
I have done this method, but I can't let my Oracle Form Runtime run again after Oracle DB.