Solved

Windows 2008 R2 DC LDP Cannot return >1000 deleted objects

Posted on 2011-02-24
2
1,901 Views
Last Modified: 2012-06-27
Hi

Trying to get a list of deleted objects through the LDP tool on a DC in 2008 R2 using this article :-

http://technet.microsoft.com/en-us/library/dd379509%28WS.10%29.aspx

Can get the DeletedObjects displayed, but only displays first 1000 objects. Have used NTDSUTIL to set following attribute values for LDAP policy using this article :-

http://support.microsoft.com/kb/315071


Policy                          Current(New)

MaxPoolThreads                  4
MaxDatagramRecv                 4096
MaxReceiveBuffer                        10485760
InitRecvTimeout                 120
MaxConnections                  5000
MaxConnIdleTime                 900
MaxPageSize                     10000
MaxQueryDuration                        120
MaxTempTableSize                        10000
MaxResultSetSize                        262144
MinResultSets                   0
MaxResultSetsPerConn                    0
MaxNotificationPerConn                  5
MaxValRange                     1500

Even with these set (used q and q to set), the LDP tool for 2008 R2 stiill returns only first 1000 deleted objects. I have also tried setting the option to extended and page but nothing seems to work.

Have also tried setting the options to the same within the LDP tool.

Anyone suggest how this can be achieved in 2008 R2 ? Thanks

Running both LDP and NTDSUTIL as domain administrator.
0
Comment
Question by:TheGeezer2010
2 Comments
 
LVL 11

Accepted Solution

by:
Tasmant earned 400 total points
ID: 34969476
Look instead in ldp.exe
Go to Options/general : here you have the number of max child items set to 1000 by default.
Else, in Options/Search : here you have the maximum size set to 1000 by default.

Try to change these values and you should be able to retrieve more than 1000 objects. (maybe set to 0 to retrieve all of them)
0
 
LVL 11

Author Closing Comment

by:TheGeezer2010
ID: 34969893
Perfect - thanks very much

Options-General

Looked everywhere for answer to this so kudos for this
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now