Solved

Windows 2008 R2 DC LDP Cannot return >1000 deleted objects

Posted on 2011-02-24
2
1,917 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

816 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

8 Experts available now in Live!

Get 1:1 Help Now