Computer >> Hướng Dẫn Máy Tính >  >> Xử Lý Sự Cố >> Bảo Trì Máy Tính

Bật Telnet Client trên Windows Server 2012/2016/2019 - Hướng dẫn nhanh

Mặc định trên Windows Server, lệnh telnet báo lỗi: "is not recognized as an internal or external command..." vì Telnet Client bị tắt. Bài viết cung cấp 3 cách bật Telnet Client trên Server 2019, 2016, 2012.

Cách cài đặt Telnet Client trên Windows Server 2012/2016/2019

Phương pháp 1: Cài từ PowerShell (Khuyên dùng)

  1. Mở Windows PowerShell.
  2. Chạy lệnh:
    Install-WindowsFeature -name Telnet-Client
  3. Khi cài xong, Telnet đã sẵn sàng dùng.
    Lưu ý: Để tắt Telnet, chạy: Remove-WindowsFeature -name Telnet-Client

Phương pháp 2: Cài từ Command Prompt dùng DISM

  1. Mở Command Prompt (hoặc PowerShell).
  2. Chạy lệnh DISM:
    dism /online /Enable-Feature /FeatureName:TelnetClient

Phương pháp 3: Cài từ Server Manager (GUI)

  1. Mở Server Manager → nhấp Add Roles and Features.
  2. Màn hình đầu tiên: giữ nguyên Role-based or feature-based installation → Next.
  3. Chọn Select server from the server pool (mặc định) → Next.
  4. Tab Server Roles → Next (không cần chọn role nào).
  5. Tab Features → tích Telnet Client → Next.
  6. Màn hình xác nhận → nhấp Install.
  7. Khi cài xong → Close.