You can download the system image through this website:https://msdn.itelleyou.cn/
We need four virtual machines
ed2k://|file|cn_windows_server_2012_r2_with_update_x64_dvd_6052725.iso|5545705472|121EC13B53882E501C1438237E70810D|/
ed2k://|file|cn_windows_7_ultimate_with_sp1_x64_dvd_u_677408.iso|3420557312|B58548681854236C7939003B583A8078|/
ed2k://|file|cn_windows_10_consumer_editions_version_1909_updated_jan_2020_x64_dvd_47161f17.iso|5417457664|274FEBA5BF0C874C291674182FA9C851|/
ed2k://|file|cn_windows_server_2008_r2_hpc_edition_with_service_pack_1_x64_dvd_700632.iso|3071051776|7FDEE0F7A49FC63148D4DE580D803742|/
After win2012-r2 (xiaotudou) is installed, set it to NAT mode and record the IP address and gateway address.
ip:192.168.204.134
Gateway: 192.168.204.2
DNS:192.168.204.2
Use static ip configuration
Same as above for win7
win7-xiaotudou001 (xiaotudou001):
ip:192.168.204.131
Gateway: 192.168.204.2
win10 same as above
win10-xiaotudou002 (xiaotudou002):
ip:192.168.204.132
Gateway: 192.168.204.2
Rename computer to DC, install domain
Modify computer name
Change the name to DC and then restart. After restarting, click Add Roles and Functions.
Default configuration, click Next
Default configuration, click Next
Check Activity Directory Domain Services and DNS Server
Default configuration, click Next
Click next
Click to install
Set up domain controller
Add a new forest, do not set a domain name for the external network, and click Next.
Set a restore password and click Next
Use the default and click Next
Use the default and click Next
Use default click Next
Click next
Click to install
After installing automatic restart, log in to the domain controller and you can see additional AD DS and DNS.
Check the IP and you can see that the preferred DNS server has been set to 127.0.0.1. If you need to access the Internet, you can set the backup DNS server to the previous value.
At this point, the xiaotudou.local domain is successfully installed.
Win7, win10 join domain
A domain controller administrator account and password are required to log in.
How to join win10 is the same as above
View newly joined computers on the DC
Click the window key
Click on management tools
Double-click Active Directory Users and Computers
Expand xiaotudou.local and click Computers. You can see that two new computers have been added to the domain, namely One Two.
Create domain account
After joining the domain, you need a domain account to log in to the domain. We first create two departments, namely the operation and maintenance department and the administrative department. Right-click on xiaotudou.local—>New—>Organizational Unit
In the Operation and Maintenance Department, right-click, New -> User
Set the password to never expire (Xiaotudou001)
Next step—>Finish, the user creation is completed at this time
Log in to the domain on win7, switch user input account xiaotudou\One