How to install service

How to install service

The problem of installation and start of the service determined by the user in the Microsoft Windows operating system is standard and is executed by means of the specialized instsrv.exe utility.

Instruction

1. Click "Start-up" for a call of the main menu of the Microsoft Windows operating system and pass into the Perform point for implementation installation processes of necessary service.

2. Enter cmd value in the Open field and confirm execution of the command of start of the Command line tool with clicking of the OK button.

3. Specify value of an imya_disk: \polnyy_put\instsrv.exe imya_servisa\srvany.exe in a text box of the command line also click a function key of Enter for confirmation of command execution.

4. Return to the main menu "Start-up" and once again pass into the Execute point for introduction of necessary changes in record of the system registry.

5. Enter regedit value in the Open field and confirm execution of the command of start of the Editor of the Register tool with clicking of the OK button.

6. Open a branch of the register of HKEY_LOCAL_MACHINE\System\CurrentControlSet\imya_servisa and open the Editing menu of a top panel of tools of a window of the editor.

7. Specify the Add the Section command and enter Parameters value in the Name of the Section field.

8. You do not enter any values in the Class field and confirm command execution with clicking of the OK button.

9. Specify the Parameters group and again open the Editing menu of a top panel of tools of a window of the editor.

10. Specify the Add Parameter command and enter the following values:
- Application - in the field "Parameter Name";
- REG_SZ - in the field "Data type";
- imya_diska: \a polnyy_put\imya_servisa with expansion - in the field "Line".

11. Confirm command execution with clicking of the OK button and complete the work of the Editor of the Register tool.

12. Reboot for automatic start of the installed service or change start type on "Manually" in the control panel of services. This action will allow to carry out start of the installed service:
- by means of a component of "Service" and the control panel;
- net start command of an imya_service in the command line;
- command of an imya_disk: \polnyy_put\Sc.exe start of an imya_service in the command line.

Author: «MirrorInfo» Dream Team


Print