Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 789
  • Last Modified:

export OU and attached Group policies

Hi,  can you suggest me some tool/script to export my domain OUs, Sub-Ous and Group Policies associated to indovidual OU/sub-OU. It should also include inherited GPs list also.
0
Komal_Upadhyay
Asked:
Komal_Upadhyay
  • 2
1 Solution
 
Vikas ShahCurrently Seeking OpportunitiesCommented:
Hi Komal,

There is utility called "LDIFDE utility". The link for how to use it is mentioned Below:

http://technet.microsoft.com/en-us/library/bb727091.aspx

Regards,

Vikas Shah

0
 
Vikas ShahCurrently Seeking OpportunitiesCommented:
Komal,

There are few tools too but they are bit expensive.. However, if it is just a one time task, than you can use Quest Demo Version.:

http://technet.microsoft.com/en-us/library/bb727091.aspx

Regards,

Vikas Shah
0
 
JuusoConnectaCommented:
I do this kind of work alot and i always use LDIFDE, if you for example want to export groups you can run the following command:

ldifde -f ExportedGroups -s "Name of a DC" -d "OU=YourOU,DC=YourDomain,DC=com" -p subtree -r "(&(objectCategory=group)(objectClass=Group))" -l displayname,samaccountname,description

After this you can import the list to a requested ou. but you will need to edit the file first, before importing.
One thing you need to change is: Which OU you want to import this to.

After this u can run the following command:

-i -f "Path of your ldfide file" -s "Name of domain controller in the new domain / existing domain" -j c:
0
 
Komal_UpadhyayAuthor Commented:
query was helpful and get my data.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now