Author Archives: feadmin

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 »

Powershell function to count files using Robocopy

Reading the post title you maybe wondering whether I’ve taken leave of my senses.  Why call Robocopy from Powershell to count files when Powershell has a perfectly good method of doing this natively? For example, (Get-ChildItem e:\powershell -Recurse -force | ?{! $_.PSIsContainer} | Measure-Object).count Well, the problem comes in when an individual file length exceeds 260… Read More »

Enable Strict Replication Consistency for new DCs using Powershell

Another short blog posting (brevity is obviously my thing for 2014). I occasionally come across environments in which Strict Replication Consistency is not enabled.  This is invariably because these environment have forests that were created with Windows 2000 server, but which have subsequently been upgraded.  If you need to know more about Strict Replication Consitency… Read More »