修復 Windows Installer 訪問被拒絕錯誤

Fix Windows Installer Access Denied Error: If you are facing the error message “Access Denied” while trying to install a new program on Windows 10 or if you’re facing Msiexec.exe Access is Denied Error then you are at the right place as today we are going to fix this issue. The main cause of the error seems to corrupted or damaged Windows Installer files.

修復 Windows Installer 訪問被拒絕錯誤

When you try to install or uninstall programs from Windows 10, you may get any one of the following warning messages:

The Windows Installer Service could not be accessed
Windows Installer Service couldn’t be started
Could not start the Windows Installer service on Local Computer. Error 5: Access is denied.

修復 Windows Installer 訪問被拒絕錯誤

為了解決此問題的根本原因,我們需要重新註冊 Windows Installer 文件,有時只需重新啟動 Windows Installer 服務似乎就可以解決問題。因此,不要浪費任何時間,讓我們看看如何在下面列出的指南的幫助下實際修復 Windows Installer 訪問被拒絕錯誤。

內容

修復 Windows Installer 訪問被拒絕錯誤

確保 創建一個還原點,以防萬一出現問題。

方法 1:重新啟動 Windows Installer 服務

1.按 Windows 鍵 + R,然後鍵入services.msc並按 Enter。

修復 Windows Installer 訪問被拒絕錯誤

2. 找到Windows Installer 服務,然後右鍵單擊它並選擇屬性。

修復 Windows Installer 訪問被拒絕錯誤

3.Click on Start if the service is not already running.

修復 Windows Installer 訪問被拒絕錯誤

4.If the service is already running then right-click and select Restart.

5.Again try to install the program which was giving access denied error.

Method 2: Re-register Windows Installer

1.Press Windows Key + X then select Command Prompt (Admin).

修復 Windows Installer 訪問被拒絕錯誤

2.Type the following command into cmd and hit Enter:

msiexec /unreg

msiexec /regserver

修復 Windows Installer 訪問被拒絕錯誤

3.Reboot your PC to save changes.

4.If the issue is not resolved then press Windows key + R then type the following and hit Enter:

%windir%\system32

修復 Windows Installer 訪問被拒絕錯誤

5.Locate the Msiexec.exe file then note down the exact address of the file which would be something like this:

C:\WINDOWS\system32\Msiexec.exe

修復 Windows Installer 訪問被拒絕錯誤

6.按Windows鍵+ R然後鍵入regedit並按Enter鍵打開註冊表編輯器。

修復 Windows Installer 訪問被拒絕錯誤

7.導航到以下註冊表​​項:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer

8. 選擇MSIServer,然後在右窗格中雙擊ImagePath。

修復 Windows Installer 訪問被拒絕錯誤

9.現在在值數據字段中輸入您在上面提到的 Msiexec.exe 文件的位置,後跟“/V”,整個內容將如下所示:

C:\WINDOWS\system32\Msiexec.exe /V

修復 Windows Installer 訪問被拒絕錯誤

10.使用此處列出的任何方法將您的 PC 引導至安全模式

11.按 Windows 鍵 + X 然後選擇命令提示符(管理員)。

修復 Windows Installer 訪問被拒絕錯誤

12.鍵入以下命令並按回車鍵:

msiexec /regserver

%windir%\Syswow64\Msiexec /regserver

修復 Windows Installer 訪問被拒絕錯誤

13.關閉一切並正常啟動您的PC。查看您是否能夠 修復 Windows Installer Access Denied Error,如果不能,則繼續下一個方法。

方法 3:重置 Windows Installer 服務

1.打開記事本,然後按原樣複製並粘貼以下內容:

Windows 註冊表編輯器 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 "說明"="@%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,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,\74,00,65,00 ,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,61,00,6e,\ 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,67,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 ,6c,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,\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,61,00,64,00,44, 00,72,00,69,00,76,00,65,00,72,00,50,00,72,00,69,00,\ 76,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.現在從記事本菜單中單擊文件,然後單擊另存為。

修復 Windows Installer 訪問被拒絕錯誤

3.從另存為類型下拉列表中選擇所有文件。

4.將文件命名MSIrepair.reg(reg擴展名非常重要)。

修復 Windows Installer 訪問被拒絕錯誤

5.導航到桌面或您要保存文件的位置,然後單擊保存。

6.現在右鍵單擊 MSI repair.reg 文件並選擇以管理員身份運行。

7.重新啟動您的 PC 以保存更改並查看您是否能夠 修復 Windows Installer Access Denied Error。

方法 4:重新安裝 Windows 安裝程序

注意:僅適用於較早版本的 Windows

1.按Windows鍵+ X然後選擇命令提示符(管理員)。

修復 Windows Installer 訪問被拒絕錯誤

2.在cmd中輸入以下命令並在每個命令後按Enter:

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. 重新啟動您的 PC,然後從Microsoft 網站下載 Windows Installer 4.5 Redistributable

4. 安裝 Redistributable 軟件包,然後重新啟動您的 PC。

受到推崇的:

就是這樣,您已成功修復 Windows Installer 訪問被拒絕錯誤,但如果您對本指南仍有任何疑問,請隨時在評論部分詢問他們。

Sign up and earn $1000 a day ⋙

如何在《要塞英雄》中運用原力

如何在《要塞英雄》中運用原力

《要塞英雄》和《星際大戰》的合作為玩家帶來了特種部隊的力量和《星際大戰》的任務。原力的力量出現在第 4 章中,

如何關閉 Twitch 中的聊天過濾器

如何關閉 Twitch 中的聊天過濾器

Twitch 平台可以選擇保護您免於在聊天中看到有害、冒犯性和辱罵性語言。對於年輕用戶,建議

如何查看誰查看了您的 Google 文檔

如何查看誰查看了您的 Google 文檔

https://www.youtube.com/watch?v=Pt48wfYtkHE Google 文件是一個出色的協作工具,因為它允許多人編輯和處理單個文檔

如何在 Illustrator 中剪出形狀

如何在 Illustrator 中剪出形狀

您可以使用多種方法在 Adob​​e Illustrator 中剪切形狀。這是因為許多物件不是以相同的方式創建的。很遺憾,

為什麼我的號碼在 Telegram 中被禁止?

為什麼我的號碼在 Telegram 中被禁止?

您是否曾在 Telegram 中收到過「此電話號碼已被禁止」的通知?如果是這樣,您可能想知道這意味著什麼。 Telegram 有限制

如何判斷是否有人在 Snapchat 上封鎖了您

如何判斷是否有人在 Snapchat 上封鎖了您

Snapchat 是一個流行的社交平台,允許用戶公開發布影片剪輯,並在有人沒有回應時直接向其他用戶發送訊息

Telegram:修正「您只能向共同聯絡人發送訊息」錯誤

Telegram:修正「您只能向共同聯絡人發送訊息」錯誤

抱歉,目前您只能向共同聯絡人發送訊息,而在與新聯絡人聯繫時,Telegram 中的錯誤可能會令人煩惱。

如何在 Google 投影片中使用垂直版面

如何在 Google 投影片中使用垂直版面

如果您想為手機建立演示文稿,則需要在 Google 幻燈片中將佈局變更為垂直。 Google 投影片適用於

如何在黑曜石中建立鏈接

如何在黑曜石中建立鏈接

Obsidian 提供了一個用於資源、筆記和想法之間連結建立和管理的平台。在 Obsidian 中建立連結可協助您解鎖新級別

如何使用幾種不同的工具輕鬆合併兩個面

如何使用幾種不同的工具輕鬆合併兩個面

將照片中兩張完全不同的臉合併起來總是一種很好的樂趣。混合兩個單獨的圖像以創建全新的外觀

如何加入 Discord 頻道

如何加入 Discord 頻道

https://www.youtube.com/watch?v=ptR9NfE8FVw Discord 頻道讓 Discord 應用程式變得有趣。無論是一個充滿迷因的文字頻道

如何找到 Facebook 草稿

如何找到 Facebook 草稿

更新日期:2023 年 10 月 19 日 有時,生活會阻礙我們實現社群媒體目標。你可能經歷過在手機上打字的時刻,

如何停用 WhatsApp 中的通話功能

如何停用 WhatsApp 中的通話功能

雖然可以停用 WhatsApp 上的通話,但除非您進行一些修改,否則在應用程式中很難找到此選項。很多用戶選擇

如何在 Roblox 中停用 UI 導航

如何在 Roblox 中停用 UI 導航

Roblox 用戶遇到的最大問題是陷入遊戲困境。這是因為您可能在使用時意外開啟了 UI 導航

如何在不發布故事的情況下在 Instagram 上添加亮點

如何在不發布故事的情況下在 Instagram 上添加亮點

https://www.youtube.com/watch?v=srNFChLxl5c Instagram 亮點是拉近與追蹤者的距離的好方法。您可以分享您的特殊時刻

信使與。 WhatsApp – 訊息應用程式比較

信使與。 WhatsApp – 訊息應用程式比較

如果您使用訊息應用程式與家人和朋友保持聯繫,那麼您已經熟悉 Facebook Messenger 和 WhatsApp。兩者都是免費的,

最好的資料恢復軟體

最好的資料恢復軟體

資料遺失對於經濟和生產力都可能是毀滅性的。據 IBM 稱,2023 年資料外洩的平均成本將超過 4 美元

如何在 iPad 上使用分割畫面

如何在 iPad 上使用分割畫面

您知道您可以在 iPad 上同時處理多個應用程式嗎?您可以在 iPad 上使用許多多工選項,例如「分割視圖」。分裂

如何在 PS4 上開啟或關閉 2FA

如何在 PS4 上開啟或關閉 2FA

設定雙重認證 (2FA)(也稱為兩步驟身份驗證)至關重要,因為它為您提供了另一層安全保障。在現代

如何管理 Paramount+ 的字幕(所有主要設備)

如何管理 Paramount+ 的字幕(所有主要設備)

如果您想安靜地欣賞自己喜歡的電影或電視節目,字幕是您的最佳選擇。與其他串流媒體平台一樣,Paramount+ 可讓您快速