How to completely remove eDirectory 9 from Windows Server

  • 7022908
  • 01-May-2018
  • 28-Mar-2019


eDirectory 9
Windows Server 2012 R2
Windows Server 2016


Scenario 1: eDirectory installation failed and left a partially installed instance behind.

Scenario 2: Currently configured instance of eDirectory needs to be uninstalled.


Disclaimer: If the eDirectory server is already configured, the following steps will completely de-configure it and remove it from the tree.
  1. Verify that the configured instance, if any, is stopped:

    1. Open the Services.exe Utility:
      Control Panel | Administrative Tools | Services
    2. Scroll to the bottom and look for a service named "x64 NDS Server..."
    3. If it is running, click on the item in the list and click "Stop the service".
    4. If it fails or does not stop in a timely manner (3 minutes or less), use Windows Task Manager to end the "NetIQ eDirectory Host Environment" task.

  1. Close any open eDirectory utilites, such as ndscons.exe (NetIQ eDirectory Services) or dsrepair.
  1. If the "slpd" task is running, please end the process using Windows Task Manager.

  1. Uninstall eDirectory and NICI:
  1. Open Programs and Features:
    Control Panel | View by: Small icons | Programs and Features
  2. Select "NetIQ eDirectory 9" from the list and click "Uninstall".
  3. Once the uninstall is complete, repeat the previous step for "NICI U.S./Worldwide".
NOTE: If you are unable to run the uninstaller for any reason, skip this step and move to step 5.

  1. Run the eDirectory scrub utility from TID # 3004658:
  1. Follow the instructions under the "Additional Information" section.
  2. After copying the script to a file named "edirScrub.bat",  open a command prompt AS AN ADMINISTRATOR and enter one of the following commands, depending on the directory structure of your installation:
> .\edirScrub.bat C:\Novell\NDS
> .\edirScrub.bat C:\NetIQ\eDirectory

The eDirectory removal is now complete.
Note: Although unnecessary, some administrators may opt to restart the Windows server at this point.

Additional Information

For instructions on uninstalling eDirectory on Linux, please refer to the official documentation: