Create a registered Windows NT service out of applications

  • Section(s): Services
  • Published on Apr 20, 2004.
  • Last Modified on Apr 20, 2004.
  • Last Modified by Wayne Maples.
  • Rated 4.5 out of 5 based on 2 votes.
A standard question that arises in Windows NT is how to run an application, a batch file or some other process automatically whether someone is logged on or not. The Windows NT Resource Kit srvany.exe and instrsrv.exe . The standard reference is:

Create a User-Defined Service, Srvany.exe Q137890

Passing Environment Variables to Applications started by Srvany.exe Q197178

Troubleshooting Srvany using CMD.EXE Q152460

If this does not work for you, check out:

Idetix has released a freeware utility, Invoker , which generates a registered service out of (most) applications that can be launched by the command line. A little easier than SRVANY in the Resource Kit. (click on Support / Support Files)

Active+ has a full-featured commercial utility, ServiceMill , which supports batch files, Visual Basic, PowerBuilder, Delphi, Java, etc.

The autoexnt service allows you to run a batch file, Autoexnt.bat, when you boot NT without having to log on to that computer. AutoExNT.exe is a service which will run the autoexnt.bat file. AutoExNT is an NT Resource Kit utility.

About Wayne Maples


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred network administration tool?