Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows 2008 R2 DC LDP Cannot return >1000 deleted objects

Posted on 2011-02-24
2
Medium Priority
?
2,171 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 1600 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

916 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