Identity Management for UNIX is considered a role service, or a software subcomponent, of the Active Directory Domain Services server role.

To remove Identity Management for UNIX

Using the Windows interface

Using Windows PowerShell

Using a command line

Remove Identity Management for UNIX by using the Windows interface

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.

Notes
  • 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

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.

  3. 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

Server Manager command line tools let you install or remove roles, role services, or features in a Windows Command Prompt. Identity Management for UNIX can be removed by using the Server Manager line command because it is a role service of the Active Directory Domain Services role.

You can run the Server Manager line command, ServerManagerCmd.exe, from any directory on the local computer. You must be a member of the Administrators group on the local computer to run the Server Manager command.

Important

Because of security restrictions imposed by User Account Control in Windows Server 2008 R2, you must run ServerManagerCmd.exe 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, and then click Run as administrator.

Note

Other parameters are available for this command, such as -restart, which automatically restarts the computer after removal if it is required by the programs that you have removed. The -restart parameter is added to commands in this section, because the computer must be restarted after the removal of Identity Management for UNIX completes. We recommend that you read about additional Server Manager command line parameters in the topic "Overview of Server Manager Commands" in the Server Manager Help.

To remove Identity Management for UNIX 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