Frequently asked questions

Using the command line interface, how can I specify a quoted string on the /Params parameter?

You need to add a \ before each quote.
Ex. svcit /Params="/C \"c:\program files\xyz.bat\""

What is the difference between the Server and the Workstation license?

The Workstation license will only run on Windows NT 4 Workstation, Windows 2000 Professional, Windows XP and Windows Vista; the Server license will run on all Windows NT, Windows XP, Windows Vista and Windows 2000/2003/2008 platforms.

Why do I get "The service did not respond to the start or control request in a timely fashion." error when I start my service?

To install your application as a service you need to use the menu command Tools -> Install a ServiceMill service and not Tools -> Install a service.
Remove your service and reinstall with the correct option and it will work.

What is the process affinity option the ServiceMill settings?

Using the process affinity option you can specify on which processor the service will execute on, this can be useful to limit CPU usage to one processor.

Is ServiceMill included at no extra charge with ServiceKeeper?

ServiceMill is not included with ServiceKeeper.

How can I start a service with desktop interaction and network access at the same time?

In the ServiceMill settings, enable "Interact with desktop when service log on as a user".

Why my Java app running as a service stops when a user logs off?

There is a bug that was introduced in JDK 1.3.0 that has now been fixed in JDK 1.3.1. In JDK 1.3.1 you need to add a -Xrs command line option to prevent the VM from closing your application when a user logs off.

Will my application survive a user log off when running under ServiceMill?

Some Windows based application may terminate when a user logs off.
ServiceMill will prevent most application from receiving the log off notification and therefore the application will not terminate.
In some case (mostly with console based application), ServiceMill cannot prevent the application from stopping, the workaround is to use the ServiceMill auto restart feature so that the application restarts immediately.

What are the differences between a regular application and a service?

Please read article Inside Win32 Services written by the NT guru Mark Russinovich.

Is it possible to run 'xyz' application as a service?

Most applications can be started as a service. The best way to find out is to try. If the application does not start right away, it is most likely for security reason.
Configure the service to log as a user account and make the service dependent on the Workstation service. Doing this will be sufficient to start most applications as a service.

When I purchase ServiceMill, do I have to uninstall the demo version and reinstall the registered one?

No. You do not need to uninstall the demo version. Just install the registered version over the demo version. It will be upgraded and all your settings will be kept.