What to Do if the 1.1 Uninstallation Fails

If the version 6.0 installation program finds remnants
of the version 1.1 system, the installation will fail. Verify that all of the 1.1 components
are completely removed from the system before starting the new installation.

If the uninstallation program does not uninstall all of the version
1.1 components, you must manually clean up the Identity Synchronization for Windows product
registry and Solaris packages.

Detailed instructions for uninstalling Identity Synchronization for Windows version
1.1 manually are provided in the following sections:

Type the following command to verify that all of the
packages were removed.

pkginfo | grep -i "Identity Synchronization"

Note –

Run the pkgrm package-name command
again to check if there are still existing packages due to dependencies.

Remove the Directory Server
Plug-in.

Open the Directory Server Console and select the Configuration
tab.

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

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

Click Save.

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

cn=pswsync,cn=plugins,cn=config

Stop Directory Server.

Remove the Plugin binary by typing the following
command.

rm -f serverRoot/lib/psw-plugin.so

Restart Directory Server.

Back-up (copy and rename) the current productregistry file
located in /var/sadm/install/productregistry.

Manually edit the productregistry file in /var/sadm/install/ to remove the following entries, if
present:

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, or tags that are included as part of these tags. See the example on
Manually Uninstalling 1.1 Core and Instances from Solaris.

<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\>SUNWidscr . . . </compid\>

<compid\>SUNWidscm . . . </compid\>

<compid\>SUNWidsct . . . </compid\>

<compid\>SUNWidscn . . . </compid\>

<compid\>SUNWidsoc . . . </compid\>

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

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

Remove the following Identity Synchronization for Windows directories and files.

From the installation location, type the following command.

rm -rf serverRoot/isw-hostname

To remove the bootstrap files, type the following command.

rm -rf /etc/init.d/isw

Clean up the configuration directory as follows:

Run the following ldapsearch command against
the configuration directory where Identity Synchronization for Windows Core is installed
to locate the Identity Synchronization for Windows Console subtree:

Manually Uninstalling 1.1 Core and Instances from
Windows 2000

Use the instructions provided in this section to manually uninstall
Core from a Windows 2000 machine.

Note –

In this section, Identity Synchronization for Windows locations are described
in the following manner:

serverRoot\isw-hostname\

where serverRoot represents the parent directory
of the Identity Synchronization for Windows installation location.

For example,
if you installed Identity Synchronization for Windows in C:\Program Files\Sun\mps\isw-example, the serverRoot would
be C:\Program Files\Sun\mps.

To uninstall Core from a Windows 2000 machine:

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.

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

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.

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.

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

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

Open the Directory Server Console and select the Configuration
tab.

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

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

Click Save.

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

cn=pswsync,cn=plugins,cn=config

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

Open Windows Explorer to locate and remove the Plugin binary:

<ServerRoot\>\\lib\\psw-plugin.so

Restart Directory Server.

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

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

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

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

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.

Remove the Identity Synchronization for Windows installation folder located at serverRoot\isw-hostname.

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

Clean up the configuration directory as follows:

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.

Next Steps

Manually Uninstalling a 1.1 Instance from Windows
NT

Use the instructions provided in this section to manually uninstall an instance from a Windows NT machine.

Note –

In this section, Identity Synchronization for Windows locations are described
as follows:

<serverRoot\>\\isw-<hostname\>

where <serverRoot\> represents the parent directory of the Identity Synchronization for Windows installation
location. For example, if you installed Identity Synchronization for Windows in C:\\Program
Files\\Sun\\mps\\isw-example, the <serverRoot\> would be C:\\Program
Files\\Sun\\mps.

Stop all the Identity Synchronization for Windows Java processes (Core and instance
installations) 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 ONEIdentity Synchronization for Windows”

If the preceding methods do not work, use the following steps
to stop the Java processes manually:

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

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.

Stop the Change Detector service using one of the following methods:

In the Services window, right-click on Sun ONE NT Change Detector
Service in the right pane and select Stop.

Open a Command Prompt window and type the following command:

net stop “Sun ONE NT Change Detector Service”

If the preceding methods do not work, use the following steps
to stop the Change Detector Service manually:

Open the Services window, right-click on Change Detector Service
and select Properties.

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

Restart your Windows NT computer.

You must remove Identity Synchronization for Windows registry keys. Open a Command
Prompt window and type regedt32 to open the Registry Editor window.

Caution –

Do not use regedit because
the program does not allow you to edit multi-value strings.

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

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

...\\Services\\iMQBroker

The HKEY_LOCAL_MACHINE\\SOFTWARE\\Sun Microsystems\\PSW

Use regedt32 (do not useregedit)
to modify (do not delete) the following
registry key:

Select the registry key entry in the left pane:

HKEY_LOCAL_MACHINE\\SYSTEM\\\\CurrentControlSet\\\\CONTROL\\\\LSA

The registry value type must be REG_MULTI_SZ.

In the right pane, right-click on the Notification Packages value
and select Modify.

Change the PASSFLT value to FPNWCLNT.

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

Edit the C:\\WINNT\\system32productregistry file to remove the following tags:

Note –

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

Some of these components might 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
on Manually Uninstalling 1.1 Core and Instances from Windows 2000.

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

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

<compid\>uninstaller . . . </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 example <compid\> tag. Remove
<compid\>, </compid\>, and all
the text and tags in-between.