25112
asked on
get a list of all the windows users on the domain
is there a dos command to get all the windows user who are valid and current.. also if we can filter and look out for one specific user..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
what system are you on? are you a domain member server, dc?
http://social.technet.microsoft.com/wiki/contents/articles/dsquery-commands.aspx
http://social.technet.microsoft.com/wiki/contents/articles/dsquery-commands.aspx
ASKER
>>You might want to look at ADFIND from:
ADFIND - what command to run? just like dsquery ?
ADFIND - what command to run? just like dsquery ?
ASKER
>>what system are you on? are you a domain member server, dc?
i am on r2 application server- not dc. so dsquery needs installed?
Plenty of examples of ADFIND usage on the web if you do some googling, like:
http://blog.koenvermoesen.be/2009/06/29/adfind-onelines/
~bp
http://blog.koenvermoesen.be/2009/06/29/adfind-onelines/
~bp
http://technet.microsoft.com/en-us/library/cc725702%28WS.10%29.aspx
Are you running out in the command window??
Are you running out in the command window??
adfind -f "objectcategory=user" -dn
ASKER
adfind works good- thanks.
ASKER
arnold
I am running from elevated command window..
it works for me in xp in another domain.. in this domain in vista it is not working..
I am running from elevated command window..
it works for me in xp in another domain.. in this domain in vista it is not working..
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
'dsquery' is not recognized as an internal or external command,
operable program or batch file.