Export (0) Print
Expand All


Updated: August 22, 2005

Applies To: Windows Server 2003 R2


Uninstalls an Active Directory Application Mode (ADAM) instance.


adamuninstall [/q] [/answer:filename] [/force] {/i:instancename | /tools}


Runs adamuninstall without displaying progress information on the screen.

/answer: filename
Specifies the name of the answer file, represented by filename, that contains preconfigured values for ADAM uninstall.

This answer file can be used to specify the account and password of the ADAM administrator, using the following syntax:



where domain\account represents the account of the ADAM administrator and password represents the corresponding password.

Causes adamuninstall to ignore any warnings and continue the removal of a given ADAM instance. Adamuninstall automatically skips any operations that generate warnings.

/i: instancename
Uninstalls an ADAM instance named instancename, and also uninstalls the ADAM administration tools.

Uninstalls the ADAM administration tools only.


  • If service principal names (SPN) in Active Directory exist for the ADAM instance that is being uninstalled, and adamuninstall cannot remove the SPNs automatically, adamuninstall creates a .bat file that can be used to remove the SPNs manually. This .bat file is located at %windir%\Debug\domain-servicename.bat, where domain represents the Active Directory domain in which the ADAM instance resides, and servicename represents the service name of the ADAM instance. (By default, the service name of an ADAM instance is ADAM_instancename, where instancename is the ADAM instance name that you provide during ADAM setup.)

Formatting legend


Format Meaning


Information that the user must supply


Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Community Additions

© 2016 Microsoft