11.1 Uninstalling eDirectory on Windows

Use the Windows Control Panel to remove eDirectory, ConsoleOne, SLP DA, and NICI from Windows servers.

IMPORTANT:Removing eDirectory also removes the roll-forward log directory and all the logs in it. If you want to be able to use the logs for restoring eDirectory on this server in the future, before removing eDirectory you must first copy the roll-forward logs to another location. For information about roll-forward logs, see Using Roll-Forward Logs in the NetIQ eDirectory Administration Guide.

NOTE:The HTML files created using iMonitor are not removed. You must manually remove these files from <install directory>\novell\NDS\ndsimon\dsreports before removing eDirectory.

11.1.1 Uninstalling eDirectory, ConsoleOne, and SLP DA

  1. On the Windows server where eDirectory is installed, click Start > Settings > Control Panel > Add/Remove Programs.

  2. Select eDirectory, ConsoleOne, or the SLP Directory Agent from the list, then click Add/Remove.

  3. Confirm that you want to remove your selection by clicking Yes.

    The Installation Wizard removes the program from the server.

11.1.2 Unattended Uninstallation of eDirectory

On Windows, the unattended uninstallation of eDirectory uses predefined text files that facilitate the unattended uninstallation.You can perform the following actions by using the unattended uninstallation mode of eDirectory:

  • Deconfiguration of the installed eDirectory.

  • Standalone uninstallation of eDirectory.

  • Both uninstallation and deconfiguration of eDirectory.

The following sections discuss various features of unattended eDirectory uninstallation:

Response Files

Uninstalling eDirectory on Windows operating system can be made silent and more flexible by using a response file (remove.rsp) to complete the following tasks:

  • Complete unattended uninstallation with all required user inputs

  • Default configuration of components

  • Bypass all prompts during the installation

A response file is a text file containing sections and keys, similar to a Windows.ini file. You can create and edit a response file by using any ASCII text editor. The eDirectory reads the uninstallation parameters directly from the response file and replaces the default uninstallation values with response file values. The uninstallation program accepts the values from the response file and continues to uninstall without prompts.

remove.rsp File Sections and Keys

The eDirectory uninstallation requires changes to the sections in the response file to add information about including the tree name, administrator context, administrator credentials (including user name and passwords), etc. A full list of the keys and their default values is available in the sample remove.rsp file that is delivered with the eDirectory installation.

NOTE:You should use the provided remove.rsp file available at eDirectory\windows\x64\NDSonNT\remove.rsp in the eDirectory installation. Essential parameters are set by default in this file. When editing the remove.rsp file, ensure there are no blank spaces between the key and the values along with the equals sign ("=") in each key-value pair.

You provide the administrator user credentials in the remove.rsp file for an unattended uninstallation. Therefore, you must permanently delete the file after the uninstallation to prevent the administrator credentials from being compromised.

Add Features to the Automated Uninstallation

Most details for configuring the eDirectory Uninstaller have default setting for the manual uninstallation. However, during unattended uninstallation, each configuration parameter must be explicitly configured. This section discusses the basic settings to be unconfigured.

eDirectory Server Details

The details of the server being uninstalled must be provided to the Uninstaller. Most of this information is configured in three tags, [Novell:NDSforNT:1.0.0], [Initialization], and [Selected Nodes].

Take all the values mentioned in [Initialization] and [Selected Nodes] in remove.rsp as it they are.

[Novell:NDSforNT:1.0.0]

Tree Name: The name of the tree from which the server will be uninstalled.

Admin Login Name: The name (RDN) of the Administrator object in the tree that has full rights, at least to the context to which this server is added. All operations in the tree will be performed as this user.

Admin Context: Any user added to a tree has a user object that contains all the user-specific details. This parameter is the container object in the tree to which the Administrator object will be added. For primary server installations, this container will be created with the server object.

Admin Password: The password for the Administrator object created in the previous parameters. This password will be configured to the Administrator object during primary server installations. For secondary server installations, this needs to be the password of the Administrator object in the primary server that has rights to the context to which the new server is added.

NDS Location: The eDirectory install location in the local system where the libraries and binaries are copied. By default, eDirectory is installed into C:\Novell\NDS unless it is changed in the response file.

DataDir: Until eDirectory version 9.0, the DIB was installed inside the NDS location as a subfolder. Later, administrators were given the option to provide a different DIB location, because there might be too much data stored in the DIB to fit into the NDS location. Currently, by default the DIB is installed in the Files subfolder inside the NDS location, but administrators can change this parameter and provide a different location

mode: The type of setup on eDirectory. The three types of setup are:

  • deconfigure: Performs the deconfiguration of eDirectory.

  • uninstall: Performs uninstallation of eDirectory.

  • full: Performs both deconfiguration and uninstallation of eDirectory.

NOTE:If you opt for the full setup mode during unattended install, then while uninstalling eDirectory you cannot opt for individual deconfiguration and uninstallation option.

ConfigurationMode: If the setup mentioned in the mode key is deconfigure, then ensure that you do not change the RestrictNodeRemove value of the ConfigurationMode key

Prompt: The type of the uninstallation mode should be mentioned in this variable. It will be set by default to 'silent' for unattended uninstallation. If any value other than 'silent' is set then it will do normal uninstallation

The following is a sample of text in the response file for all the basic parameters described above:

[Novell:NDSforNT:1.0.0]
  Tree Name=SILENTCORP-TREE
  Admin Context=Novell
  Admin Login Name=Admin
  Admin Password=novell
  prompt=silent

Remove Configuration File Changes

In the remove.cfg file residing in <Windows Install Drive>\Program Files\Common Files\novell\ni\bin, change

[PARAMETERS]0/OUTPUT_TO_FILE

to

[PARAMETERS]0/OUTPUT_TO_FILE /SILENT

Unattended Uninstallation of eDirectory using Response File

Copy the above edited file remove.rsp into <Windows Install Drive>\Program Files\Common Files\novell\ni\data.

The install.exe installed in the eDirectory is invoked in the command line with a few additional parameters. Depending on the required setup, you must use either of the following commands:

Deconfigure

<Windows Installed Drive>\Program Files\Common Files\novell\ni\bin>install.exe -remove /restrictnoderemove /nopleasewait ..\data\ip.db ..\data\remove.rsp Novell:NDSForNT:1.0.0 0 NDSonNT

Uninstall

  1. Rename the ip.db file present in the <Windows Drive>\Program Files\Common Files\novell\ni\data directory to another name.

  2. Copy the ip_conf.db file in the <Windows Drive>\Program Files\Common Files\novell\ni\data folder to ip.db.

  3. Run the following command:

    <Windows Installed Drive>\Program Files\Common Files\novell\ni\bin>install.exe -remove /nopleasewait ..\data\ip.db ..\data\remove.rsp Novell:NDSForNT:1.0.0 0 NDSonNT

Deconfiguration and Uninstallation of eDirectory

<Windows Installed Drive>\Program Files\Common Files\novell\ni\bin>install.exe -remove /nopleasewait ..\data\ip.db ..\data\remove.rsp Novell:NDSForNT:1.0.0 0 NDSonNT

After performing an uninstallation of eDirectory or combination setup, delete the following folders:

  • C:\Novell\NDS (default location, or else from the eDirectory installed directory)

  • C:\Novell\NDS\Files (default location, or else from the eDirectory DIB location)

  • <Windows Installed Drive>:\Program Files\Common Files\Novell\ni

  • <Windows Installed Drive>:\Windows\system32\NDScpa.cpl

11.1.3 Uninstalling NICI

  1. On the Windows server where eDirectory is installed, click Start > Settings > Control Panel > Add/Remove Programs.

  2. Select NICI from the list, then click Add/Remove.

  3. Confirm that you want to remove NICI by clicking Yes.

    The Installation Wizard removes NICI from the server.

After uninstalling NICI, if you want to completely remove NICI from your system, delete the C:\Windows\system32\novell\nici (32-bit) and C:\Windows\SysWOW64\novell\nici (64-bit) subdirectory. You might need to take ownership of some of the files and directories to delete them.

WARNING:After the nici subdirectory has been removed, any data or information that was previously encrypted with NICI will be lost.

11.1.4 Uninstalling Microsoft Visual C++ 2005 and Visual C++ 2012 Runtime Libraries

If Microsoft Visual C++ 2005 and Visual C++ 2012 Runtime Libraries are not used by any other products other than eDirectory, uninstall them by using the following procedure:

  1. Navigate to Add/Remove Programs or Programs and Features on the Windows server where eDirectory is installed.

  2. Remove the following redistribution package:

    Microsoft Visual C++ 2005 Redistributable and Microsoft Visual C++ 2012 Redistributable (x64)