Active Directory Auto-Replication Script

While working in my lab I found that my replication between sites was not working as fast as I needed. So I created a script to trigger the repadmin command every 5 minutes. Create Auto-Replication.ps1 file Open Notepad or your favorite powershell editor Type this line: 1..2094|foreach {start-sleep -s 5;cmd …

Read moreActive Directory Auto-Replication Script

Generate SSL Certificates for Active Directory Domain Controllers

Microsoft Active Directory is a great repository of user data. When integrated with other products it need to exchange data in a secure way. Here are some steps to generate the SSL certificates needed for secure data exchange. Generate SSL request file Generate request.inf file with appropriate information Copy request.inf …

Read moreGenerate SSL Certificates for Active Directory Domain Controllers

Windows 2008 R2 Core Domain Controller

Looking thru all the documentaiton to create a Windows 2008 R2 Core Domain Controller was a little challenge as there are confusion between the documents. here is an example to create your Domain Controller. dcpromo /unattend /InstallDns:yes /confirmGC:yes /replicaOrNewDomain:replica /replicaDomainDNSName:domain.com /databasePath:”e:Windowsntds” /logPath:”e:Windowsntds” /sysvolpath:”e:Windowssysvol” /safeModeAdminPassword: password /rebootOnCompletion:yes If you will like …

Read moreWindows 2008 R2 Core Domain Controller