Under Windows EXE program to become operational service

1. Download instsrv.exe and srvany.exe I download address [click to open link] [https://www.cr173.com/soft/64394.html] 

2. cmd cd to extract the directory 

              cd c:\srvany

3. Command instsrv.exe your directory service name [srvany.exe] where

            instsrv.exe ServerName C:\program\srvany\srvany.exe

4. Open the Registry 

            Path: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ find the service name you just entered

5. In the following the New Item: Parameters

6. The new string value in the Parameters: name: Application value: the full path to where the exe exe if parameter comprises write write back together

7. The new string value in the Parameters: name: AppDirectory value: exe path where the path does not include long

8. Open the Services Control Panel

9. Locate the service name you just created to control related properties on the list can start to try

 

10. If you want to delete cd to the directory service instsrv.exe then execute instsrv.exe ServerName remove enough 
---------------------
Author: AlianBlank
Source: CSDN
original: https: //blog.csdn.net/alianhome/article/details/80483560
copyright: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin www.cnblogs.com/guohu/p/11105445.html