Skip Navigation Links | |
Exit Print View | |
![]() |
Oracle Fusion Middleware Installation Guide for Oracle Unified Directory 11g Release 1 (11.1.1) |
1. Before You Install Oracle Unified Directory 11g Release 1 (11.1.1)
3. Setting Up the Directory Server
4. Setting Up the Proxy Server
5. Setting Up the Replication Gateway
6. Configuring the JVM, Java Options, and Database Cache
7. Managing Oracle Unified Directory as a Windows Service
Managing the Server as a Windows Service
The uninstall process should cleanly uninstall and remove Oracle Unified Directory from your system. However, for Windows platforms, there might be times when the uninstall fails to remove files due to an active Windows service.
You can remove the remaining Windows service in two ways:
Use the window-service.bat utility to clean up the existing service.
Manually remove the Windows service in the Windows registry.
You can use the windows-service.bat command to clean up any existing Windows services. This command is located in instance-dir\OUD\bat.
Type the serviceName that you want to remove.
C:\> instance-dir\OUD\bat\windows-service.bat --cleanupService serviceName
Note - This command removes Oracle Unified Directory services only. The command will not clean up another product's services.
You can manually remove any remaining Windows service entries from the Windows registry.
![]() | Caution - Make sure that you know what you are doing when removing entries in your Windows registry. You can permanently damage your operating system. |
If it is, select the process and click the End Process button at the bottom right of the Task Manager dialog.
My Computer->HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Services->Oracle Unified Directory
Note - If you installed more than one instance of Oracle Unified Directory, the added services are named Oracle Unified Directory-2, Oracle Unified Directory-3, and so on.
Check that the service that you about to remove points to the correct instance.
Search the following:
HKEY_LOCAL_MACHINE->SYSTEM->ControlSetxyz->Enum->Root->LEGACY_ORACLE_UNIFIED_DIRECTORY-w
where w is the number of Oracle Unified Directory instances that you have registered as a service and xyz is the number of configuration profiles saved on the machine. This entry is typically found in ControlSet001, but it can be located elsewhere.
Depending on your profile, your system configuration, and the control set you are trying to edit, the registry entries might be protected from deletion. In this case, you might need Administrator privileges to perform this operation, or the system control set might be refreshed the next time Windows starts up successfully, thus confirming that the current configuration is valid.
The Windows service should be removed.