Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Unable to run dsquery / dsget for large number of group members

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 12-05-2006
Member
 
Join Date: Mar 2005
Posts: 90
Unable to run dsquery / dsget for large number of group members

I want to run dsquery/dsget batch commands to get the members of some global security groups and put the output into a text file. I have already tested a few groups and found that the security groups with small group membership work fine, but groups that have very large list of members, it will not return any records in the text file. Can anyone tell me if there is a limit of members that will not return a value from this command and also if there is a way of using DSQUERY and DSGET to produce an output for security groups with a large list of members if there is a limit? Any ideas?

Reply With Quote
  #2  
Old 14-05-2006
Member
 
Join Date: Jun 2006
Posts: 620
Re: Unable to run dsquery / dsget for large number of group members

Is the below having any bearing on your issues?

-limit <NumObjects>
Specifies the number of objects matching the given criteria to be returned, where

<NumObjects>
is the number of objects to be returned. If the value of <NumObjects> is 0, all matching objects are returned. If this parameter is not specified, by default the first 100 results are displayed.
Reply With Quote
  #3  
Old 28-02-2010
Member
 
Join Date: Feb 2010
Posts: 3
Re: Unable to run dsquery / dsget for large number of group members

Getting the members of groups with more than 1000 members (W2K) or 1500 (W2K3 or later) often requires a bit of extra work. You also need to consider the type of group as often visibility is constrained in a multi-domain forest.

Some discussion and sample .Net code can be found. That page contains links to some Microsoft KBs as well.

HTH
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Unable to run dsquery / dsget for large number of group members"
Thread Thread Starter Forum Replies Last Post
using Dsquery and DSGET etechelp Active Directory 1 20-07-2011 11:32 PM
Using DSQUERY to get the members of a Group in AD sevaanan Active Directory 5 11-11-2009 01:53 PM
dsquery and dsget aconti Active Directory 1 01-11-2009 04:09 PM
Dsget group members SID Jeremy Smith Active Directory 3 22-11-2008 06:32 AM
dsquery to list members of group joey Windows Server Help 1 05-11-2008 08:43 AM


All times are GMT +5.5. The time now is 05:35 AM.