Computer >> Hướng Dẫn Máy Tính >  >> Xử Lý Sự Cố >> Lỗi Windows

Khắc phục lỗi 'Windows Installer Service Could Not Be Accessed' – Hướng dẫn chi tiết

Sửa lỗi The Windows Installer service could not be accessed: Khi cài chương trình dùng file MSI hoặc cài Microsoft Office, bạn có thể gặp lỗi “The Windows Installer service could not be accessed”. Lỗi xảy ra khi cài/gỡ chương trình dùng Windows Installer service: service không chạy hoặc cài đặt Registry bị hỏng.

The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.

Chỉ liệt kê một số nguyên nhân phổ biến, thực tế tùy cấu hình máy. Hãy cùng khắc phục.

“The Windows Installer service could not be accessed” [ĐÃ KHẮC PHỤC]

Tạo restore point trước.

Phương pháp 1: Khởi động lại Windows Installer Service

  1. Windows + R → services.msc Enter.
  2. Tìm Windows Installer service → chuột phải → Properties.
  3. Nếu chưa chạy, nhấn Start.
  4. Nếu đang chạy, chuột phải → Restart.
  5. Thử cài lại chương trình bị lỗi.

Phương pháp 2: Sửa đổi Remote Procedure Call (RPC) Service

  1. Windows + R → services.msc.
  2. Tìm Remote Procedure Call (RPC) → double-click.
  3. Tab Log On → tích Local System account và Allow service to interact with desktop.
  4. Reboot và kiểm tra.
  5. Nếu chưa được, mở lại RPC Properties → tab Log On → tích This account → Browse → gõ Network Service → OK (mật khẩu tự điền).
  6. Nếu không tìm thấy Network Service, dùng: NT Authority\NetworkService.
  7. Restart máy và kiểm tra.

Phương pháp 3: Đăng ký lại Windows Installer (Re-register)

  1. Windows + X → Command Prompt (Admin).
  2. Gõ lần lượt (Enter sau mỗi dòng):
    %windir%\system32\msiexec.exe /unregister
    %windir%\system32\msiexec.exe /regserver
    %windir%\syswow64\msiexec.exe /unregister
    %windir%\syswow64\msiexec.exe /regserver
  3. Reboot.
  4. Nếu chưa xong: Windows + R → %windir%\system32 Enter.
  5. Tìm file Msiexec.exe, ghi nhớ đường dẫn chính xác (ví dụ: C:\WINDOWS\system32\Msiexec.exe).
  6. Mở Registry (regedit).
  7. Đến khóa: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer
  8. Chọn MSIServer, bên phải double-click ImagePath.
  9. Nhập đường dẫn Msiexec.exe vừa ghi + “/V” → ví dụ: C:\WINDOWS\system32\Msiexec.exe /V.
  10. Boot vào Safe Mode (theo hướng dẫn).
  11. Trong Safe Mode: Windows + X → Command Prompt (Admin).
  12. Gõ:
    msiexec /regserver
    %windir%\Syswow64\Msiexec /regserver
  13. Đóng tất cả, boot bình thường.

Phương pháp 4: Reset Windows Installer Service qua file .reg

  1. Mở Notepad, copy toàn bộ nội dung sau:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver]
    "DisplayName"="@%SystemRoot%\\system32\\msimsg.dll,-27"
    "ImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
      74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,\
      00,73,00,69,00,65,00,78,00,65,00,63,00,20,00,2f,00,56,00,00,00
    "Description"="@%SystemRoot%\\system32\\msimsg.dll,-32"
    "ObjectName"="LocalSystem"
    "ErrorControl"=dword:00000001
    "Start"=dword:00000003
    "Type"=dword:00000010
    "DependOnService"=hex(7):72,00,70,00,63,00,73,00,73,00,00,00,00,00
    "ServiceSidType"=dword:00000001
    "RequiredPrivileges"=hex(7):53,00,65,00,54,00,63,00,62,00,50,00,72,00,69,00,76,\
      00,69,00,6c,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,\
      50,00,61,00,67,00,65,00,66,00,69,00,6c,00,65,00,50,00,72,00,69,00,76,00,\
      69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,00,6f,00,63,00,6b,00,\
      4d,00,65,00,6d,00,6f,00,72,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,\
      65,00,67,00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,\
      73,00,65,00,42,00,61,00,73,00,65,00,50,00,72,00,69,00,6f,00,72,00,69,00,\
      74,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,\
      53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,50,00,65,00,72,00,6d,00,\
      65,00,6e,00,74,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,\
      00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,00,76,00,\
      69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,65,00,63,00,75,00,\
      72,00,69,00,74,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,00,00,\
      53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,\
      66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,\
      53,00,65,00,50,00,72,00,6f,00,66,00,69,00,6c,00,65,00,53,00,69,00,6e,00,\
      67,00,6c,00,65,00,50,00,72,00,6f,00,63,00,65,00,73,00,73,00,50,00,72,00,\
      69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,\
      70,00,65,00,72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,\
      76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,\
      61,00,74,00,65,00,47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,\
      76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,\
      69,00,67,00,6e,00,50,00,72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,\
      6b,00,65,00,6e,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,\
      00,00,53,00,65,00,52,00,65,00,73,00,74,00,6f,00,72,00,65,00,50,00,72,00,\
      69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6e,00,\
      63,00,72,00,65,00,61,00,73,00,65,00,51,00,75,00,6f,00,74,00,61,00,50,00,\
      72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,\
      68,00,75,00,74,00,64,00,6f,00,77,00,6e,00,50,00,72,00,69,00,76,00,69,00,\
      65,00,67,00,65,00,00,00,53,00,65,00,54,00,61,00,6b,00,65,00,4f,00,77,00,\
      6e,00,65,00,72,00,73,00,68,00,69,00,70,00,70,00,69,00,6c,00,65,00,67,00,\
      65,00,00,00,53,00,65,00,4c,00,6f,00,61,00,64,00,64,00,72,00,69,00,76,00,\
      65,00,72,00,50,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
    "FailureActions"=hex:84,03,00,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
      00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver\Enum]
    "0"="Root\\LEGACY_MSISERVER\\0000"
    "Count"=dword:00000001
    "NextInstance"=dword:00000001
  2. File → Save As.
  3. Save as type: All Files.
  4. Tên file: MSIrepair.reg (phải có đuôi .reg).
  5. Lưu ra Desktop.
  6. Chuột phải file MSIrepair.reg → Run as Administrator.
  7. Reboot và kiểm tra.

Phương pháp 5: Cài lại Windows Installer (chỉ áp dụng Windows cũ)

  1. Windows + X → Command Prompt (Admin).
  2. Gõ lần lượt:
    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. Reboot, tải Windows Installer 4.5 Redistributable từ Microsoft.
  4. Cài gói redistributable, reboot.

Bài viết khuyến nghị:

  • Sửa lỗi Keyboard Typing Numbers Instead of Letters
  • Sửa lỗi USB Error Code 52 Windows cannot verify the digital signature
  • Khắc phục lỗi Your Computer has a Memory problem
  • Sửa lỗi Windows Update Error 0x80080005

Chúc bạn thành công khắc phục lỗi The Windows Installer service could not be accessed. Thắc mắc hãy comment.