Active Directory: Move FSMO roles with PowerShell

When moving FSMO roles the old fashioned way, you use MMC and move the roles each individually, it takes a little time, but it’s somewhat troublesome. BUT, this can be achieved much quicker with Powershell 🙂 Here is how to transfer all 5 FSMO roles: Move-ADDirectoryServerOperationMasterRole -Identity DC01 –OperationMasterRole PDCEmulator,RIDMaster,InfrastructureMaster,SchemaMaster,DomainNamingMaster Where “DC01” above is the TARGET DC. Check with netdom […]

Read more

Active Directory: Changing home folder servername

When migrating filservers and you are using the “Home Folder” setting of an AD user’s object like here:   From: To: It would be great just to edit all objects in bulk, with this script, it is possible:  

Remember servername is CASE SENSITIVE! So if the oldserver is all with small letters, and you type them with CAPS, […]

Read more

NTFRS replication is going AWOL

Two domain controllers have perfect replication via Active Directory, but the “File Replication Service” eventlogs, shows many errors and the NETLOGON share is missing on both domain controllers, which will give user login problems and Active Directory tools cannot be opened, claiming that access is denied. Event log on both servers: Using this article – even though it’s old: […]

Read more