Active Directory Installation Windows Server 2025

  1. Home
  2. »
  3. Datacenter Management
  4. »
  5. Windows Server 2025
  6. »
  7. Active Directory Installation Windows Server 2025

Danh mục bài viết:

Hướng dẫn cách triển khai cài đặt dịch vụ Active Directory

Thông tin cơ bản:

  • HOST_WS2025_200: VM được cài đặt Windows Server 2025
  • IP: 192.168.1.200
  • SN: 255.255.255.0
  • DNS: 192.168.1.200

Nội dung thực hiện:

  • Dùng công cụ PowerShell chạy các lệnh cơ bản
  • Cài đặt và cấu hình Domain Controller
  • Kiểm tra Domain Controller và tạo đối tượng User, Group
  • Thực hiện Join Client và Domain
  • Cấu hình Password Policy

Bước 1: Khởi động giao diện Windows PowerShell với quyền Administrator trên Windows Server 2025 GUI:

Đổi tên máy và khởi động lại:

Rename-Computer -NewName “SRV-DC01” -Force

Restart-Computer -Force

Cấu hình địa chỉ IP và DNS trên Windows Server 2025

$InterfaceAlias = “Ethernet” New-NetIPAddress -InterfaceAlias $InterfaceAlias -IPAddress “192.168.1.200” -PrefixLength 24 -DefaultGateway “192.168.1.10”

Set-DnsClientServerAddress -InterfaceAlias $InterfaceAlias -ServerAddresses (“192.168.1.200″,”8.8.8.8”)

Bật tính năng RDP trên Windows Server 2025

Set-ItemProperty -Path ‘HKLM:\System\CurrentControlSet\Control\Terminal Server’ -Name “fDenyTSConnections” -Value 0 Enable-NetFirewallRule -DisplayGroup “Remote Desktop”

Cài đặt dịch vụ Active Directory

Install-WindowsFeature AD-Domain-Services, DNS -IncludeManagementTools

 

 

Bài viết công nghệ: