Mặc định trên Windows 10, lệnh telnet báo lỗi: "is not recognized as an internal or external command, operable program or batch file". Nguyên nhân là Telnet Client - công cụ hữu ích để kiểm tra kết nối mạng - bị tắt mặc định.
Bài viết cung cấp 3 cách bật Telnet Client trên Windows 10.
Cách bật Telnet Client trên Windows 10
Phương pháp 1: Bật từ Programs & Features (Chương trình và Tính năng)
- Mở Control Panel → Programs and Features.
- Nhấp Turn Windows features on or off (Bật/tắt tính năng Windows) bên trái.
- Tìm và tích vào Telnet Client → nhấp OK.
- Đợi Windows cài đặt các file cần thiết.
- Khi hoàn tất, nhấp Close. Đã xong!
Phương pháp 2: Bật từ Command Prompt (CMD)
- Mở Command Prompt as Administrator:
1. Tìm "command prompt" hoặc "cmd" trong Search.
2. Chuột phải kết quả → Run As Administrator. - Trong CMD, dán lệnh sau và nhấn Enter:
pkgmgr /iu:"TelnetClient"
Phương pháp 3: Bật từ PowerShell hoặc CMD dùng DISM
- Mở PowerShell as Administrator (hoặc CMD Admin):
1. Tìm "powershell" trong Search.
2. Chuột phải Windows PowerShell → Run as administrator. - Chạy lệnh sau:
dism /online /Enable-Feature /FeatureName:TelnetClient
Đã xong! Telnet Client hiện đã sẵn sàng sử dụng.