• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 616
  • Last Modified:

Server 2008 R2 adprep


Does anyone know of any way to query AD to check the status of where adprep is with each forest and domain?
How do I know if adprep has been run on all domains and that all domains have had gpoprep completed also?

I have a single forest with 20 domains.
Any ideas?
  • 2
  • 2
2 Solutions
You must use the repadmin tool (from Support Tools) with the /replsum switch
Hal-itosisAuthor Commented:
Not really....

That gives me the replication summary of my forest but no detail of the adprep info of each domain.
Darius GhassemCommented:
You can go through these steps to check the verison.

Hal-itosisAuthor Commented:
Found the results I was looking for and came back to post but dariusq got there before me.

Here is what i found:

This is the result I was after.
dsquery.exe * "CN=Schema,CN=Configuration,DC=contoso,DC=com" -scope base -attr objectversion

Here is what the versions will mean:

47 = Windows Server 2008 R2
44 = Windows Server 2008
31 = Windows Server 2003 R2
30 = Windows Server 2003
13 = Windows 2000

Thanks all
Darius GhassemCommented:
I'm glad you got the results you needed.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell┬« is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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