Remove Identity Management for UNIX Components

Applies To: Windows Server 2008 R2, Windows Server 2012

Identity Management for UNIX is considered a role service, or a software subcomponent, of the Active Directory Domain Services server role. This topic covers how to remove Identity Management for UNIX from different versions of Windows Server.

To remove Identity Management for UNIX

Refer to the following table for more information about the removal options for each operating system:

Operating system Removal options

Windows Server 2012

Remove Identity Management for UNIX by using a command line

Windows Server 2008 R2

Remove Identity Management for UNIX by using the Windows interface

Remove Identity Management for UNIX by using Windows PowerShell

Remove Identity Management for UNIX by using a command line

Windows Server 2008

Remove Identity Management for UNIX by using the Windows interface

Remove Identity Management for UNIX by using a command line

Remove Identity Management for UNIX by using the Windows interface

This procedure applies to Windows Server 2008 R2 and Windows Server 2008.

To remove Identity Management for UNIX by using the Windows interface

  1. Open Server Manager. Click Start , point to Administrative Tools , and then click Server Manager .

  2. In the tree pane, expand Roles .

  3. On the role home page for AD DS, in the Roles section, in the list of common tasks, click Remove Role Services .

  4. On the Select Role Services page of the Remove Role Services Wizard, clear the check box for Identity Management for UNIX or the parts of Identity Management for UNIX that you want to remove, and then click Next .

  5. After verifying your selections on the Confirm Removal Selections page, click Remove .

    The computer must be restarted after the removal of Identity Management for UNIX finishes.

Note

You must be a member of the Administrators group on the local computer to remove Identity Management for UNIX components.
Server Manager is available only to members of the Administrators group on the local computer. By default, Server Manager opens when an administrator logs on to the computer. You can open Server Manager from the Start menu, the Quick Launch bar, or in Administrative Tools.

Remove Identity Management for UNIX by using Windows PowerShell

This procedure applies to only Windows Server 2008 R2.

You can use the Windows PowerShell set of cmdlets for Server Manager to remove Identity Management for UNIX.

To remove Identity Management for UNIX by using Windows PowerShell

  1. Open a Windows PowerShell session with elevated user rights. To do this, click Start , click All Programs , click Accessories , click Windows PowerShell , right-click the Windows PowerShell shortcut, and then click Run as administrator .

  2. Load the Server Manager module into the Windows PowerShell session before working with Server Manager cmdlets. Type the following, and then press Enter .

    Import-Module Servermanager

Note

Windows PowerShell cmdlets are not case-sensitive.

  1. Do one of the following.

    • To remove all Identity Management for UNIX components, type the following, and then press Enter . Remove-WindowsFeature ADDS-Identity-Mgmt -restart

    • To remove only Password Synchronization, type the following, and then press Enter . Remove-WindowsFeature ADDS-Password-Sync -restart

    • To remove only Server for NIS, type the following, and then press Enter . Add-WindowsFeature ADDS-NIS -restart

    A restart of the computer is required after you remove Identity Management for UNIX. The -restart parameter restarts the computer automatically after removal is completed.

Note

Add the -whatIf parameter to your command to instruct Server Manager to show the list of all software that is removed by default by the command. Running the command together with the -whatIf parameter does not result in an actual removal; the command results show only what would be removed during an actual removal.

Remove Identity Management for UNIX by using a command line

In Windows Server 2008 R2 and Windows Server 2008, Identity Management for UNIX can be removed by using ServerManagerCmd.exe. In Windows Server 2012, use Dism.exe to remove Identity Management for UNIX.

You can run ServerManagerCmd.exe or Dism.exe from any directory on the local computer. You must be a member of the Administrators group on the local computer.

Important

Because of security restrictions imposed by User Account Control, you must run ServerManagerCmd.exe or Dism.exe in Windows PowerShell or in a Command Prompt window opened with elevated user rights. To do this, right-click the Command Prompt executable, or the Command Prompt object on the Start menu, or Windows PowerShell , and then click Run as administrator .

To remove Identity Management for UNIX from Windows 8 Server by using a command line

  • Right-click Windows PowerShell and click Run as Administrator .

  • Type one of the following and press ENTER:

    • Dism.exe /online /disable-feature /featurename:adminui to remove all Identity Management for UNIX

    • Dism.exe /online /disable-feature /featurename:nis to remove Server for NIS only

    • Dism.exe /online /disable-feature /featurename:psync to remove Password Synchronization only

    A restart of the computer is required when you remove Identity Management for UNIX. The /quiet parameter restarts the computer automatically after removal is finished.

To remove Identity Management for UNIX from Windows Server 2008 R2 by using a command line

  • In a Command Prompt window opened with elevated user rights, type one of the following and press ENTER .

    • ServerManagerCmd.exe -remove ADDS-Identity-Management -restart to remove all Identity Management for UNIX

    • ServerManagerCmd.exe -remove ADDS-NIS -restart to remove Server for NIS only

    • ServerManagerCmd.exe -remove ADDS-Password-Sync -restart to remove Password Synchronization only

Note

Add the -whatIf parameter to your command to instruct Server Manager to show the list of all software that is removed by default by the command. Running the command together with the -whatIf parameter does not result in an actual removal.The command results show only what would be removed during an actual removal.

Additional removal tasks

The single sign-on daemon (SSOD) is installed on all UNIX computers with which passwords are synchronized. If the UNIX computers are no longer synchronizing passwords with other Windows-based servers on the network running Password Synchronization, you can remove the SSOD files from the UNIX computers.

See Also

Concepts

Identity Management for UNIX: How To...
Install Identity Management for UNIX Components