0% found this document useful (0 votes)
406 views5 pages

Primary Domain Controller

The document provides instructions for setting up a primary domain controller (PDC) and adding users and computers to the domain. It involves: 1. Configuring a server as the PDC, including promoting it, configuring DNS, and testing connectivity. 2. Creating organizational units, user accounts, and groups to structure the users for a sample company with different departments. 3. Joining other computers to the domain by configuring them to point to the PDC's IP for DNS and using PowerShell to perform the join.

Uploaded by

Duong Dinh Dung
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
406 views5 pages

Primary Domain Controller

The document provides instructions for setting up a primary domain controller (PDC) and adding users and computers to the domain. It involves: 1. Configuring a server as the PDC, including promoting it, configuring DNS, and testing connectivity. 2. Creating organizational units, user accounts, and groups to structure the users for a sample company with different departments. 3. Joining other computers to the domain by configuring them to point to the PDC's IP for DNS and using PowerShell to perform the join.

Uploaded by

Duong Dinh Dung
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

PRIMARY DOMAIN CONTROLLER

Mo hinh mang:

Phan 1. Xay dung PDC.


Ten mien: roboleeX.local (X: so thu tu cua SV).
Quy trinh thuc hien:
B1. Doi ten may: PDC-X  restart lai may.
B2. Cau hinh bo sung thong tin IP  bo dau check tai IP v6  cau hinh
bo sung cho IP v4  bo sung them DNS 1  tro DNS 1 ve chinh IP cua
PDC.

1
B3. Vao Server Manager  Add Role: ADDS  Install.
B4. Start  Run: dcpromo (Domain Controller Promotion)  chon muc
Create a new domain in a new forest  nhap ten mien tai muc FQDN:
roboleeX.local  tai muc Forest functional level, chon Windows Server
2008 R2  tai muc password cho che do DSRM, nhap vao password:
Aa@123  check vao muc Reboot on completion de sau khi nang cap
xong thi may PDC se tu restart.
Sau khi restart  dang nhap vao, co 2 cach:
Cach 1: roboleeX\Administrator.
Cach 2: [email protected].
Yeu cau doi lai password  doi lai password: Aa@1234.
B5. Fix lai DNS 1: 127.0.0.1  tra ve lai IP cua PDC nhu o B2.
B6. Vao Administrative Tools de mo cong cu: DNS  xo cac muc ra.
B7. Vao muc Reverse Lookup Zones  New Zone  chon Primary zone
 tai muc Net ID, nhap vao phan Net ID cua duong mang: 10.0.0 
Finish.
B8. Xo Forward Lookup Zones  vao roboleeX.local  chon host PDC-
X  check vao muc Update … pointer  OK.
Kiem thu 1: cmd  nhap vao lenh: nslookup  ket qua dung thi:
- Default Server: pdc-X.robolee40.local.
- Address: 10.0.0.1.
Neu bi loi Default Server: Unknown  cmd 
- Nhap lenh 1: ipconfig /flushdns (Enter).
- Nhap lenh 2: ipconfig /registerdns (Enter).
- nslookup lai.
Neu van con bi loi thi disable card mang roi enable lai.

2
Kiem thu 2: cmd  ping ten mien: roboleeX.local  ket qua tra ve phai
la IP cua PDC  Reply from 10.0.0.1…
Phan 2. Tao User cho nguoi dung su dung va tao OU, Group de sap
xep va quan ly cac User do de dang.
B1. Cau hinh password policy phu hop theo yeu cau thuc te  Admin
Tools  Group Policy Mangement  xo Forest  xo Domains  xo
roboleeX.local  chon Default Domain Policy  Edit  chon Computer
Configuration  xo Policies  …  Password Policy  chinh theo yeu
cau sau:
- Password thuong co it nhat 6 ky tu.
- Password khong bao gio het han va duoc phep thay doi “lien tuc” neu
muon.
- Yeu cau khi doi password thi khong duoc trung voi password cua 3 lan
gan nhat truoc do.
B2. Tao OU, User, Group  Admin Tools  Active Directory Users and
Computers.
Cho biet co cau nhan su cua cong ty RoboLee gom co:
- Phong giam doc: 2 nhan vien  giamdoc va thuky.
- Phong ke toan: 3 nhan vien  truongketoan, ketoan1, ketoan2.
- Phong kinh doanh: 3 nhan vien  truongkinhdoanh, kinh doanh1 va
kinhdoanh2.
Vay voi co cau tren, chung ta phai tao:
- 8 user  so user = so nhan vien.
- 4 group  so group = so phong ban + toan cong ty.

3
Phan 3. Join domain cho nguoi dung.
B1. Cau hinh bo sung thong tin IP  cau hinh bo sung DNS 1  tro DNS
1 ve IP cua PDC.
B2. Mo PowerShell bang quyen Administrator  Search: powershell 
Run as administrator  ping ten mien: robolee.local  ket qua phai tra
ve IP cua PDC  Reply from 10.0.0.1…
Luu y: chi khi nao ping thanh cong ten mien thi moi join domain duoc.
B3. Join bang domain banh lenh tren PowerShell (ket hop phim Tab sau
khi nhap chuoi in dam se cho ra day du cau lenh ma khong can nho):
Add-Computer -DomainName roboleeX.local -Credential
roboleeX\giamdoc
Xuat hien bang chung thuc  nhap vao password cua user giamdoc.
Restart-Computer

4
Sau khi restart lai may  dang nhap theo cach 1:
roboleeX\giamdoc
Kiem thu:
- Tao thu 1 thu muc trong thu muc Program Files  ket qua?
- Thay doi IP  ket qua?

You might also like