Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

แก้ WslRegisterDistribution failed with error: 0x80041002

Error 0x80041002 เกิดจาก Firewall/Security Software บล็อกการเชื่อมต่อ Port/Network ของ WSL วิธีแก้:

2 วิธีแก้ไข

1. Upgrade แทน Reinstall (หากมี WSL เก่า)

C:\> bash
$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ 
C:\> exit

วิธีนี้ใช้ได้กับทุก Error Code เมื่อ Upgrade WSL Version

2. ตรวจสอบ Security/Firewall Software

รายงานจากผู้ใช้ Comodo Internet Security: Firewall บล็อกการสื่อสาร ตรวจสอบ Blocked Applications → Unblock PowerShell/WSL หรือ Disable Security Software ชั่วคราวตอนติดตั้ง แล้วค่อย Enable กลับ

Error 0x80041002 เกี่ยวข้องกับ Firewall ต้องตรวจสอบกับ Vendor/Forum ของ Security Software ที่ใช้