7 replies
by syscokid
You can use the Srvany.exe tool that comes with the Resoucre Kit to run an app as a service.
From the documentation:
You can use the Srvany utility to run Windows NT applications as services, with the following benefits.
When applications are run as services, they are not closed during logoff, so users do not need to restart them each time they log on.
Server applications can service requests even when no user is logged on.
Applications can run and perform tasks specific to a logon account that is different from the user who is currently logged on.
by 1ronman
by it
Here is a link to a utility I have used in the past to run an app as a service...
http://www.winwinsoft.com/goodies/RunExeSvc/
Additionally you can edit the registry following the advice from Microsoft for srvany (part of the NT Resource Kit).
Specifying the application to start & its parameters:
Run the Registry Editor (REGEDT32.EXE):
-> under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService: create a 'Parameters' key
-> under the above key, create an 'Application' value of type REG_SZ and specify there the full path of your app executable (including the extension). For example:
Application: REG_SZ: D:\TOOLS\VI.EXE
-> OPTIONAL: under the above key, create an 'AppParameters' value of type REG_SZ and specify the parameters for your app. For Example:
AppParameters: REG_SZ: C:\TMP\FOO
-> OPTIONAL: under the above key, create an 'AppDirectory' value of type REG_SZ and specify the current directory to use for the app, eg:
AppDirectory: REG_SZ: C:\TMP
by 1ronman
by cwaller
by 1ronman
by 1ronman
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending