หากตอนติดตั้งซอฟต์แวร์ รวมถึงไดรเวอร์ บน Windows 10/11 พบ Error 1625, This installation is forbidden by system policy คุณอยู่ที่ถูกต้อง บทความนี้ให้วิธีแก้ไขที่เหมาะสมที่สุด

ข้อความเต็มคือ:
This installation is forbidden by system policy. Contact your administrator.
ข้อผิดพลาดนี้มักเกิดเมื่อ Windows Group Policy หรือ User Account Control (UAC) บล็อกการเข้าถึงของผู้ดูระบบในการติดตั้ง
How do I fix a Setup error?
โดยทั่วไป ต้องแน่ใจว่ามีสิทธิ์ที่เหมาะสม ไฟล์ Installer/Setup/ISO ไม่เสียหาย มีพื้นที่ดิสก์เพียงพอ ฯลฯ
Error 1625, This installation is forbidden by system policy
ลองวิธีแก้ไขด้านล่างไม่จำเป็นต้องเรียงลำดับ:
- ปิด User Account Control (UAC)
- แก้ไข Group Policy สำหรับ Windows Installer
- แก้ไข Local Security Policy Settings
- เปิดใช้งาน Windows Installer Service
- แก้ไข Registry
มาดูรายละเอียดแต่ละวิธี
ก่อนลองวิธีเหล่านี้ ให้รัน installer ด้วยสิทธิ์ admin ดูก่อน และลองปิด firewall ดู หากคอมพิวเตอร์เป็นของบริษัท อาจไม่ต้องลองวิธีเหล่านี้ ติดต่อ IT admin โดยตรง
1] ปิด User Account Control (UAC)
เนื่องจาก Error 1625 อาจมาจาก UAC ให้ลองปิด UAC ชั่วคราวดู หาไม่ได้ ลองวิธีถัดไป
2] แก้ไข Group Policy สำหรับ Windows Installer

ทำตามนี้:
- กด Windows key + R
- พิมพ์ gpedit.msc กด Enter เปิด Local Group Policy Editor
- ใน Editor ใช้ panel ซ้ายไปที่ path:
Computer Configuration > Administrative Templates > Windows Components > Windows Installer
- ด้านขวา คลิกสองครั้ง Turn off Windows Installer เพื่อแก้ไขคุณสมบัติ
- ตั้งค่า radio button เป็น Not Configured
- คลิก Apply > OK
- ต่อไป คลิกสองครั้ง Prohibit non-administrators from applying vendor signed updates

- ตั้งค่า radio button เป็น Disabled
- คลิก Apply > OK
- ปิด Group Policy Editor
ลองติดตั้งซอฟต์แวร์อีกครั้ง หายังไม่ได้ ลองวิธีถัดไป
3] แก้ไข Local Security Policy Settings

ทำตามนี้:
- กด Windows key + R
- พิมพ์ secpol.msc เปิด Local Security Policy Editor
- ใน panel ซ้าย เลือก Software Restriction Policies ใต้ Security Settings จะเห็น No Software Restriction Policies Defined ด้านขวา
- คลิกเมนู Action เลือก New Software Restriction Policies
- คลิกสองครั้ง Enforcement ด้านขวาเพื่อแก้ไข
- เลือก radio button All users except local administrators ใต้ Apply software restriction policies to the following users
- คลิก Apply > OK
- ปิด Local Security Policy Editor
ดูว่าติดตั้งได้หรือไม่ หาไม่ได้ ลองต่อ
4] เปิดใช้งาน Windows Installer Service
หาไม่ได้ติดตั้งซอฟต์แวร์ใดๆ อาจเป็นเพราะ MSI service ไม่ได้เปิด ให้แน่ใจว่า Windows Installer Service เปิดอยู่ หายังไม่ได้ ลองต่อ
5] แก้ไข Registry

เนื่องจากเป็นการดำเนินการ Registry แนะนำให้ backup registry หรือสร้าง system restore point ก่อน แล้วทำต่อ:
- กด Windows key + R
- พิมพ์ regedit กด Enter เปิด Registry Editor
- ไปที่ registry key path:
HKLM\Software\Policies\Microsoft\Windows\Installer
- ที่นั่น ด้านขวา คลิกสองครั้ง DisableMSI เพื่อแก้ไข
หากไม่มี key ให้คลิกขวาที่ว่าง ด้านขวา เลือก New > DWORD (32-bit) Value สร้าง key ชื่อ DisableMSI กด Enter
- คลิกสองครั้ง entry ใหม่ เพื่อแก้ไข
- ใส่ 0 ใน Value data
- คลิก OK หรือกด Enter บันทึก
- ปิด Registry Editor
- รีสตาร์ทคอมพิวเตอร์
ปัญหาควรแก้ไขได้แล้ว
หวังว่าจะช่วยได้!
How do I repair Windows Installer package?
ซ่อม Windows installer package บางครั้งทำได้โดย restart Windows PC ทำได้หลายปัญหา รวมถึง error "problem with this Windows Installer package" หรือ Windows Installer ทำงานไม่ได้
Related post: The installation of this device is forbidden by system policy
