Deploy AD on Windows Server 2012 R2 server
From Notes_Wiki
Home > Windows > Windows Server 2012 R2 > Deploy AD on Windows Server 2012 R2 server
- Install Windows Server 2012 R2 on a VM or physical server.
- In case of a cloned VM, it might make sense to go to Windows -> Run and execute 'sysprep'. System cleanup action - OOBE, generalize (MUST) and shutdown options - Reboot. Set timezone and keyboard. Set administrator password.
- Login as administrator
- Ensure that system has desired static IP address. Initially public DNS such as 8.8.8.8 can be used if there is no local DNS.
- Change computer name to desirable (eg dc) and reboot. Ignore warning of duplicate name from older AD if any.
- Go to Server Manager -> Dashboard or Local Server. Choose "Add roles and features" option from dashboard link or scroll down on "Local server" and choose Tasks -> "Add roles and features".
- Click next on initial screen
- Choose "Role-based or feature-based installation" and click next
- Select current DC server and click next
- Select "Active Directory Domain Services". On popup click "Add feature". Click next
- On features screen click next
- On information screen click next
- On confirmation screen click install
- Click close on installation succedded screen.
- Open cmd and ping www.google.com to verify local DNS is working.
- On Server Manager go to "AD DS" instead of "Local Server".
- On "Configuration required for Active Directory Domain Services at DC" click more
- Under Action click on "Promote this server to a domain controller" link
- Appropriately choose to join an existing domain or forest. In case of fresh setup as explained in these steps choose "Add a new forest" and click next. If you choose to join existing domain or forest the remaining steps might differ.
- Choose Forest and Domain functional level to "Windows Server 2012 R2". Specify desired DSRM password.
- On the DNS Options page ignore warning and click next
- Choose appropriate NetBIOS Domain name eg RND and click next
- Continue with default paths and click next
- Click next on Review options
- Finally click install to start AD installation. After installation click "Close" to automatically reboot the server.
- Again go to Server Manager -> "AD DS". Right click on AD server and choose "Active Directory Users and Computers"
- Go to domain -> Users. Right click on "Administrator" and go to properties. Go to Account tab. Select "Password never expires" option.
- Go to "DNS Manager" and add A record (eg host1.rnd.com pointing to 192.168.1.70). Test from a DNS client whether resolution is working or not.
Refer:
Home > Windows > Windows Server 2012 R2 > Deploy AD on Windows Server 2012 R2 server