exe it published as a service

1. There are two files

srvany.exe,instsrv.exe

Then put the specified file:

 

2. Then run

c: \ tools \ instsrv.exe test c : \ tools \ srvany.exe
created a service

3. Open the Registry, then click HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ ServiceName

 

 4. Change the configuration parameters

 

 5. Start Services

Guess you like

Origin www.cnblogs.com/leolzi/p/11990426.html