Discussion Locked

Running an exe file as a service

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
Can someone tell me how i can run an .exe file as service in NT 4.0

5 replies

by oliver w.

Hi,
this is not possible for normal exe's.
Only Programms and dll's, that are designed as a service can be run as a service...

sorry,
Oliver

by william j sosville

You can run srvinstw.exe from the NT resource kit select install service then local machine. Name the service, then as the path to the executable direct it to Srvany.exe found in the resource kit dir. Select service its its own process and system account on the following screen. Choose Auto or manual.

You will have to edit the registry Hkey_Local_Machine\SYSTEM\ControlSet001\services\"service you created"
and add Keys such as AppDirectory - Where the .exe resides; Application - the full path to the .exe and AppParameters - ? to describe for example which CPU to run from.

Let me know if you need any assistance or if this is even a relevant answer.

This discussion is closed to new replies.