You are currently offline, waiting for your internet to reconnect

The Ldp.exe and Ldifde.exe programs do not display the "memberOf" attribute for Active Directory Recycle Bin objects

SYMPTOMS
When you use the Ldp.exe program or the Ldifde.exe program to display attributes about a deleted user account when the Active Directory Recycle Bin feature is enabled in Windows Server 2008 R2, the "memberOf" attribute data will not show any groups. Other attribute data is displayed correctly.
WORKAROUND
To work around this problem, use the Active Directory PowerShell cmdlet "Get-ADObject" to correctly show group membership information on deleted objects when you use the Active Directory Recycle Bin feature.

For example, to correctly show group membership information on deleted objects, open a command prompt and then change to the PowerShell directory. At the command prompt, type the following commands and then press ENTER after each command:
import-module activedirectory

Get-ADObject -filter {(isDeleted -eq $true) -and (samAccountName -like "user_name")} -includeDeletedObjects -properties * | ft samAccountName,memberOf -auto -wrap
Note In this command, the user_name placeholder is the user name of the deleted user account.

These commands accurately return the group membership information as the following:
samAccountName memberOf-------------- --------user_name      {CN=Sales,CN=Users,DC=contoso,DC=com}
STATUS
Microsoft has confirmed that this is a problem in the Ldp.exe program and the Ldifde.exe program in Windows Server 2008 R2.
MORE INFORMATION
For more information about the Active Directory Recycle Bin feature, see the Active Directory Recycle Bin Step-by-Step Guide. To see the Active Directory Recycle Bin Step-by-Step Guide, visit the following Microsoft TechNet Web site:
Properties

Article ID: 976838 - Last Review: 10/21/2009 20:42:51 - Revision: 1.1

Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise, Windows Server 2008 R2 Standard, Windows Web Server 2008 R2

  • kbexpertiseinter kbsurveynew kbprb KB976838
Feedback