Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> การบำรุงรักษาคอมพิวเตอร์

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

หาก Windows ไม่บันทึกข้อมูลประจำตัว Remote Desktop และขอให้คุณพิมพ์ทุกครั้ง ให้อ่านต่อไปนี้เพื่อแก้ไขปัญหา

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

สิ่งนี้สามารถทำได้ ทั้งในคุณสมบัติ Remote Connection โดยการติ๊กกล่อง Allow me to save credentials หรือระหว่างการเชื่อมต่อ โดยการคลิก checkbox Remember me

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

อย่างไรก็ตาม ผู้ใช้จำนวนมากรายงานว่า แม้จะเลือกให้ Windows จำข้อมูลประจำตัวระยะไกลไว้ พวกเขาก็ยังถูกขอให้พิมพ์ใหม่ทุกครั้งที่เชื่อมต่อไปยังคอมพิวเตอร์ระยะไกล หากคุณเจอปัญหาเช่นนี้ ให้อ่านต่อไปนี้

ในบทช่วยสอนนี้ คุณจะพบหลายวิธีในการแก้ไขปัญหา: Windows ไม่บันทึก Credentials ใน Remote Desktop Connection (Windows ขอ RDP Credentials ทุกครั้ง) ใน Windows 10/11 *

* หมายเหตุ: ผู้ใช้บางรายรายงานว่าหลังจากเปลี่ยนวิธี Login Windows จาก PIN เป็น Password ปัญหาการจัดเก็บ Credentials บน Remote Desktop ได้รับการแก้ไข ดังนั้น หากคุณใช้ PIN เข้าสู่ Windows:

1. ไปที่ Settings > Accounts > Sign-in Options
2. คลิกที่ PIN และเลือก Remove

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

3. หลังจากลบ PIN แล้ว ให้เลือก Password จาก Sign-in Option และคลิก Add เพื่อตั้งรหัสผ่านสำหรับอุปกรณ์
4. ตอนนี้ รีสตาร์ท PC และ Login ด้วย Password ที่กำหนด
5. เชื่อมต่อ Remote Desktop และดูว่าปัญหาแก้ไขแล้วหรือยัง

วิธีแก้ไข: Windows ไม่บันทึก Username และ Password Remote Desktop และขอ Credentials ทุกครั้ง

  1. ลบ RDP Credentials ใน Credential Manager
  2. แก้ไข RDP Credentials ไม่บันทึก ใน Group Policy
  3. แก้ไขค่า "prompt for credentials" ใน RDP Connection
  4. เพิ่ม Generic Credential ใน Credential Manager

วิธีที่ 1: ลบ Remote Desktop Credentials จาก Credential Manager

วิธีแรกในการแก้ไขปัญหานี้ คือการบังคับให้ Windows บันทึก Credentials ใหม่ เพราะบางครั้ง โดยเฉพาะหลังจากเปลี่ยน Password/PIN Windows จะขอให้คุณใส่ Credentials ใหม่บน Remote Desktop หรือแอปอื่นๆ (เช่น Outlook) ซ้ำๆ ตลอดเวลา แม้ Credentials ของคุณจะถูกบันทึกไว้แล้ว

1. เปิด Credential Manager ใน Control Panel หรือพิมพ์ Credential Manager ในกล่องค้นหาและคลิก Open

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

2. ในแท็บ Windows Credentials ให้ค้นหาการเชื่อมต่อ Remote Desktop และคลิก Remove เพื่อลบ RDP Credentials ที่บันทึกไว้ เมื่อเสร็จแล้ว ปิด Credential Manager

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

3. ตอนนี้ Edit คุณสมบัติของ Remote Desktop Connection และติ๊กกล่อง Allow me to save credentials box และคลิก Connect

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

4. ตอนนี้ติ๊กกล่อง Remember me พิมพ์ Username และ Password สำหรับคอมพิวเตอร์ระยะไกล และคลิก Connect

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

5. หลังจากเชื่อมต่อแล้ว ให้ Disconnect จาก Remote Desktop และลองเชื่อมต่ออีกครั้ง และตรวจสอบว่า Windows จำ Credentials ของคุณได้แล้วหรือยัง

วิธีที่ 2: แก้ไข RDP Credentials ไม่บันทึก ใน Group Policy

อีกเหตุผลที่ Windows ไม่บันทึก Credentials บน Remote Desktop คือการตั้งค่า Group Policy ที่ไม่ถูกต้อง ดังนั้น ให้ดำเนินการเปลี่ยนแปลงต่อไปนี้ใน Local Group Policy (Client PC)

1. กด Windows + R พร้อมกันบนคีย์บอร์ดเพื่อเปิดกล่องโต้ตอบ Run

2. พิมพ์ gpedit.msc และกด Enter เพื่อเปิด Group Policy Editor

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

3. ไปที่พาธต่อไปนี้ใน Group Policy Editor:

  • Computer Configuration\Administrative Templates\System\Credentials Delegation

4. ใน फलคด้านขวา ให้ตรวจสอบให้นโยบายต่อไปนี้ตั้งเป็น Not Configured

  • Deny delegating fresh credentials
  • Deny delegating saved credentials

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

5. จากนั้น ดับเบิลคลิก ที่นโยบาย Allow Delegating saved Credentials with NTLM-only Server Authentication

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

6a. ตั้งนโยบายเป็น Enabled และคลิกปุ่ม Show ถัดจาก 'Add servers to the list:'

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

6b. ในหน้าต่าง Show Contents ที่เปิดขึ้น พิมพ์ค่า TERMSRV/* และกด OK

* หมายเหตุ: ค่า "TERMSRV/*" จะอนุญาตให้คุณบันทึก Credentials บนเครื่องระยะไกลใดๆ ที่คุณเชื่อมต่อ

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

6c. เมื่อเสร็จแล้ว คลิก Apply และ OK เพื่อปิด Properties ของนโยบาย

7. ตอนนี้ทำซ้ำขั้นตอนเดียวกัน (6a, 6b & 6c) สำหรับนโยบายต่อไปนี้:

  • Allow Delegating saved Credentials
  • Allow Delegating fresh Credentials with NTLM-only Server Authentication
  • Allow Delegating fresh Credentials

8. ตอนนี้ไปที่พาธต่อไปนี้ใน Policy Editor:

  • Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Connection Client

9. ใน फलคด้านขวา ตั้งนโยบายต่อไปนี้เป็น Not Configured

  • Do not allow passwords to be saved
  • Prompt for credentials on the client computer

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

10. เมื่อเสร็จแล้ว ปิด Group Policy Editor

11. ตอนนี้เปิด Command Prompt as Administrator และรันคำสั่งต่อไปนี้เพื่อนำการเปลี่ยนแปลงไปใช้ (หรือรีสตาร์ท PC):

  • gpupdate /force

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

12. เมื่อ Computer Policy อัปเดตแล้ว ลองเชื่อมต่อ RDP และดูว่า Credentials ถูกบันทึกแล้วหรือยัง *

* หมายเหตุ: หากปัญหายังคงอยู่ ให้ดำเนินการเปลี่ยนแปลงต่อไปนี้ใน Group Policy บน Remote Computer และลองอีกครั้ง

1. เปิด Group Policy บน Remote Computer และไปที่:

  • Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Security

2. ตั้ง Always prompt for password upon connection เป็น Not Configured หรือ Disabled

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

3. Logout และ Login เข้าสู่ Remote Computer อีกครั้ง

วิธีที่ 3: แก้ไขค่า "prompt for credentials" ใน RDP Connection

วิธีต่อไปในการบอกให้ Windows หยุดขอ Username Password ใน Remote Desktop คือการเปลี่ยนค่า "prompt for credentials" ของ Remote Desktop Connection วิธีทำมีดังนี้:

1. คลิกขวา ที่ Remote Desktop Connection และเลือก Open with -> Notepad *

* หมายเหตุ: หากคุณไม่เห็น Notepad ในรายการ ให้คลิก Choose another app และค้นหาในรายการ

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

2. ดำเนินการเปลี่ยน "prompt for credentials value:i:1: " เป็น "prompt for credentials:i:0"

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

3. บันทึก ไฟล์ และลองเชื่อมต่อกับ Remote Desktop และดูว่า RDP Credentials ถูกบันทึกแล้วหรือยัง

วิธีที่ 4: เพิ่ม Generic Credential ใน Credential Manager

1. เปิด Credential Manager ใน Control Panel

2. เลือก Add a generic credential

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

3. ในช่อง Internet or network address ให้พิมพ์ TERMSRV/ แล้วตามด้วยชื่อหรือ IP Address ของเครื่องระยะไกล จากนั้นพิมพ์ Username และ Password สำหรับการเชื่อมต่อ RDP และคลิก OK

* หมายเหตุ: Internet or network address ต้องขึ้นต้นด้วย TERMSRV/ ตามด้วย PC Name หรือ IP Address เช่น "TERMSRV/10.199.212.49"

แก้ไข Windows ไม่บันทึก Remote Desktop Credentials - วิธีแก้ไขด่วน

4. ปิด Credential Manager และเชื่อมต่อ RDP

เสร็จแล้ว! วิธีไหนใช้ได้กับคุณ?
แจ้งให้เราทราบว่าคู่มือนี้ช่วยคุณได้หรือไม่ โดยการทิ้งความคิดเห็นเกี่ยวกับประสบการณ์ของคุณ โปรดกดไลก์และแชร์คู่มือนี้เพื่อช่วยผู้อื่น