You are currently offline, waiting for your internet to reconnect

Error message when you try to perform a metadata cleanup of an ADAM instance on a Windows Server 2003 R2-based computer: “DsRemoveDsServerW error 0x57(The parameter is incorrect.)”

SYMPTOMS
Consider the following scenario. You are running an instance of Active Directory Application Mode (ADAM) on a Windows Server 2003 R2-based computer. You try to perform metadata cleanup. In this scenario, when you run the Remove selected server command, you receive the following error message:
DsRemoveDsServerW error 0x57(The parameter is incorrect.)
RESOLUTION
To resolve this problem, follow these steps to perform the metadata cleanup:
  1. Open a command prompt, and then move to the directory where ADAM is installed. By default, this is the C:\Windows\ADAM directory.
  2. Type the following commands, and then press ENTER:
    dsmgmt l
    metadata cleanup
    Remove Selected Server "CN=ServerName$InstanceName,CN=Servers,CN=SiteName,CN=Sites,CN=Configuration,CN=GUID of ADAM Instance" on ServerName:PortNumber
You will receive a confirmation message that states that the selected instance is removed from the specified server. If the server holds any flexible single master operations (FSMO) roles, you may receive the following error message:
LDAP error 0x5e(94 (No Result Present in Message)
If this error occurs, you must manually seize the roles, and then remove the instance.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
REFERENCES
For more information about metadata cleanup, click the following article number to view the article in the Microsoft Knowledge Base:
216498 How to remove data in Active Directory after an unsuccessful domain controller demotion
W2003
Properties

Article ID: 958839 - Last Review: 11/10/2008 16:54:25 - Revision: 1.0

  • Microsoft Windows Server 2003 R2 Datacenter x64 Edition
  • Microsoft Windows Server 2003 R2 Datacenter Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Enterprise x64 Edition
  • Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003 R2 Standard x64 Edition
  • kbactivedirectory kbexpertiseadvanced kbtshoot kberrmsg kbbug KB958839
Feedback