Category Archives: Active Directory

[ERROR] Could not find the Exchange Mailbox Administrators Universal Security Group through its well-known GUID

I came across a weird error the other day while running Exchange Server 2013 CU6 setup with the /PrepareAD switch.  The error (from the Exchange setup logs) was this: [12/02/2014 01:14:16.0727] [2] [ERROR] Could not find the Exchange Mailbox Administrators Universal Security Group through its well-known GUID 29a962c2-91d6-4ab7-9e06-8728f8f842ea.  Please make sure that Setup /prepareAD has… Read More »

How old is my Active Directory Forest?

It’s sometimes interesting to know how old your AD forest is and when the various domains were created.  I recently came across a really useful TechNet Blog with a Powershell snippet to do just this.  My version shown below just has some slightly different formatting. # How old is the forest? Get-ADObject -SearchBase (Get-ADForest).PartitionsContainer `… Read More »

Find Windows XP machines in your AD Domain

If you haven’t heard that extended support for Windows XP ended earlier this year you’ve clearly been in a coma.  There are a number of well-publicised methods for finding out whether you still have XP machines in your environment.  Here is my own humble (and spectacularly over engineered) Powershell offering.   ######################################################### # # Name:… Read More »

The request subject name is invalid or too long

I had an interesting one recently when submitting a certificate request to a Windows Certificate Authority using certreq.exe.  The error that came back was: The disposition message is “Error Parsing Request The request subject name is invalid or too long. 0x80094001 (-2146877439)” I found several links to possible solutions but, as it turns out, the problem in… Read More »

How to enable Active Directory auditing

Despite Active Directory having been around for more than 10 years, I still find new implementations proceeding without directory service access auditing enabled.  For me, auditing of who does what, where and when in your directory is crucial information.  I can’t fully fathom why Microsoft doesn’t have it enabled with some sensible defaults out of the… Read More »