How can I add a program to the "System server" operation? (Instsrv.exe and srvany.exe)

Source: Internet
Author: User

How can I add a program to the "System Service" operation? (Instsrv.exe and srvany.exe)

Make the program ready as a server and make it ready

If you want a program to log on without logging on, you need to use the "System server" function!

----------------------------------------------------------------------------------

What good practices do you have to make a program automatically execute when initiating a system? Added to the Marketing Group? If someone else removes the token, it will be useless.

If you use Windows NT/2000/XP, you can simply add this program as a service,
In this way, only authorized persons can change their services. As long as you set the permission limit, you do not have to worry about being dismissed by others.

To add an application as a service, you need two small components: instsrv.exeand srvany.exe.

Instsrv.exe can remove services from system security and firewall,
Srvany.exe allows the program to commit rows in the form of services.

These two instances are included in the Windows NT Resource Kit. If you do not have them, click here to download them.
Http://www.techeez.com/download/nt/instsrv.exe
Http://www.techeez.com/download/nt/srvany.exe

There is a convenient location for the two program libraries, for example, under the root directory of the C drive. As an example, we will add OE as a service to the Windows XP Professional operating system,

And name this service "mail 」.

In the command line, Enter cmd and enter commands. In the command line window, enter c: \ instsrv.exe mail C: \ srvany.exe "then enter again,

"C: \ instsrv.exe" and "C: \ srvany.exe" indicate the locations where the two programs are stored, while mail is the server name you want to add.

Regedit on the worker rows opens the worker orders table worker. under HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services, find the mail added by the worker. Click "continue" and click "right,

Add a parameter named "Parameters", click here to add parameters, and add a subparameter named "application" again, data Type: "REG_SZ 」,

The data value is the location of the program to be used as the service line. If your windows system is installed on the C drive, then the OE program location is C: \ Program Files \ Outlook Express \ msimn.exe,

Add this path to the data.

Now, this service has been successfully added and configured. If you want to be more professional, you can create a subaccount named description under the mail service. The data type is the same as REG_SZ,

The data value can be used to describe the service. We can see it later.
Next, you need to make some extra settings for the service, and then upload "services. MSC "and enter your account. In the list, find the added mail server we have added, and then click" open "to set your account.

On the "General" selection page, we need to set the transmission mode of this Service. We can see it in the second middle school and make it a service, automatic, manual, and disabled are available )」

The three types of dynamic types can be set to self-motivation as needed.

Under the "Logon" option, you can set the identity of the server to be uploaded. Generally, you can set the identity based on the parameter. The "recovery" selection criteria are set in the recovery settings. You can specify,

What measures should be taken after the first, second, and third outgoing mails of the service.

"Dependencies" shows the dependency between services. This allows you to view which other services the service depends on, and what services depend on this service.

In the end, there is no significance for our general use of notebook.

After these settings, your services can work properly.

Log out and check. In order for you to see how to clear, we should first start worker Oe. At this time, there are two msimn jobs in the work manager, the OE we opened was named ".com.cn,

The "system" is the service we have added.
If you do not want to accept the attack again, you can directly disable the Waiting Behavior of your website and use the instsrv.exe program to remove it.

In the command line, paste "C: \ instsrv.exe mail remove", and then enter cancel. Instsrv.exe can be used in addition to some system services,

Therefore, you must be careful when using it. For system services, security should never be ruled out, even if you think it is useful to you.

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.