Thay đổi chế độ bảo mật Wi-Fi (WPA2/WPA3) – Trên Router, không phải Windows
Lưu ý quan trọng: Cài đặt bảo mật Wi-Fi (WPA2, WPA3, mật khẩu) được cấu hình trên Router/Access Point, không phải trên Windows. Windows chỉ chọn cách kết nối đến mạng đã có cài đặt đó.
Cấu hình Router để dùng WPA2/WPA3
- Kết nối PC dây LAN → Router.
- Mở trình duyệt → IP Gateway (192.168.1.1, 192.168.0.1, 10.0.0.1...).
- Đăng nhập Admin.
- Wireless → Wireless Security / Wi-Fi Settings.
- Security Mode: WPA2-PSK (AES) hoặc WPA3-SAE (nếu router & client hỗ trợ).
- Passphrase: ≥ 12 ký tự, passphrase 4-5 từ.
- Save/Apply → Reboot router nếu cần.
Kiểm tra loại bảo mật Wi-Fi hiện tại trên Windows 10/11
- Settings (Win+I) → Network & Internet → Wi-Fi.
- Nhấp "Hardware properties" hoặc "Manage known networks" → chọn mạng → Properties.
- Xem "Security type": WPA2-Personal, WPA3-Personal, WPA2-Enterprise, v.v.
- Protocol: 802.11n/ac/ax (Wi-Fi 4/5/6).
Bật WPA3 trên Windows 10/11 (Client side)
- Yêu cầu: Windows 10 version 1903 (May 2019) trở lên + Driver Wi-Fi hỗ trợ WPA3 (Intel driver 21.x+, Realtek, MediaTek, Qualcomm mới).
- Kết nối đến AP phát WPA3 → Windows tự động dùng WPA3-SAE (Transition mode: WPA2/WPA3 mixed).
- Không có switch bật/tắt WPA3 trên Windows – nó tự thương lượng (negotiate) với AP.
Cấu hình WPA3-Enterprise (802.1X) trên Windows
- Settings → Network & Internet → Wi-Fi → Manage known networks → Add a new network.
- Network name (SSID), Security type: WPA3-Enterprise (hoặc WPA2-Enterprise).
- Encryption: AES (CCMP).
- Authentication: Microsoft: Protected EAP (PEAP) (phổ biến nhất) hoặc Smart Card or other certificate (EAP-TLS).
- Configure PEAP: Validate server certificate (chọn CA tin cậy), Authentication Method: Secured password (EAP-MSCHAP v2) → Configure → bỏ tích "Automatically use my Windows logon name and password" (nếu dùng credential riêng).
- OK → Connect → nhập username/password domain hoặc certificate PIN.
Thay đổi cài đặt kết nối Wi-Fi đã lưu trên Windows
- Settings → Network & Internet → Wi-Fi → Manage known networks.
- Chọn mạng → "Forget" (xóa profile cũ).
- Kết nối lại → nhập mật khẩu mới / chọn certificate.
PowerShell quản trị Wi-Fi Profile
# Xem tất cả profile
netsh wlan show profiles
# Xem chi tiết 1 profile (XML)
netsh wlan show profile name="SSID" key=clear
# Xóa profile
netsh wlan delete profile name="SSID"
# Xuất profile ra XML (backup)
netsh wlan export profile name="SSID" folder="C:\Backup\WiFi" key=clear
# Nhập profile từ XML
netsh wlan add profile filename="C:\Backup\WiFi\SSID.xml" user=all
Cài đặt bảo mật mạng nâng cao trên Windows (Không phải Wi-Fi)
- Windows Defender Firewall: wf.msc → Inbound/Outbound rules, Domain/Private/Public profile.
- Network Profile Type: Settings → Network & Internet → Ethernet/Wi-Fi → Network profile type: Private (tin cậy, cho phép discovery) vs Public (cô lập, chặn inbound).
- IPsec Policies: secpol.msc → IP Security Policies on Local Computer – mã hóa traffic giữa server.
- Windows Defender Application Guard / Credential Guard / HVCI: Virtualization-based Security (VBS) – bật trong Windows Security → Device security → Core isolation.
Khắc phục sự cố thường gặp
| Vấn đề | Nguyên nhân | Giải pháp |
|---|---|---|
| Không kết nối được WPA3 | Driver cũ, card không hỗ trợ, AP không hỗ trợ | Update driver, dùng WPA2-AES tạm thời, thay card Wi-Fi 6/6E |
| "Can't connect to this network" | Profile cũ conflict, sai mật khẩu, MAC filtering | Forget network → reconnect, kiểm tra MAC filter trên router |
| Limited connectivity / No Internet | DHCP fail, DNS, Gateway issue | ipconfig /release & /renew, flushdns, check router DHCP pool |