Export (0) Print
Expand All

Uninstalling ADAM

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

If your application is the only client of the ADAM instance that was installed during your application’s installation, your application's uninstall program should remove that instance.

By default, each installed instance of ADAM appears in Add or Remove Programs in Control Panel. To prevent the user from uninstalling the ADAM instance separately from your application, you can prevent the ADAM instance from appearing in Add or Remove Programs by using the ShowInAddRemovePrograms option in the text answer file:

; The following line in the answer file will cause the ADAM instance to 
; not appear in the Add/Remove programs list.

In addition to being uninstalled through Add or Remove Programs, an instance of ADAM can be uninstalled using Adamuninstall.exe, which is located in the %windir%\ADAM directory. Adamuninstall.exe accepts the parameters in the following table.


Parameter Description


Runs the ADAM uninstall program without displaying progress updates.

/i: instancename

Uninstalls the specified ADAM instance.


Uninstalls the ADAM administration tools only.

The following command, when it is issued from your application's uninstall program, removes the ADAM instance Instance1 from the local computer:

adamuninstall /q /i: Instance1

If your application is being uninstalled from a computer running Microsoft Windows Server 2003 R2, your installation package should remove ADAM from the installed optional components if no more ADAM instances remain on the computer. To uninstall ADAM on a computer running Windows Server 2003 R2, use the following command:

Sysocmgr /i:sysoc.inf /q /u: script .inf

The specified script file must contain the following:


More Information

  • For information about Windows Installer, see “Windows Installer” on the MSDN Web site at http://go.microsoft.com/fwlink/?LinkID=3985.

  • For information about Active Directory Application Mode (ADAM), see “Windows Server 2003 Active Directory Application Mode” on the Microsoft Web site at http://go.microsoft.com/fwlink/?LinkID=20119.

  • For information about Windows Server 2003, see “Microsoft Windows Server 2003” on the Microsoft Web site at http://go.microsoft.com/fwlink/?LinkID=8201.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft