Oracle Fusion Middleware Upgrade and Migration Guide for Oracle Directory Server Enterprise Edition

ProcedureTo uninstall Core from a Windows 2000 machine:

  1. Stop all Identity Synchronization for Windows Java processes using one of the following methods:

    • Select Start -> Settings -> Control Panel -> Administrative Tools -> Services to open the Services window. In the right pane, right-click on Identity Synchronization for Windows and select Stop.

    • Open a Command Prompt window and type the following command.

      net stop "Sun ONE Identity Synchronization for Windows"
    • If the preceding methods do not work, use the following steps to stop the Java processes manually.

      1. Open the Services window, right-click on Identity Synchronization for Windows, and select Properties.

      2. From the General tab in the Properties window, select Manual from the Startup type drop-down list.


    Note –

    Although you can view Java processes (such as pswwatchdog.exe ) from the Windows Task Manager, you cannot determine which processes are specifically related to Identity Synchronization for Windows. For this reason, do not stop processes from the Windows Task Manager.


  2. For a Core uninstallation only, stop the Message Queue using one of the following methods:

    • In the Services window, right-click on iMQ Broker in the right pane and select Stop.

    • From a Command Prompt, type the following command.

      net stop "iMQ Broker"
    • If the preceding methods do not work, use the following steps to stop Message Queue manually.

      1. Open the Services window, right-click on iMQ Broker and select Properties.

      2. From the General tab in the Properties window, select Manual from the Startup type drop-down list.

      3. Open the Directory Server Console and select the Configuration tab.

      4. In the left pane, expand the Plugins node and select the pswsync node.

      5. In the right pane, uncheck the Enable plug-in check box.

      6. Click Save.

      7. From the Console, locate and remove the following entry from the Configuration Directory:

        cn=pswsync,cn=plugins,cn=config

      8. Stop Directory Server.

        You can stop the server using one of the following methods:

        • In the Services window, right-click on Sun ONE Directory Server 5.2 in the right pane and select Stop.

        • Open a Command Prompt window and type the following command.

          net stop slapd-myhostname
          
      9. Open Windows Explorer to locate and remove the Plugin binary:

        < ServerRoot>\lib\psw-plugin.so

      10. Restart Directory Server.

  3. Open a Command Prompt window and type regedit to open the Registry Editor window.


    Caution – Caution –

    Back up your current registry file before proceeding to Manually Uninstalling 1.1 Core and Instances from Windows 2000.


    1. In the Registry Editor, select My Computer in the left pane.

    2. Select Registry -> Export Registry File from the menu bar.

    3. When the Export Registry File dialog box is displayed, specify a name for the file and select a location to save the backup registry.

  4. In the Registry Editor, select Edit -> Delete from the menu bar.

    Remove the following Identity Synchronization for Windows keys from the Windows Registry:

    • All entries under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Identity Synchronization for Windows.

    • All CurrentControlSet and ControlSet (such as ControlSet001, ControlSet002, and so forth) entries under HKEY_LOCAL_MACHINE\SYSTEM\*, which includes the following entries (if they exist).

      • ...\Control\Session Manager\Environment\< isw-installation directory\>

      • ...\Services\Eventlog\Application\Sun ONE Identity Synchronization for Windows

      • ...\Services\Sun ONE Identity Synchronization for Windows

      • ...\Services\iMQBroker

  5. Backup (copy and rename) the current productregistry file located in C:\WINNT\system32 .

  6. Edit the C:\WINNT\system32\productregistry file to remove the following tags:


    Note –
    • For best results, use an XML editor. Alternatively, you can use a standard text editor.

    • Some of the following components may not be included in your file.

    • You must delete the beginning tag (<compid\>), ending tag (</compid\>), and all contents in-between both tags). Ellipses are used in the following list to represent any additional text and/or tags that are included as part of these tags. See the example Manually Uninstalling 1.1 Core and Instances from Windows 2000.


    • <compid\>Identity Synchronization for Windows . . . </compid\>

    • <compid\>Core . . . </compid\>

    • <compid\>unistaller . . . </compid\>

    • <compid\>wpsyncwatchdog . . . </compid\>

    • <compid\>setenv . . . </compid\>

    • <compid\>Create DIT . . . </compid\>

    • <compid\>Extend Schema . . . </compid\>

    • <compid\>resources . . . </compid\>

    • <compid\>CoreComponents . . . </compid\>

    • <compid\>Connector . . . </compid\>

    • <compid\>DSConnector . . . </compid\>

    • <compid\>Directory Server Plugin . . . </compid\>

    • <compid\>DSSubcomponents . . . </compid\>

    • <compid\>ObjectCache . . . </compid\>

    • <compid\>ObjectCacheDLLs . . . </compid\>

    • <compid\>ADConnector . . . </compid\>

    The following is a <compid\> tag sample. Remove <compid\>, </compid\>, and all the text and tags in-between.


    <compid\>Identity Synchronization for Windows
        <compversion\>1.1
              <uniquename\>Identity Synchronization for Windows</uniquename\>
               <compinstance\>1
                        <children\>
                            <compref\>ADConnector
                                <instance\>1
                                    <version\>1.1</version\>
                                </instance\>
                            </compref\>
                            <compref\>DSSubcomponents
                            . . .
            </compinstance\>
        </compversion\>
    </compid\>
  7. Remove the Identity Synchronization for Windows installation folder located at serverRoot\isw-hostname.

    For example, C:\Program Files\Sun\mps\isw-example

  8. Clean up the configuration directory as follows:

    1. From a Command Prompt window, run the ldapsearch command against the configuration directory where Identity Synchronization for Windows Core is installed to locate the Identity Synchronization for Windows Console subtree.


      Note –

      ldapsearch is located in < serverRoot>\shared\bin\ldapsearch.

      For example, C:\Program Files\Sun\mps\shared\bin\ldapsearch


      ldapsearch -D "cn=directory manager" -w < password\> -b o=netscaperoot "(nsnickname=isw)" dn

      The resulting entry should be similar to the following (note that the entry will always end with o=NetscapeRoot):

      "cn=Sun ONE Identity Synchronization for Windows,cn=server group, cn=myhost.mydomain.com,ou=mydomain.com,o=NetscapeRoot"

    2. Use the Directory Server Console to remove the Identity Synchronization for Windows Console subtree that you found and all subtrees under it.

  9. Clean up the Identity Synchronization for Windows configuration directory ( also know as the configuration registry) as follows:

    1. From a Command Prompt window, run the following ldapsearch command to locate the Identity Synchronization for Windows configuration directory in Directory Server:

      ldapsearch -D "cn=directory manager" -w <password \> -b "dc=my,dc=domain" "(&(objectclass=iplanetservice)(ou=IdentitySynchronization))" dn

      The resulting entry should be similar to the following:

      "ou=IdentitySynchronization,ou=Services,dc=my,dc=domain"

    2. Use the Directory Server Console to remove the configuration directory subtree that you found, including all subtrees under it.

  10. Clean up all other Console-related files as follows:

    1. Remove all Console jar files located in < serverRoot >\java\jars\isw*For example, C:\Program Files\Sun\mps\java\jars\isw*

    2. Remove all Console servlet jar files located in < directory-server-install-root >\bin\isw\For example, C:\SunOne\Servers\bin\isw\

Next Steps

Restart your machine for all changes to take effect.