Convert the EXE file to "service"

Source: Internet
Author: User

System Security

Open the command line program cmd.exe (or command line window ).
Enter: c:> instsrv "service name" c: winntsrvany.exe enter
Run registry program regedit.exe
Create a subitem of HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices "service name.
Select "service name", right-click, and create "item ".
Name: Parameters.
Select the Parameters item and create a new "string value ".
The name of "string value" is Application.
Change the Application value to the Application Path and file name (for example, C: winnti386.exe ).
Select the Parameters item and create a new "string value ".
The "string value" is named AppDirectory.
Change the Application value to the Application Path (for example, C: winnt ).
Close the Registry Program and Open Control Panel> Management Tools> service.
Select "service name" and "properties ".
Select the "login" Page and check before "allow service and desktop interaction.
Start the service. OK!
If the command line interface appears,
Remove the check box before "allow service and desktop interaction" and restart the service.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.