Configuring an application server to run as a service
To configure an application server to run as a service:
- Make sure the application server is installed and functions correctly.
- Make sure the RICOH ProcessDirector is connected to the application server:
- Log in to RICOH ProcessDirector.
- Go to and verify the application server is connected.
- Log in to the Windows computer that the application server is installed on.
- Stop the application server. Use the Stop application server link in the RICOH ProcessDirector start menu folder.
- Windows services do not automatically have access to mapped network drives. The
mountaiwdata.bat
file grants access to these mapped network drives. Edit the providedmountaiwdata.bat
file to automatically mount the shared drive for the service:- Go to
C:\Program Files\Ricoh\ProcessDirector\bin
. - Make a copy of the file
mountaiwdata_sample.bat
and rename it tomountaiwdata.bat
. If you are upgrading or reinstalling the system, already have themountaiwdata.bat
file, and want to keep your previous settings, you do not have to do this step. - Open
mountaiwdata.bat
and include commands to mount the drive and map it to the drive letter that you have previously set up.For example, if you use Samba and Windows file sharing to map your drive, your BAT file contents might include commands such as:
- net use /delete <drive_letter>:
- net use <drive_letter>: \\<primary_host_name>\aiw /user:<primary_host_name>\aiw1 <password> /persistent:yes
where <drive_letter> is your mapped application server drive, <primary_host_name> is the name of the server RICOH ProcessDirector is installed on, and <password> is your system password for the RICOH ProcessDirector system user ( aiw1 is the default system user).
If you use NFS and Windows file sharing to map your drive, your BAT file contents might include commands such as:
mount -o anon \\<primary_host_name>\aiw <drive_letter>
where <primary_host_name> is the name of the server RICOH ProcessDirector is installed on and <drive_letter> is your mapped application server drive.
- Make sure that the drive is not currently mapped, then run
mountaiwdata.bat
. When it finishes, open Windows Explorer and make sure that the drive is mapped and connected.
- Go to
- Install the application server service:
- Start a command prompt as an administrator. Even if you are logged on to your system as an administrator, you must start the command prompt by selecting Run as administrator from the right-click menu.
- Go to
C:\Program Files\Ricoh \ProcessDirector\bin
. - Type aiwsvc install and press Enter. This installs the application server service.
- Open the Windows Services window and look for the Ricoh Process Director Application Server service to make sure the application service installed.
- Optional: Set the application server service to run as a local administrator user.
- Note:
- The application server service can run as a local administrator user service or a LocalSystem service (default). If it runs as a LocalSystem service, a password is not required. If it runs as a local administrator service, Windows requires a password for the user.
- In the Windows Services window, right-click the Ricoh Process Director Application Server service and select Properties.
- In the Log On tab, select This Account and specify the user and password.
- Click OK.
- In the Windows Services control panel, right-click the Ricoh Process Director Application Server service and select Start.
- Verify the application server service has started. In the Windows Services control panel, the status should read Started. In RICOH ProcessDirector, go to and verify the application server is connected and that the startup type is set to Automatic.