How Many Users in AD? (User Count)
Apr16

How Many Users in AD? (User Count)

KB ID 0001748 Problem I had to get some stats from a number of customers earlier today, one of the stats I needed was the  user count from within their respective Active Directories. If you have a tedious job to do, there’s usually a PowerShell command to help! Getting Object Numbers From Active Directory User Count (Get-ADUser -Filter *).Count Computer Count (Get-ADComputer -Filter *).Count Group Count (Get-ADGroup -Filter...

Read More
Leave Domain: “A general network error occurred’
Feb18

Leave Domain: “A general network error occurred’

KB ID 0001738 Problem After a recent lab on the test bench, I ended up with a 2008  x32 standard server. It took me a while to get this setup and running, so I wanted to keep it (or turn it into a VMware template should I ever need  another). But first I needed to ‘remove it’ from  the domain it was in. However, when attempting to do so this happened; Computer Name /Domain Changes The following error occurred validating...

Read More
Windows File Server Migration (Maintain Share & NTFS Permissions)
Jan27

Windows File Server Migration (Maintain Share & NTFS Permissions)

KB ID 0001201 Problem When attempting a File Server Migration why isn’t this better publicised? Did you know Microsoft have a set of Migration tools, and one of them is for file servers? Now traditionally I’d use RoboCopy or XCopy to migrate files and folders, and for ‘User Profiles’ I would normally back them up, and restore them to the new server. This is because the file permissions on ‘correctly...

Read More
Domain Join SID Error
Jan26

Domain Join SID Error

KB ID 0001732 Problem Thankfully I don’t see a SID error very often these days; The following error occurred when attempting to join the domain ‘{domain-name} The domain join cannot be completed because the SID of the domain you attempted to join was identical to the SID of this machine. This is a symptom of an improperly cloned operating system install. You should run Sysprep on this machine in order to generate a new...

Read More
Cannot Recreate Azure AD ‘Local’ AD Connector
Feb24

Cannot Recreate Azure AD ‘Local’ AD Connector

KB ID 0001659 Problem While trying to fix another Azure AD Replication problem today I managed to delete one of the connectors (the one for the local ‘on-prem’ Active Directory). In an effort to ‘recreate’ it, I ran the ‘Microsoft Azure Active Directory Connect’ and went to ‘Customise the Synchronisation Options’.  Unfortunately I got this error; The forest {forest-name} cannot be added...

Read More
Group Policy: Item-Level Targeting
Feb08

Group Policy: Item-Level Targeting

KB ID 0001654 Problem Yesterday I wrote a post about Deploying a ‘Mapped’ Drive to a couple of users using Group Policy. This received a comment that was basically ‘Why not simply use Client Targeting?’ To be fair that’s a good point, I was using a Group Policy Preference and they can be specifically targeted. So here’s how to do that. Solution If you do not already have one, create a group for your...

Read More