บน Windows Server 2016 อาจเกิดข้อผิดพลาดต่อไปนี้เมื่อพยายามกำหนดค่า Routing and Remote Access: "Installation of the Routing and Remote Access failed because Class not Registered (80040154)"

รายละเอียดปัญหา: หลังจากติดตั้ง Role "Remote Access" เพื่อเพิ่มฟีเจอร์ "Direct Access and VPN" บน Server 2016 ได้รับข้อผิดพลาด "Installation of Routing and Remote Access failed because Class not Registered. (80040154)" ที่ขั้นตอนสุดท้ายของ "Routing and Remote Access Setup Wizard"
สาเหตุของข้อผิดพลาด "Class not Registered (80040154)": ข้อผิดพลาดเกิดขึ้นเพราะการติดตั้ง Role "Remote Access" ไม่สำเร็จบนเซิร์ฟเวอร์
วิธีแก้: Class not Registered (80040154) ใน Routing and Remote Access Setup (Server 2016)
เพื่อแก้ไขข้อผิดพลาด Class not Registered (80040154) ใน Routing and Remote Access Setup Wizard ให้ดำเนินการติดตั้ง Role "Remote Access" ใหม่บนเซิร์ฟเวอร์ของคุณ วิธีทำมีดังนี้:
- เปิด 'Server Manager' คลิกที่ Add Roles and Features (เพิ่มบทบาทและคุณสมบัติ)

- ที่หน้าจอแรกของ 'Add Roles and Features wizard' เลือก Role-based or feature-based installation (การติดตั้งตามบทบาทหรือคุณสมบัติ) แล้วคลิก Next (ถัดไป)

- ที่หน้าจอถัดไป เลือกค่าเริ่มต้น "Select server from the server pool" (เลือกเซิร์ฟเวอร์จากพูลเซิร์ฟเวอร์) แล้วคลิก Next

- เลือก Role Remote Access (การเข้าถึงจากระยะไกล) แล้วคลิก Next

- ที่หน้าจอ 'Features' (คุณสมบัติ) ใช้ค่าเริ่มต้น แล้วคลิก Next

- ที่หน้าจอข้อมูล 'Remote Access' คลิก Next
- ที่ 'Remote Services' (บริการระยะไกล) เลือก Role Services Direct Access and VPN (RAS) แล้วคลิก Next

- คลิก Add Features (เพิ่มคุณสมบัติ)

- คลิก Next อีกครั้ง
- ใช้ค่าเริ่มต้น คลิก Next (สองครั้ง) ที่หน้าจอ 'Web Server Role (IIS)' และ 'Role Services'

- ที่หน้าจอ 'Confirmation' (ยืนยัน) เลือก Restart the destination server automatically (if required) (รีสตาร์ทเซิร์ฟเวอร์ปลายทางอัตโนมัติหากจำเป็น) แล้วคลิก Install (ติดตั้ง)

- รอจนการติดตั้งเสร็จสิ้น
- ตรวจสอบให้แน่ใจว่าการติดตั้งเสร็จสิ้นโดยไม่มีข้อผิดพลาด *
* หมายเหตุ: หากตอนจบการติดตั้ง Feature Installation ล้มเหลวพร้อมข้อผิดพลาด: "The request to add or remove features on the specified server failed. The operation cannot be completed, because the server that you specified requires a restart" ให้อ่านบทช่วยสอนนี้เพื่อแก้ไขปัญหา
- ดำเนินการกำหนดค่า Routing and Remote Access ต่อไป
เสร็จสิ้น! แจ้งให้เราทราบว่าคู่มือนี้ช่วยคุณได้หรือไม่ โดยแสดงความคิดเห็นเกี่ยวกับประสบการณ์ของคุณ กรุณากดไลค์และแชร์คู่มือนี้เพื่อช่วยผู้อื่น