Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

แก้ไขข้อผิดพลาด "The Windows Installer service could not be accessed"

"The Windows Installer service could not be accessed" [SOLVED]

ข้อผิดพลาดนี้เกิดเมื่อติดตั้งโปรแกรมที่ใช้ไฟล์ MSI หรือ Microsoft Office เนื่องจาก Windows Installer service ไม่ทำงาน หรือการตั้งค่า Registry เสียหาย เรามาแก้ไขกัน

เตรียมความพร้อม

สร้าง Restore Point ก่อน

วิธีที่ 1: รีสตาร์ท Windows Installer Service

  1. Windows Key + R services.msc Enter
  2. หา Windows Installer service > คลิกขวา > Properties
  3. หยุดไม่ได้ ให้คลิก Start
  4. ทำงานอยู่แล้ว ให้คลิกขวา > Restart
  5. ลองติดตั้งโปรแกรมใหม่

วิธีที่ 2: แก้ไข Remote Procedure Call (RPC) Service

  1. Windows Key + R services.msc Enter
  2. หา Remote Procedure Call (RPC) > ดับเบิลคลิก
  3. แท็บ Log On > ติ๊ก Local System account และ Allow service to interact with desktop
  4. รีบูท และทดสอบ
  5. หายังไม่ได้ ให้เปิด RPC Properties อีกครั้ง แท็บ Log On > ติ๊ก This account > Browse > พิมพ์ Network Service > OK (Password จะเติมอัตโนมัติ)
  6. หาหา Network Service ไม่เจอ ใช้ NT Authority\NetworkService
  7. รีสตาร์ท และทดสอบ

วิธีที่ 3: Re-register Windows Installer

  1. Windows Key + X > Command Prompt (Admin)
  2. รันคำสั่งทีละบรรทัด:
    %windir%\system32\msiexec.exe /unregister
    %windir%\system32\msiexec.exe /regserver
    %windir%\syswow64\msiexec.exe /unregister
    %windir%\syswow64\msiexec.exe /regserver
  3. รีบูท
  4. หายังไม่ได้ ให้ Windows Key + R %windir%\system32 Enter
  5. หา Msiexec.exe บันทึกที่อยู่เต็ม (เช่น C:\WINDOWS\system32\Msiexec.exe)
  6. Windows Key + R regedit Enter
  7. ไปที่: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer
  8. เลือก MSIServer > ดับเบิลคลิก ImagePath ด้านขวา
  9. Value data = ที่อยู่ Msiexec.exe + /V (เช่น C:\WINDOWS\system32\Msiexec.exe /V)
  10. บูตเข้า Safe Mode
  11. Windows Key + X > Command Prompt (Admin)
  12. รัน:
    msiexec /regserver
    %windir%\Syswow64\Msiexec /regserver
  13. ปิดทุกอย่าง บูตปกติ

วิธีที่ 4: รีเซ็ต Windows Installer Service ผ่าน Registry File

  1. เปิด Notepad คัดลอกโค้ด Registry (ดูรายละเอียดในบทความต้นฉบับ) วางไว้
  2. File > Save As > Save as type: All Files
  3. ชื่อไฟล์: MSIrepair.reg (ต้องมี .reg) > Save ที่ Desktop
  4. คลิกขวา MSIrepair.reg > Run as Administrator
  5. รีบูท และทดสอบ

วิธีที่ 5: Reinstall Windows Installer (สำหรับ Windows รุ่นเก่าเท่านั้น)

  1. Windows Key + X > Command Prompt (Admin)
  2. รัน:
    cd %windir%\system32
    attrib -r -s -h dllcache
    ren msi.dll msi.old
    ren msiexec.exe msiexec.old
    ren msihnd.dll msihnd.old
    exit
  3. รีบูท ดาวน์โหลด Windows Installer 4.5 Redistributable จาก Microsoft
  4. ติดตั้ง และ รีบูท

บทความแนะนำเพิ่มเติม

  • 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 หากมีคำถาม ถามได้ในความคิดเห็นครับ