2013-2015 ForgeRock AS. windows-service1 OpenDJ ${docTargetVersion} windows-service register OpenDJ as a Windows Service windows-service options Description This utility can be used to run OpenDJ directory server as a Windows Service. Service Options Disable the service and clean up the windows registry information associated with the provided service name Disable the server as a Windows service and stop the server Enable the server as a Windows service Provide information about the state of the server as a Windows service General Options Display version information Display usage information Exit Codes 0 The command completed successfully. > 0 An error occurred. Example The following command registers OpenDJ directory server as a Windows Service. C:\path\to\opendj\bat> windows-service.bat --enableService After running this command, you can manage the service using Windows administration tools.