Quantcast
Viewing all articles
Browse latest Browse all 12

Server 2008: Create a Service from Application

 

One thing I have found missing on the newer Windows Server version is the ability to run an application as a service, at least I haven’t found it yet…

Here is how I did this for an app called IrisServer that I wanted as a service:

  • Download these files from Server 2003 Resouce kid :  SRVANY
  • Extract files in c:\reskit
  • Make a empty service with this command:
    c:\reskit\INSTSRV.EXE “IrisServer Service” c:\reskit\SRVANY.EXE

Image may be NSFW.
Clik here to view.
1

 

    • Now open regedit….   Start > Run > Regedit
    • Next navigate to this registry key:  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IrisServer Service
    • From the Edit menu, click Add Key and name it Parameters
    • Under Parameter click Edit, Add String Value and type this information.
      • Value Name: Application
        • Data Type: REG_SZ
              • String : path to app\IrisServer.exe

Image may be NSFW.
Clik here to view.
2

Image may be NSFW.
Clik here to view.
3

Now you can go ahead and start the new service up…  right click and start

Image may be NSFW.
Clik here to view.
4

Easy and simply and if you need to delete this service again your run this command:

c:\reskit\INSTSRV.EXE “IrisServer Service” REMOVE


Viewing all articles
Browse latest Browse all 12

Trending Articles