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

คุณไม่มีสิทธิ์เพียงพอที่จะ Uninstall โปรแกรมใน Windows 11/10

เมื่อ User Account Control (UAC) จำกัดการเข้าถึงไฟล์และโปรแกรมที่ติดตั้งไว้ คุณไม่สามารถ Uninstall พวกมันจาก Windows และเห็นข้อความข้อผิดพลาดต่อไปนี้ – You do not have sufficient access to uninstall a program ทำตามขั้นตอนด้านล่างเพื่อแก้ไขข้อผิดพลาดนี้

คุณไม่มีสิทธิ์เพียงพอที่จะ Uninstall โปรแกรมใน Windows 11/10

You do not have sufficient access to uninstall a program

ข้อความข้อผิดพลาดยังแจ้งให้คุณติดต่อ System Administrator แม้สิทธิ์ Admin ทั้งหมดจะอยู่กับคุณ เพื่อแก้ไขปัญหา ลองขั้นตอนเหล่านี้

เป็นวิธี Troubleshooting แรก คุณสามารถเปิดใช้งาน Built-in Administrator Account และใช้มันในการดำเนินการ

หากไม่ได้ผล คุณจะต้องแก้ไข Registry Keys

  1. เปิด Registry Editor
  2. ไปที่ Installer key
  3. สร้าง DWORD value ใหม่: DisableMSI
  4. ใส่ค่า REG_DWORD เป็น 0
  5. ปิด Registry Editor และออก
  6. Restart PC ของคุณ

แนะนำให้สร้าง Backup ของ Registry ก่อนดำเนินการต่อ

ใช้ Registry Editor

เปิดกล่อง Run dialog โดยกด Win+R พร้อมกัน

พิมพ์ Regedit ในช่องว่างของกล่องและกด Enter

คุณไม่มีสิทธิ์เพียงพอที่จะ Uninstall โปรแกรมใน Windows 11/10

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

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

ไปที่ Right-pane และสร้าง DWORD value ใหม่ ตั้งชื่อว่า DisableMSI

ตอนนี้ ดับเบิลคลิกที่ Entry ข้างต้นเพื่อแก้ไข STRING value

คุณไม่มีสิทธิ์เพียงพอที่จะ Uninstall โปรแกรมใน Windows 11/10

เมื่อกล่อง Edit String ปรากฏ ให้เก็บค่าเป็น 0 ในฟิลด์ Value Data

ค่าคือ:

  • 0 – Always
  • 1 – For non-managed applications only
  • 2 – Never

กดปุ่ม OK เมื่อเสร็จ

อ่าน: Cannot install or uninstall programs?

ตอนนี้ ปิด Registry Editor และออก

Restart PC ของคุณเพื่อให้การเปลี่ยนแปลงมีผล

ใช้ Group Policy Editor

ทางเลือก คุณสามารถกำหนดค่า Group Policy Object ต่อไปนี้:

Computer Configuration > Administrative Templates > Windows Components > Windows Installer > Turn off Windows Installer

This policy setting restricts the use of Windows Installer.

If you enable this policy setting, you can prevent users from installing software on their systems or permit users to install only those programs offered by a system administrator. You can use the options in the Disable Windows Installer box to establish an installation setting.

— The “Never” option indicates Windows Installer is fully enabled. Users can install and upgrade software. This is the default behavior for Windows Installer on Windows 2000 Professional, Windows XP Professional and Windows Vista when the policy is not configured.

— The “For non-managed applications only” option permits users to install only those programs that a system administrator assigns (offers on the desktop) or publishes (adds them to Add or Remove Programs). This is the default behavior of Windows Installer on Windows Server 2003 family when the policy is not configured.

— The “Always” option indicates that Windows Installer is disabled.

This policy setting affects Windows Installer only. It does not prevent users from using other methods to install and upgrade programs.

ตั้งค่าตามต้องการ คลิก Apply และออก

อ่าน: How to uninstall Programs not listed in Control Panel.

ตอนนี้ ลอง Uninstall แอปหรือโปรแกรมจาก Windows 10 คุณไม่ควรเห็นข้อความข้อผิดพลาด ‘You do not have sufficient access to uninstall a program’ ใน Windows 10 อีกแล้ว

หากไม่ช่วย คุณอาจใช้วิธีอื่นในการ Uninstall โปรแกรม

หากด้วยเหตุผลบางอย่างคุณยัง Uninstall โปรแกรมใน Windows 10 ไม่ได้ ลิงก์ต่อไปนี้อาจช่วย:

  1. How to uninstall programs using Registry
  2. How to uninstall programs in Safe Mode
  3. Uninstall programs using Registry
  4. Free Uninstallers for Windows.

คุณไม่มีสิทธิ์เพียงพอที่จะ Uninstall โปรแกรมใน Windows 11/10