"The Windows Installer service could not be accessed" [SOLVED]
ข้อผิดพลาดนี้เกิดเมื่อติดตั้งโปรแกรมที่ใช้ไฟล์ MSI หรือ Microsoft Office เนื่องจาก Windows Installer service ไม่ทำงาน หรือการตั้งค่า Registry เสียหาย เรามาแก้ไขกัน
เตรียมความพร้อม
สร้าง Restore Point ก่อน
วิธีที่ 1: รีสตาร์ท Windows Installer Service
- Windows Key + R
services.mscEnter - หา Windows Installer service > คลิกขวา > Properties
- หยุดไม่ได้ ให้คลิก Start
- ทำงานอยู่แล้ว ให้คลิกขวา > Restart
- ลองติดตั้งโปรแกรมใหม่
วิธีที่ 2: แก้ไข Remote Procedure Call (RPC) Service
- Windows Key + R
services.mscEnter - หา Remote Procedure Call (RPC) > ดับเบิลคลิก
- แท็บ Log On > ติ๊ก Local System account และ Allow service to interact with desktop
- รีบูท และทดสอบ
- หายังไม่ได้ ให้เปิด RPC Properties อีกครั้ง แท็บ Log On > ติ๊ก This account > Browse > พิมพ์ Network Service > OK (Password จะเติมอัตโนมัติ)
- หาหา Network Service ไม่เจอ ใช้ NT Authority\NetworkService
- รีสตาร์ท และทดสอบ
วิธีที่ 3: Re-register Windows Installer
- Windows Key + X > Command Prompt (Admin)
- รันคำสั่งทีละบรรทัด:
%windir%\system32\msiexec.exe /unregister %windir%\system32\msiexec.exe /regserver %windir%\syswow64\msiexec.exe /unregister %windir%\syswow64\msiexec.exe /regserver
- รีบูท
- หายังไม่ได้ ให้ Windows Key + R
%windir%\system32Enter - หา Msiexec.exe บันทึกที่อยู่เต็ม (เช่น
C:\WINDOWS\system32\Msiexec.exe) - Windows Key + R
regeditEnter - ไปที่:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer - เลือก MSIServer > ดับเบิลคลิก ImagePath ด้านขวา
- Value data = ที่อยู่ Msiexec.exe +
/V(เช่นC:\WINDOWS\system32\Msiexec.exe /V) - บูตเข้า Safe Mode
- Windows Key + X > Command Prompt (Admin)
- รัน:
msiexec /regserver %windir%\Syswow64\Msiexec /regserver
- ปิดทุกอย่าง บูตปกติ
วิธีที่ 4: รีเซ็ต Windows Installer Service ผ่าน Registry File
- เปิด Notepad คัดลอกโค้ด Registry (ดูรายละเอียดในบทความต้นฉบับ) วางไว้
- File > Save As > Save as type: All Files
- ชื่อไฟล์: MSIrepair.reg (ต้องมี .reg) > Save ที่ Desktop
- คลิกขวา MSIrepair.reg > Run as Administrator
- รีบูท และทดสอบ
วิธีที่ 5: Reinstall Windows Installer (สำหรับ Windows รุ่นเก่าเท่านั้น)
- Windows Key + X > Command Prompt (Admin)
- รัน:
cd %windir%\system32 attrib -r -s -h dllcache ren msi.dll msi.old ren msiexec.exe msiexec.old ren msihnd.dll msihnd.old exit
- รีบูท ดาวน์โหลด Windows Installer 4.5 Redistributable จาก Microsoft
- ติดตั้ง และ รีบูท
บทความแนะนำเพิ่มเติม
- Fix Keyboard Typing Numbers Instead of Letters
- Fix USB Error Code 52 Windows cannot verify the digital signature
- How To Fix Your Computer has a Memory problem
- Fix Windows Update Error 0x80080005
ขอให้สำเร็จในการแก้ไข The Windows Installer service could not be accessed error หากมีคำถาม ถามได้ในความคิดเห็นครับ