Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > Exporting AD user info (advanced)

Reply
Thread Tools Display Modes

Exporting AD user info (advanced)

 
 
Eldingo
Guest
Posts: n/a

 
      09-04-2009

Hello All:

Can someone please help me how to export all the AD user information
including the security settings, like exact object location within the
directory. Thanks for your help!

Ciao


 
Reply With Quote
 
 
 
 
Marcin
Guest
Posts: n/a

 
      09-04-2009
any of these should help you accomplish what you need...
http://technet.microsoft.com/en-us/l.../bb727091.aspx

hth
Marcin

"Eldingo" <> wrote in message
news:%...
> Hello All:
>
> Can someone please help me how to export all the AD user information
> including the security settings, like exact object location within the
> directory. Thanks for your help!
>
> Ciao
>



 
Reply With Quote
 
Richard Mueller [MVP]
Guest
Posts: n/a

 
      09-04-2009

"Eldingo" <> wrote in message
news:%...
> Hello All:
>
> Can someone please help me how to export all the AD user information
> including the security settings, like exact object location within the
> directory. Thanks for your help!
>
> Ciao


There are several command line utilities that can be used to export
attribute values for all users. For example dsquery and dsget can be used.
Or Joe Richards' free adfind utility. See this link:

http://www.joeware.net/freetools/tools/adfind/index.htm

A VBScript program can be used to document users. I have an example linked
here that exports the values of some attributes for all users to a comma
delimited file:

http://www.rlmueller.net/DocumentUsers.htm

This is just an example, but can be modified to document any attributes you
like. I also have an example VBScript program that documents all of the
attributes of any specified object in AD (such as a specified user) linked
here:

http://www.rlmueller.net/Document%20Attributes.htm

The distinguishedName attribute specifies where in the hierarchy of AD the
object resides. All of my examples document the value of that attribute. I'm
not sure what you mean by security settings, but the userAccountControl
attribute is a flag attribute that indicates such settings as whether or not
a password is required, or if the account is disabled. Permissions should be
assigned by making the user the member of groups, so you might want to
document group membership. An example of a VBScript program that documents
user group memberships is linked here:

http://www.rlmueller.net/List%20User%20Groups.htm

Finally, if you want to document the permissions assigned directly to the
user object, you must document the ACE's (Access Control Entries) within the
DACL (Discretionary Access Control List) of the user's security descriptor.
I have an example VBScript program for that linked here:

http://www.rlmueller.net/DACL.htm

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


 
Reply With Quote
 
Eldingo
Guest
Posts: n/a

 
      09-04-2009
Marcin and Richard, thanks so much for your help I will try your solutions.


"Richard Mueller [MVP]" <rlmueller-> wrote in
message news:...
>
> "Eldingo" <> wrote in message
> news:%...
>> Hello All:
>>
>> Can someone please help me how to export all the AD user information
>> including the security settings, like exact object location within the
>> directory. Thanks for your help!
>>
>> Ciao

>
> There are several command line utilities that can be used to export
> attribute values for all users. For example dsquery and dsget can be used.
> Or Joe Richards' free adfind utility. See this link:
>
> http://www.joeware.net/freetools/tools/adfind/index.htm
>
> A VBScript program can be used to document users. I have an example linked
> here that exports the values of some attributes for all users to a comma
> delimited file:
>
> http://www.rlmueller.net/DocumentUsers.htm
>
> This is just an example, but can be modified to document any attributes
> you like. I also have an example VBScript program that documents all of
> the attributes of any specified object in AD (such as a specified user)
> linked here:
>
> http://www.rlmueller.net/Document%20Attributes.htm
>
> The distinguishedName attribute specifies where in the hierarchy of AD the
> object resides. All of my examples document the value of that attribute.
> I'm not sure what you mean by security settings, but the
> userAccountControl attribute is a flag attribute that indicates such
> settings as whether or not a password is required, or if the account is
> disabled. Permissions should be assigned by making the user the member of
> groups, so you might want to document group membership. An example of a
> VBScript program that documents user group memberships is linked here:
>
> http://www.rlmueller.net/List%20User%20Groups.htm
>
> Finally, if you want to document the permissions assigned directly to the
> user object, you must document the ACE's (Access Control Entries) within
> the DACL (Discretionary Access Control List) of the user's security
> descriptor. I have an example VBScript program for that linked here:
>
> http://www.rlmueller.net/DACL.htm
>
> --
> Richard Mueller
> MVP Directory Services
> Hilltop Lab - http://www.rlmueller.net
> --
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting user info Glenn Clark Windows Server 3 10-10-2008 01:25 PM
Exporting Info from AD Zoddy Active Directory 3 09-12-2008 06:24 AM
Exporting Wmp Info in Vista to Excel Tom292 Windows Vista Music, Pictures and Video 0 08-07-2008 06:32 PM
easy way to copy advanced tag info? Jamie Windows Media Player 0 06-16-2006 10:55 PM
Exporting Info from Active Directory. David Parkes Windows Small Business Server 0 05-23-2006 09:05 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59