DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 958839 - Last Review: November 10, 2008 - Revision: 1.0

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  (http://support.microsoft.com/kb/216498/ ) How to remove data in Active Directory after an unsuccessful domain controller demotion

APPLIES TO
  • 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
Keywords: 
kbactivedirectory kbexpertiseadvanced kbtshoot kberrmsg kbbug KB958839
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support