|Skip Navigation Links|
|Exit Print View|
|Oracle Fusion Middleware Installation Guide for Oracle Unified Directory 11g Release 1 (11.1.1)|
Use the windows-service command to enable or disable the server as a Windows service.
To enable the server as a Windows service, use the following command:
C:\> instance-dir\OUD\bat\windows-service.bat -e
To disable the server as a Windows service, use the following command:
C:\> instance-dir\OUD\bat\windows-service.bat -d
For more information, see windows-service in Oracle Fusion Middleware Command-Line Usage Guide for Oracle Unified Directory.
Note - You can also specify that the server should be run as a Windows service during installation time, if you use the GUI install. On the Review panel, at the end of the installation, select Run the server as a Windows Service.
If the system is heavily loaded when it boots, the process that starts the server might time out while waiting for the server to start. By default, the server attempts to start 100 times, with an interval of 5 seconds between attempts.
You can configure the number of attempts that the server makes to start by setting the value of the OUD_WINDOWS_SERVICE_START_NTRIES system environment variable.