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

วิธีเปลี่ยน Network Status จาก Public เป็น Private ใน Windows 11/10

ใน Windows 11/10/8/7/Vista สามารถเลือก Network Profile เป็น Public หรือ Private เพื่อควบคุมการแชร์ไฟล์/อุปกรณ์กับเครื่องอื่นในเครือข่าย เน็ตเวิร์ก Public (สถานที่สาธารณะ) ไม่ควรแชร์ ขณะที่เครือข่ายบ้าน/สำนักงาน (Private) สามารถอนุญาตให้แชร์ได้ การตั้งค่านี้จัดการได้ใน Control Panel > Network and Sharing Center

แต่ถ้าต้องเปลี่ยนตั้งค่าบ่อย (เช่น นำแล็ปท็อปไปทำงานที่หลายสถานที่) มีวิธีเร็วกว่าที่จะกำหนด Network Profile ได้ทันที บทความนี้รวบรวมวิธีต่างๆ ให้เลือกใช้

เปลี่ยน Network Status จาก Public เป็น Private

1. เปลี่ยนผ่าน Settings (Windows 10/11)

Windows 10/11:

  1. เปิด Settings (Win+I)
  2. เลือก Network & Internet
  3. คลิก Wi-Fi (หรือ Ethernet)
  4. คลิกที่เครือข่ายที่เชื่อมต่ออยู่
  5. ในหน้าถัดไป เลือก Private หรือ Public

Windows 8.1:

  • กด Win+I > คลิกไอคอน Network ใน Charms bar
  • ใน Networks section คลิกขวาที่เครือข่าย > เลือก Turn sharing on or off
  • เลือก Yes, turn on sharing and connect to devices = Private / No = Public

2. เปลี่ยนผ่าน Group Policy Editor (Windows Pro/Enterprise)

  1. กด Win+R พิมพ์ gpedit.msc Enter
  2. ไปที่: Computer Configuration > Windows Settings > Security Settings > Network List Manager Policies
  3. คลิกขวาที่เครือข่ายที่ต้องการเปลี่ยน > Properties
  4. ในแท็บ Network Location เลือก Private หรือ Public > Apply > OK

3. เปลี่ยนผ่าน Command Prompt

เปิด CMD ด้วยสิทธิ์ Admin แล้วรันคำสั่ง:

netsh wlan delete profile name="HomeNetwork"

แทนที่ "HomeNetwork" ด้วยชื่อโปรไฟล์เครือข่ายที่ต้องการลบ

คำสั่งนี้จะลบโปรไฟล์เครือข่ายเก่า ทำให้ตอนเชื่อมต่อใหม่สามารถเลือก Profile ใหม่เป็น Private ได้

ดูชื่อโปรไฟล์ทั้งหมดได้ด้วยคำสั่ง: netsh wlan show profiles