AGG Software
Ask a question  Top  Previous  Next


Windows NT+ services use will let you:


control service on local and remote computers, including remote computers with Windows NT 4.0 system;
setup actions on emergency service restore in case of failure, for example auto service or computer restart (only on computers with Windows 2000 or later);
create for services other names and descriptions, to find them easier (only on computers with system Windows 2000 or later);
run service before user login (password input);
service can be setup on automatic start after operation system load.


Note 1: you must be logged in as an administrator in order to change the configuration or control the service in any way (start, stop, pause, continue).


Note 2: On Windows Vista and later you should start the program with elevated administrator privileges.


If you want to use the program as a service application, then, please, go to the "Options -> Program options -> Windows service" tab (fig. 6.4.1), then enable the "Use program as a service" check box. Later, please, specify the startup type of the service. There can be following variants:


options service

Fig. 6.4.1 Service settings


1.Automatic - service will be started automatically at every Windows start, before user login;
2.Manual - you can start the service application in the "Services" window in the Control panel (fig. 6.4.2);
3.Disabled - service can't be started.


If you want to change program settings while service mode, then enable the "Allow service to interact with desktop" option. In this case, the program will put the icon to the SysTray (fig. 6.4.2). But then your interactive service will be restarted while user log off.



Fig. 6.4.2 Service icon in Systray


If you use data bases or special drivers, before service run, these applications must be run. You can specify what services should be started before Accurate Printer Monitor in the "Program depends on services" window (fig. 6.4.3).


options service depend

Fig. 6.4.3 Service settings #2


In some case you need to start Accurate Printer Monitor before starting other services. In this case you should:


Switch a start mode of a target service to "Manual";
Start Accurate Printer Monitor;
Set on the target service at the "Services depend on ASDL" tab;
Select mode when you need start these service;
Restart Accurate Printer Monitor.


After you installed the service mode of the program, restart a computer or run the service manually from the "Services" window in the Control panel (fig. 6.4.4)


start service

Fig. 6.4.4 Manual service run (in Windows 2000)


After start of the service, the service processes names will be displayed in a process list: printermonsrv.exe and printermon.exe (fig. 6.4.5). The 'printermonsrv.exe' application makes interface between the service manager and the Accurate Printer Monitor software. Unlike srvany.exe utility, our service stops safely.


process list

Fig. 6.4.5 Process list


If you want to configure the program as a service, then you must be logged with administrator rights. The service application can be controlled, stopped or removed with help of a command line string. Run printermonsrv.exe with following parameters:


/? - short help;
/I - install service for start in manual mode;
/A - install service for start in automatic mode;
/D - install service in off state;
/R - remove service from computer.

Copyright © 1999-2016, AGG Software.
All rights reserved.