แก้ไขข้อผิดพลาด A Required Privilege Is Not Held By The Client: ข้อผิดพลาด 0x80070522 หมายความว่าคุณพยายามคัดลอกหรือสร้างไฟล์ในไดเรกทอรีที่คุณไม่มีสิทธิ์หรือสิทธิประโยชน์ที่จำเป็น ปกติจะเกิดเมื่อพยายามคัดลอก วาง หรือแก้ไขไฟล์ในโฟลเดอร์ของ Windows (Windows, Program Files, System32) ซึ่ง Microsoft จำกัดการเข้าถึงเฉพาะ System เท่านั้น
Error 0x80070522: A required privilege is not held by the client.
ปัญหาหลักคือผู้ใช้ได้รับข้อผิดพลาดนี้เมื่อพยายามทำอะไรกับไดรฟ์ราก (C:) เช่น คัดลอก วาง ลบ หรือแก้ไข เรามาดูวิธีแก้ไขกัน
6 วิธีแก้ไขข้อผิดพลาด A Required Privilege Is Not Held By The Client
ข้อควรระวัง: สร้างจุดกู้คืนระบบ (Restore Point) ก่อนเริ่มต้น
วิธีที่ 1: รันโปรแกรมในฐานะ Administrator
ต้องมีสิทธิ์ Administrator เพื่อแก้ไขหรือบันทึกไฟล์ในรากของ C: คลิกขวาโปรแกรมเลือก Run as Administrator แล้วบันทึกไฟล์ในราก C: จะไม่มีข้อผิดพลาด
วิธีที่ 2: ใช้ Command Prompt คัดลอกไฟล์
- กด Windows Key + X เลือก Command Prompt (Admin)
- พิมพ์คำสั่งต่อไปนี้ใน cmd กด Enter:
copy E:\troubleshooter.txt C:\
- หมายเหตุ: แทนที่
E:\troubleshooter.txtด้วยที่อยู่ไฟล์ต้นทาง และC:\ด้วยปลายทาง - หลังรันคำสั่ง ไฟล์จะถูกคัดลอกไปที่ C:\ โดยไม่มีข้อผิดพลาด
วิธีที่ 3: ปิด Admin Approval Mode
หมายเหตุ: ไม่ทำงานกับ Windows Home Edition ให้ข้ามไปวิธีถัดไป
- กด Windows Key + R พิมพ์
secpol.mscกด Enter - ไปที่ Security Settings > Local Policies > Security Options
- หา "User Account Control: Run all administrators in Admin Approval Mode"
- ดับเบิลคลิก เลือก Disable
- คลิก Apply > OK ปิดหน้าต่าง รีสตาร์ทคอมพิวเตอร์
วิธีที่ 4: ปิด UAC ผ่าน Registry Editor
- กด Windows Key + R พิมพ์
regeditกด Enter - ไปที่ Registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\system
- หา EnableLUA DWORD ดับเบิลคลิก
- เปลี่ยนค่าเป็น 0 คลิก OK
- รีสตาร์ทคอมพิวเตอร์
- คัดลอก/แก้ไขไฟล์ที่เคยผิดพลาด แล้วเปิด UAC กลับคืนโดยตั้งค่า EnableLUA เป็น 1
วิธีที่ 5: เปลี่ยน Sharing Permission
- คลิกขวา Windows installation drive (C:/) เลือก Properties
- ไปแท็บ Sharing คลิก Advanced Sharing
- ติ๊ก "Share this folder" คลิก Permissions
- เลือก Everyone ติ๊ก Full Control
- Apply > OK ปิดหน้าต่างทั้งหมด
- รีสตาร์ท Windows Explorer ผ่าน Task Manager
วิธีที่ 6: Take Ownership ของ Root Drive
หมายเหตุ: อาจทำให้ Windows เสียหาย สร้าง Restore Point ก่อน
- เปิด File Explorer คลิกขวา C: drive เลือก Properties
- ไปแท็บ Security คลิก Advanced
- คลิก Change Permissions
- เลือก Administrators account คลิก Edit
- ติ๊ก Full Control คลิก OK
- กลับหน้าจอ Owner เลือก Administrators ติ๊ก "Replace all existing inheritable permissions on all descendants with inheritable permissions from this object"
- คลิก OK > Apply > OK
- รีสตาร์ทคอมพิวเตอร์
บทความแนะนำ:
- แก้ไข Display driver stopped responding and has recovered error
- แก้ไข The task image is corrupt or has been tampered with
- วิธีแก้ไข Video Scheduler Internal Error
- แก้ไขแอปสีเทาใน Windows 10
เสร็จสิ้น! คุณแก้ไข ข้อผิดพลาด A Required Privilege Is Not Held By The Client เรียบร้อยแล้ว หากยังมีคำถาม สามารถถามได้ในส่วนความคิดเห็น