修復 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 ⋙

修正該頻道無法在 Telegram 中顯示的問題

修正該頻道無法在 Telegram 中顯示的問題

Telegram 頻道是了解政治、體育、商業或您感興趣的任何其他主題的最新動態的好方法。作為管道

最好的免費 iPad 繪圖應用程式

最好的免費 iPad 繪圖應用程式

繪圖是使用 iPad 可以做的最令人興奮的事情之一。但是,您需要一個應用程式來幫助您繪圖。大多數可用的繪圖應用程式都在

如何使用 Apple Notes 將文件掃描為 PDF

如何使用 Apple Notes 將文件掃描為 PDF

大多數人使用 Apple Notes 在 iCloud 上編寫和同步筆記。該應用程式不僅簡化了您從各種 Apple 裝置存取筆記的過程,還使

免費的Google幻燈片模板

免費的Google幻燈片模板

Google 投影片是取得免費範本以格式化和建立簡報的最佳場所。 Gmail 和部分 G-Suite 用戶免費,您可以選擇

TikTok真的在發草稿嗎?

TikTok真的在發草稿嗎?

如果您是狂熱的 TikToker,並經常發布以保持出色的受眾參與度,那麼您可能正在使用“草稿”部分(或“創作者”部分)

如何判斷有人在 Roblox 上封鎖了您

如何判斷有人在 Roblox 上封鎖了您

如果您無法在 Roblox 中向好友發送訊息,他們可能出於某種原因封鎖了您。但是這個功能是如何精確運作的,還有其他方法嗎?

MIUI 裝置的最佳字體

MIUI 裝置的最佳字體

如果您正在尋找在 MIUI 裝置上使用的最佳字體,小米可以讓您變得超級簡單。您所要做的就是下載您想要的字體,然後儲存

最好的 Telegram 客戶端應用程式

最好的 Telegram 客戶端應用程式

您可以在 Telegram 上做很多事情,例如使用貼紙或加入最好的 Telegram 頻道之一。為了進一步擴展其功能,

如何在 WhatsApp 中隱藏您的電話號碼

如何在 WhatsApp 中隱藏您的電話號碼

當您首次建立 WhatsApp 帳戶時,您可以使用現有的電話號碼進行註冊,這樣您就可以存取手機聯絡人清單。然而,不

Telegram:如何使用貼紙

Telegram:如何使用貼紙

Telegram 提供了大量免費貼紙,可以將其添加到您的圖庫中。貼紙成套表達不同的心情和情感,或者

如何判斷是否有人在 Messenger 中封鎖了您

如何判斷是否有人在 Messenger 中封鎖了您

當您嘗試透過 Messenger 聯繫某人但沒有成功時,可能的原因之一是您已被封鎖。實現並不令人愉快,

如何在 Discord 中加入音板

如何在 Discord 中加入音板

Soundboard 是一個電腦程序,可幫助 Discord 等應用程式創建酷炫的音效。它還允許您將各種聲音上傳到

如何在 CapCut 中使用疊加層

如何在 CapCut 中使用疊加層

當您試圖吸引盡可能多的觀眾的注意力時,您將需要使用所有可用的 CapCut 工具。疊加有助於製作視頻

如何在沒有電話號碼的情況下使用 Gmail

如何在沒有電話號碼的情況下使用 Gmail

由 Steve Larner 於 2022 年 11 月 14 日更新,以反映目前創建沒有電話號碼的 Gmail 的 Android/iOS 流程。如果你想創建一個新的

如何分享您的 Spotify 播放列表

如何分享您的 Spotify 播放列表

Spotify 讓您可以輕鬆地與家人和朋友分享播放清單 - 應用程式中就有一個「分享」按鈕。此外,您也可以選擇執行下列操作

如何在王國之淚中獲取盧比

如何在王國之淚中獲取盧比

在「薩爾達傳說:王國之淚」(TotK) 中,您需要儲備各種物品。其中大多數都需要金錢才能獲得。這

如何查看您喜歡的 Instagram 故事

如何查看您喜歡的 Instagram 故事

Instagram 故事已成為提高參與度並為粉絲提供幕後或自發性內容的首選方法。自從

如何修復 CapCut 不導出的問題

如何修復 CapCut 不導出的問題

無論是根據流行的 TikTok 曲調創建有趣的內容,還是展示您的品牌的促銷片段,CapCut 都可以幫助您恰到好處。

如何修復 Cloudflare 上的「驗證您是人類」循環

如何修復 Cloudflare 上的「驗證您是人類」循環

如果您花費大量時間上網,您很可能遇到 Cloudflare 的人類驗證碼循環。這種安全措施有幾個原因,

24 小時內觀看次數最多的 YouTube 影片是什麼

24 小時內觀看次數最多的 YouTube 影片是什麼

統計和分析是 YouTube 的重要組成部分。該平台追蹤多項成就,包括觀看次數最多的視頻