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

วิธีเปิด/ปิด Optional Windows Features ใน Windows 10

ระบบปฏิบัติการ Windows มาพร้อมฟีเจอร์มากมาย ฟีเจอร์เหล่านี้บางครั้งไม่ได้ตั้งใจให้ลูกค้าทั่วไปใช้โดยตรง หมายถึงเพียงเปอร์เซ็นต์เล็กน้อยของผู้ใช้จำนวนมากที่ใช้ประโยชน์จากฟีเจอร์เหล่านี้ แต่ยังเพิ่มคุณค่าสำคัญให้รายการฟีเจอร์ของระบบปฏิบัติการ ฟีเจอร์เหล่านี้อยู่ภายใต้ตัวเลือก - Turn Windows Features on and off. หมายถึงหากผู้ใช้ต้องการ สามารถพิมพ์ Turn Windows Features on and off ในกล่องค้นหาและเปิดใช้งานฟีเจอร์ที่ต้องการได้

วิธีเปิด/ปิด Optional Windows Features ใน Windows 10

เปิดหรือปิด Optional Windows Features

วิธีง่ายที่สุดคือเปิด Control Panel > Uninstall a Program แล้วด้านซ้ายเลือก Turn Windows features On or Off ในโพสต์นี้เราจะพูดถึงวิธีอื่นๆ ในการเปิด/ปิด Optional Windows Features บน Windows 10 จะตรวจสอบ 3 วิธีต่อไปนี้:

  1. ใช้ Windows Powershell
  2. ใช้ DISM Command line
  3. ใช้ external installation source

1] ใช้ Windows Powershell

Windows Powershell เป็นเครื่องมือที่ทรงพลังมาก สามารถทำหลายอย่างกับคอมมานด์ไลน์นี้ ขณะใช้ เราจะ populate รายการฟีเจอร์ที่มีอยู่ แล้วดาวน์โหลดฟีเจอร์ที่ต้องการ และสุดท้ายพูดถึงการเปิด/ปิดฟีเจอร์นั้น

ก่อนอื่น เพื่อ populate รายการฟีเจอร์ ใส่คำสั่งนี้:

Get-WindowsOptionalFeature -Online

หลังจากนั้น เพื่อติดตั้งฟีเจอร์จากรายการ ใส่คำสั่งนี้:
วิธีเปิด/ปิด Optional Windows Features ใน Windows 10

Get-WindowsOptionalFeature -Online -FeatureName *Type feature name*

จากนั้น เพื่อเปิดใช้งานฟีเจอร์ที่ดาวน์โหลดแล้ว ใส่คำสั่งนี้:

Enable-WindowsOptionalFeature -Online -FeatureName "Type feature name" -all

สุดท้าย เพื่อปิดใช้งานฟีเจอร์ที่เปิดอยู่ ใส่คำสั่งนี้:

Disable-WindowsOptionalFeature -Online -FeatureName "Type feature name"

2] ใช้ Command Prompt

เริ่มด้วยการกด WINKEY + X หรือคลิกขวาที่ปุ่ม Start เลือก Command Prompt (Admin) หรือค้นหา cmd ในกล่องค้นหา Cortana คลิกขวาไอคอน Command Prompt เลือก Run as Administrator คลิก Yes สำหรับ UAC prompt

พิมพ์คำสั่งต่อไปนี้เพื่อ populate รายการฟีเจอร์ที่มี:

วิธีเปิด/ปิด Optional Windows Features ใน Windows 10

DISM /online /get-features /format:table | more 

คัดลอกชื่อฟีเจอร์ที่ต้องการเปิด

ตอนนี้ เพื่อเปิดฟีเจอร์ ใส่คำสั่ง:
วิธีเปิด/ปิด Optional Windows Features ใน Windows 10

DISM /online /enable-feature /featurename:[Enter the name of the feature here] -All

ตอนนี้ เพื่อปิดฟีเจอร์ที่เปิดอยู่ ต้องทำขั้นตอนแยกต่างหาก

ก่อนอื่น ตรวจสอบว่าฟีเจอร์ไหนเปิดอยู่ ใส่คำสั่งนี้:
วิธีเปิด/ปิด Optional Windows Features ใน Windows 10

DISM /online /get-features /format:table | find "Enabled" | more

ตอนนี้ เพื่อปิดฟีเจอร์ที่เปิดอยู่ ใส่คำสั่ง:
วิธีเปิด/ปิด Optional Windows Features ใน Windows 10

DISM /online /disable-feature /featurename:[Enter the name of the feature here] -All

เพิ่มเติม หากต้องการตรวจสอบข้อมูลรายละเอียดของฟีเจอร์เฉพาะ ใส่คำสั่ง:

DISM /online /get-featureinfo/featurename:[Enter the name of the feature here]

3] ใช้ external installation source

สามารถดึงฟีเจอร์ล่าสุดจาก offline source ที่อัปเดตแล้ว

Source นี้อาจเป็น ISO หรือ image ประเภทอื่น หรือแค่โฟลเดอร์

สำหรับนั้น ตัดสินใจว่าจะใช้ Command Prompt หรือ Windows Powershell

หากใช้ Command Prompt ใส่คำสั่ง:

Dism.exe /online /enable-feature /featurename:< /All /Source:<Enter the path of the feature here>

และหากใช้ Windows Powershell command line ทำได้เช่นกัน ใส่คำสั่ง:

Install-WindowsFeature –Source "<Enter the path of the feature here>"

เพื่อให้ได้ฟีเจอร์ล่าสุด ต้องใช้ image ล่าสุดของระบบปฏิบัติการที่พยายามติดตั้งฟีเจอร์

วิธีเปิด/ปิด Optional Windows Features ใน Windows 10