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

ปิด/เปิดใช้งาน Soft Disconnect คอมพิวเตอร์จากเครือข่ายใน Windows 10

ในการทำให้คอมพิวเตอร์ Windows 10 แจ้งเตือนแอปพลิเคชันให้หยุดใช้ Network Interface เฉพาะ ตั้งค่า Group Policy ใหม่ถูกเพิ่มเข้ามา ชื่อว่า Enable Windows to soft-disconnect a computer from a network การตั้งค่านี้กำหนดว่า Windows ควรตัดการเชื่อมต่อคอมพิวเตอร์จากเครือข่ายอย่างไร เมื่อพบว่ามันไม่ได้เชื่อมต่อกับเครือข่ายนั้นอีกต่อไป ดังนั้น หากคุณสนใจที่จะเปิดหรือปิดการตั้งค่านี้จาก Windows 10 บทความนี้จะช่วยคุณ

เปิดใช้งาน Windows ให้ Soft Disconnect คอมพิวเตอร์จากเครือข่าย

เมื่อการตั้งค่านี้ Enabled Windows จะ Soft-disconnect คอมพิวเตอร์จากเครือข่าย – ไม่ใช่ทันทีหรือกะทันหัน แต่ตรงข้ามกับนี้ หากการตั้งค่า Disabled Windows จะตัดการเชื่อมต่อคอมพิวเตอร์หรือ PC จากเครือข่ายทันที คุณมี 2 วิธีในการกำหนดค่า Soft Disconnect a computer from a Network ใน Windows 10:

  1. ปรับแต่ง Registry Setting
  2. เปลี่ยน Group Policy Setting

โปรดทราบว่าหากการตั้งค่าไม่ได้ถูกกำหนด พฤติกรรมเริ่มต้นคือ Soft-disconnect

1] ปรับแต่ง Registry Setting

กด Win+R พร้อมกันเพื่อเปิดกล่องโต้ตอบ 'Run'

ในช่องว่างของกล่อง พิมพ์ 'regedit' และกดปุ่ม 'Enter'

เมื่อ Registry Editor เปิด ให้นำทางไปที่ที่อยู่พาธต่อไปนี้ –

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WcmSvc\GroupPolicy

หากคุณพบ Entry นั้น ให้สร้างมันขึ้นมา

ปิด/เปิดใช้งาน Soft Disconnect คอมพิวเตอร์จากเครือข่ายใน Windows 10

ตอนนี้ สร้างค่า 32-bit DWORD ใหม่ SoftDisconnectConnections และกำหนดค่าของมันดังนี้:

  • 0 = Disable Soft Disconnect
  • 1 = Enable Soft Disconnect

ปิด/เปิดใช้งาน Soft Disconnect คอมพิวเตอร์จากเครือข่ายใน Windows 10

คุณสามารถเลือกที่จะลบค่า SoftDisconnectConnections เพื่อคืนค่าเริ่มต้นของระบบ

เมื่อเสร็จสิ้น ให้ปิด Registry Editor และ Restart คอมพิวเตอร์ของคุณเพื่อให้การเปลี่ยนแปลงมีผล

2] เปลี่ยน Group Policy Setting

กด Win+R พร้อมกันเพื่อเปิดกล่องโต้ตอบ 'Run'

ในช่องว่างของกล่อง พิมพ์ 'gpedit.msc' และกดปุ่ม 'Enter'

ตอนนี้ เมื่อ Local Group Policy Editor App เปิด หรือเปิดสำหรับผู้ใช้ทั้งหมดยกเว้น Administrator หรือสำหรับผู้ใช้เฉพาะ

ต่อไป นำทางไปที่โฟลเดอร์ต่อไปนี้:

Computer Configuration > Administrative Templates > Network > Windows Connection Manager

สลับไปที่ Fruit-pane ขวา และคลิกสองครั้งที่ตัวเลือก 'Enable Windows to soft-disconnect a computer from a network'

ปิด/เปิดใช้งาน Soft Disconnect คอมพิวเตอร์จากเครือข่ายใน Windows 10

This policy setting determines whether Windows will soft-disconnect a computer from a network.

If this policy setting is enabled or not configured, Windows will soft-disconnect a computer from a network when it determines that the computer should no longer be connected to a network.

If this policy setting is disabled, Windows will disconnect a computer from a network immediately when it determines that the computer should no longer be connected to a network.

When soft disconnect is enabled:

  • When Windows decides that the computer should no longer be connected to a network, it waits for traffic to settle on that network. The existing TCP session will continue uninterrupted.
  • Windows then checks the traffic level on the network periodically. If the traffic level is above a certain threshold, no further action is taken. The computer stays connected to the network and continues to use it. For example, if the network connection is currently being used to download files from the Internet, the files will continue to be downloaded using that network connection.
  • When the network traffic drops below this threshold, the computer will be disconnected from the network. Apps that keep a network connection active even when they're not actively using it (for example, email apps) might lose their connection. If this happens, these apps should re-establish their connection over a different network.

This policy setting depends on other group policy settings. For example, if 'Minimize the number of simultaneous connections to the Internet or a Windows Domain' is disabled, Windows will not disconnect from any networks.

ตั้งค่านโยบายเป็น 'Disabled' เพื่อปิดใช้งานฟีเจอร์

คุณยังสามารถทิ้งไว้เป็น Not configured หรือตั้งเป็น 'Enabled'

แค่นี้ thoi!